Definition
What profit margin means
Profit margin is the share of sales revenue left as profit after deducting the costs included in the measure. For a single sale, divide the profit by the selling price. Gross, operating and net margins use different costs.
- Margin divides by
- Selling price
- Markup divides by
- Cost
- Compare using
- The same costs on each sale
Margin versus markup
Both measure profit, but from different bases. Mixing them up is a common and costly mistake: a 50% markup does not give a 50% margin. A 50% markup on 100 of cost gives a price of 150, so the profit of 50 is only a 33.3% margin.
Use margin when thinking about how much of every sale you keep. Use markup when you build a price up from a cost.
A worked example
You buy an item for 60 and sell it for 100. The profit is 40. The margin is 40 ÷ 100 = 40%, and the markup is 40 ÷ 60 = 66.7%.
To keep a 40% margin, you must divide cost by 0.6 to get the price. Multiplying cost by 1.4 gives only 84, which is a 28.6% margin, so the target would be missed.
What to include in cost
For a true picture, include everything it costs to get the product to the customer, such as materials, shipping and payment fees. Overheads like rent and wages come out of the profit, so the margin you see here is a gross margin unless you include them.
Remember sales tax or VAT is not revenue, so exclude it from both cost and price.
About this tool
The calculator gives a quick estimate for planning. It is not accounting or tax advice.
Gross, operating and net margin
This calculator works with gross margin: the price minus the direct cost of the item. Real businesses also pay rent, wages, marketing and tax, so the margin left after all costs, the net margin, is much smaller. A shop with a 40% gross margin may keep 5–10% as profit.
Use the margin figure to compare products and set prices, and check it covers your overheads. For the point where sales cover your fixed costs, use the break-even calculator, and for markup-based pricing the markup calculator.
Typical margins by business type
Margins vary widely by sector. Supermarkets often work on gross margins of 20–30% and net margins of 1–3%, restaurants have gross margins of 60–70% on food but thin net margins of 3–9%, and software and online services can have gross margins above 80%. Luxury goods and branded products often reach 50–70%.
Compare your margin with similar businesses and with your own history. A fall in margin can mean rising costs, discounting or a change in product mix. Use the markup and break-even calculators to see how price changes would affect your profit.
Step-by-step example
An item costs 60 and sells for 100, and the seller compares the resulting margin with a 40% markup on cost.
| Step | Result |
|---|---|
| Profit | 40 |
| Profit margin | 40% |
| Markup | 66.7% |
| Selling price at a 40% markup | 84 |
| Margin at that lower selling price | 28.6% |
Formulas used
Profit = Price − Cost
Margin % = Profit ÷ Price × 100
Markup % = Profit ÷ Cost × 100
Example: Cost 60, price 80: profit 20, margin 25%, markup 33.3%.
Price = Cost ÷ (1 − Margin ÷ 100)
Example: To earn a 25% margin on a cost of 60: 60 ÷ 0.75 = 80.
Price = Cost × (1 + Markup ÷ 100)
Example: A 25% markup on a cost of 60 gives 75, which is only a 20% margin.
When the answer can mislead
- Discounts can leave you with a lower margin than the one you calculated using the list price.
- When fees rise with the selling price, update those costs after you change the price.
- An average of product margins can misstate the business margin if the products bring in different amounts of revenue.
Questions
How do you calculate profit margin?
Profit margin = (selling price − cost) ÷ selling price × 100. If something costs 60 and sells for 100, the profit is 40 and the margin is 40%.
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. The same sale has a 40% margin but a 66.7% markup, because 40 is 40% of 100 and 66.7% of 60.
How do I set a price for a target margin?
Divide the cost by 1 minus the margin. For a 40% margin on a cost of 60, the price is 60 ÷ 0.60 = 100. Use the margin option above to do it automatically.
Can margin be 100%?
No. A 100% margin would mean a cost of zero. Markup can be above 100%, for example a 150% markup means selling at 2.5 times cost.
What is a good profit margin?
It depends on the industry, size and business model. Retail margins are often thinner than software or services. Compare with similar businesses and include overheads, not just direct cost.
Sources
Embed this calculator
Cite this calculator
Profit Margin Calculator. CalculatorLab. https://calculatorlab.site/calculators/profit-margin-calculator/. Last updated . Accessed .