Popup calculator Copy a link to this page Print this page Email a link to this page Scroll up to form What does this mean? Remove this row Open/Close content Close content Return to content

Margin Calculator

Net Profit = total revenue minus operating expenses, interest and taxes.
Use this margin calculator to work out the gross margin, sales margin or net profit margin for your product or business.

Disclaimer: Whilst every effort has been made in building our calculator tools, we are not to be held liable for any damages or monetary losses arising out of or in connection with their use. Full disclaimer.

By using the margin calculators, you can get a gauge of the profitability of a business and, specifically, how well it turns its revenue into profit. Let's go through gross margin, sales margin, net profit margin and operating profit margin in turn.

On this page:

What is gross margin?

Gross margin is commonly used to measure the overall profitibility of a business. By comparison, sales margin is used to measure the profitability of an individual product line or service.

Gross margin demonstrates the percentage of revenue over and above the costs involved in making the products (COGS - cost of goods sold). COGS includes materials and labour involved directly in production.

How to calculate your gross margin

Gross margin can be calculated by dividing your gross profit (sales revenue minus your cost of goods sold) by your sales revenue.

Gross margin = (revenue - COGS) ÷ revenue

You can check your figure against our calculator at the top of our page.

Example of gross margin calculation

Let's say that your company brings in $50,000 in sales revenue and your costs of goods sold is $30,000.

Gross margin = (50000 - 30000) ÷ 50000 = 0.4 = 40%

What is sales margin?

The sales margin measures how much money you retain on the sale of an item or service after direct costs are deducted. It shows your level of profitability before operating expenses are deducted.

How to calculate sales margin

The sales margin of a product or service can be calculated by taking the selling price, deducting the expenses it took to make the product and then dividing it by the selling price. Expenses can commonly include materials, manufacturing costs, salaries, rents, discounts, etc.

Sales margin = (selling price - costs) ÷ selling price

You can check your figure against our calculator at the top of our page.

Example of sales margin calculation

Let's say that you sell a product for $60 and your costs to make the product are $40.

Sales margin = (60 - 40) ÷ 60 = 0.33 = 33%

Calculating markup

Markup is the difference between the selling price of an item and its cost. It is calculated by dividing the profit figure by the cost figure and is represented as a percentage.

Calculating selling price

Using our calculator you can work out the selling price for your products, based upon the cost of materials and percentage of profit as a markup that you are looking for. The profit margin formula will then calculate a selling price for you.

What is net profit margin?

Net profit margin is used to calculate the percentage of sales revenue that remains as true profit, after all costs and expenses are accounted for. It acts as a measure for the amount of net income (or net profit) a business makes per dollar or pound of revenue earned.

How to calculate net profit margin

To calculate your net profit margin, take your total revenue figure (all types of income) and deduct your total expenses (tax, labour, materials, advertising, debt repayments, etc) to get your net income (or net profit) figure. Then, you divide that figure by your total sales revenue. For a more in-depth explanation of this, see our article about the profit margin formula.

Net profit margin = (total revenue - total expenses) ÷ total sales

You can check your figure against our calculator at the top of our page.

Example of net profit margin calculation

Let's say that your business took $400,000 in sales revenue last year, plus $40,000 from an investment. You had total expenses of $300,000.

Net profit margin = (440000 - 300000) ÷ 400000 = 0.35 = 35%.

This means that for every $1 of revenue, the business made $0.35 in net profit.

The website Investopedia has a great article about how to determine what your ideal profit margin should be.

What is operating profit margin?

Operating profit margin, also known as return on sales or EBIT margin, is commonly used as a measure of the amount of profit a business makes on a dollar or pound of sales, after costs of production (wages and materials), but before interest and tax.

The difference between gross profit margin and operating profit margin is that the gross profit margin includes direct production costs only (materials, labour involved directly in production), whereas operating profit margin takes into account for all operating expenses (labour, rent, office supplies, utilities, advertising, travel costs, insurance and taxes, etc).

Operating profit margin can often be a preferred metric over net profit margin when analysing the performance of a company. This is because each company has a very different capital structure which leads to different levels of tax and interest paid. So whilst net profit margin is good for shareholders of that individual company to work out what they'll actually get in their pocket (assuming dividends are paid out), it isn't very useful when comparing other companies competing in the same space. This is where operating profit becomes a more useful measure.

This is also the case for internal operational managers who want to work out how efficient their company is at making money and whether there are any ways of improving this.

How to calculate operating profit margin

To calculate your operating profit margin, take your operating income and divide it by your sales revenue.

Operating profit margin = operating income ÷ revenue

Example of operation profit margin calculation

Let's say that your business took $600,000 in sales revenue last year and had operating expenses of $500,000.

Operating profit margin = (600000 - 500000) ÷ 600000 = 0.17 = 17%.

Creating strategies and goals

You can use your gross margin, sales margin and net profit margin to get an overall picture of how your business is performing and develop future strategies and goals for improving efficiency and driving profit growth. And don't forget to check back and use our margin calculator whenever you need it, to help you with your calculations.

Calculator by Alastair Hazell. Reviewed by Chris Hindle.

The History of the Calculator

From abacus to iPhones, learn how calculators developed over time.

Abacus and calculator

Birthday Calculator

Discover the number one song and movie on the day you were born.

Musical notes and movies