How to calculate margin: the formula
- Profit = price − cost
- Margin = profit ÷ price × 100
- Markup = profit ÷ cost × 100
- Price for a target margin = cost ÷ (1 − margin)
Example: you buy a lamp for $60 and sell it for $100. Profit is $40. Margin is 40% ($40 ÷ $100). Markup is 66.7% ($40 ÷ $60).
Selling price for a $60 item at common margins
| Target margin | Price | Profit | Markup |
|---|---|---|---|
| 20% | $75.00 | $15.00 | 25.0% |
| 30% | $85.71 | $25.71 | 42.9% |
| 40% | $100.00 | $40.00 | 66.7% |
| 50% | $120.00 | $60.00 | 100.0% |
| 60% | $150.00 | $90.00 | 150.0% |
A 50% margin needs a 100% markup: you have to double the cost. Pricing by adding a percentage to cost always produces a lower margin than the same number suggests.
Which margin are you calculating?
This calculator gives the gross margin on a single product: price minus the cost of the item itself. A business also has rent, wages and other expenses. To see margins after those, use the profit margin calculator, which shows gross, operating and net margin from an income statement. For per-unit break-even, try the contribution margin calculator.
Wondering if your margin is good? Compare it with 30 industries in what is a good profit margin.
Other margin calculators
- Starting from cost? The markup calculator adds a markup and shows the margin it gives.
- Looking at a whole business? The gross margin calculator works from revenue and cost of goods sold.
- Need a break-even point? Use the contribution margin calculator, and the margin of safety calculator to see how far sales can fall before you hit it.
- Here for surveys and polls? You want the statistical margin of error calculator.