How it works
Profit margin is the share of the selling price that you keep as profit. Gross margin only takes off the direct cost of what you sell. Operating margin also takes off running costs such as rent, wages and marketing. Net margin takes off interest and tax as well, so it is what is left for the owner.
The first panel turns revenue and the cost of goods into gross profit, gross margin and markup. The second panel walks down a simple profit and loss statement and shows all three margins. The third works backwards: give it a cost and the margin you want and it returns the price.
Margin and markup are not the same thing. Margin is profit divided by the selling price. Markup is profit divided by the cost. The same sale always has a markup that is larger than its margin, so a 50% markup is only a 33.33% margin. If you set prices by adding a percentage to cost, use the Markup Calculator.
Check it by hand: with revenue 1,000 and cost of goods 600, gross profit is 400 and the gross margin is 400 ÷ 1,000 = 40%. Markup is 400 ÷ 600 = 66.67%. For a full statement with revenue 100,000, cost 40,000, expenses 35,000, interest 2,000 and tax 20%: gross profit is 60,000, operating profit 25,000 and profit before tax 23,000. Tax is 4,600, so net profit is 18,400 and the net margin is 18.4%. To price at a 40% margin on a cost of 60, divide by 0.6 to get 100.
Gross profit = revenue − cost of goods sold Gross margin % = gross profit ÷ revenue × 100 Operating profit = gross profit − operating expenses Net profit = operating profit − interest − tax Tax = (operating profit − interest) × tax rate, only when that profit is above zero Net margin % = net profit ÷ revenue × 100 Price for a target margin = cost ÷ (1 − margin ÷ 100) These are the standard accounting definitions of gross, operating and net margin.
Worked example
Revenue 1,000 and cost 600: gross profit 400, gross margin 40%, markup 66.67%.
Full P&L: revenue 100,000, cost of goods 40,000, operating expenses 35,000, interest 2,000, tax 20%. Gross profit 60,000 (60%), operating profit 25,000 (25%), profit before tax 23,000, tax 4,600, net profit 18,400, net margin 18.4%.
Price from margin: a cost of 60 and a 40% target margin give a price of 100.00 and a profit of 40.00.
Good to know
- The tax line is a flat rate on profit before tax. It is not tax advice and it ignores allowances, loss carry-forward and other rules. Use the rate your accountant gives you.
- Definitions vary a little by business. Some firms put certain costs, such as delivery or card fees, in cost of goods and others in expenses. Keep the same choice from month to month so the margins can be compared.
- Margin is a percentage of revenue, so it says nothing about the size of the profit. A high margin on a few sales can earn less than a low margin on many.
- A margin of 100% or more cannot be reached, because the price would have to be infinite.
Questions people ask
How do you calculate profit margin?
Subtract the cost from the selling price to get the profit, divide the profit by the selling price and multiply by 100. A price of 1,000 with a cost of 600 leaves 400, which is a 40% margin.
What is the gross profit margin formula?
Gross margin % = (revenue − cost of goods sold) ÷ revenue × 100. It shows what is left from each sale before running costs, interest and tax.
What is the difference between gross margin and net margin?
Gross margin only deducts the direct cost of the goods. Net margin deducts everything: operating expenses, interest and tax. Net margin is always the lower of the two unless there are no other costs.
What is the difference between margin and markup?
Margin is profit as a share of the selling price. Markup is profit as a share of the cost. A cost of 60 sold for 100 is a 40% margin and a 66.67% markup.
How do I find the selling price for a target margin?
Divide the cost by one minus the margin. For a 40% margin on a cost of 60, the price is 60 ÷ 0.60 = 100. Adding 40% to the cost would give only 84, which is a 28.57% margin.
What is a good profit margin?
It depends heavily on the trade. Shops with fast turnover can live on small margins, while businesses with high fixed costs need more. Compare with similar businesses and with your own past months.
What selling price gives a 40% margin on a cost of 60?
100. Divide the cost by 1 minus the margin: 60 ÷ 0.6 = 100, a profit of 40.
Part of the guide: Pricing, profit and tax calculators: margin, markup, GST, VAT and selling price