Margin and markup formulas
| To find | Formula |
|---|---|
| Profit | price − cost |
| Gross margin | profit ÷ price × 100 |
| Markup | profit ÷ cost × 100 |
| Price from margin | cost ÷ (1 − margin ÷ 100) |
| Price from markup | cost × (1 + markup ÷ 100) |
| Margin from markup | markup ÷ (100 + markup) × 100 |
| Markup from margin | margin ÷ (100 − margin) × 100 |
Margin to markup conversion table
| Gross margin | Equivalent markup |
|---|---|
| 10% | 11.11% |
| 15% | 17.65% |
| 20% | 25% |
| 25% | 33.33% |
| 30% | 42.86% |
| 33.33% | 49.99% |
| 40% | 66.67% |
| 50% | 100% |
| 60% | 150% |
| 75% | 300% |
Worked example
You buy a lamp for $60 and want a 40% gross margin. The price is 60 ÷ (1 − 0.40) = $100, giving a $40 profit. As a markup, that same $40 is 40 ÷ 60 = 66.7%.
If you had simply added 40% to the cost, the price would be $84 and the margin only 24 ÷ 84 = 28.6%. Over a year of sales that gap can decide whether a product line pays its share of overheads. Our guide to margin vs markup explains this in detail.
Frequently asked questions
What is the difference between margin and markup?
Both describe the same profit, measured against different bases. Margin is profit as a percentage of the selling price; markup is profit as a percentage of the cost. A product that costs $60 and sells for $100 has a 40% margin and a 66.7% markup.
How do I find the price for a target margin?
Divide the cost by (1 − margin). For a 40% margin on a $60 cost: 60 ÷ (1 − 0.40) = $100. Adding 40% to the cost ($84) would give only a 28.6% margin — a common pricing mistake.
Can a margin be more than 100%?
No. Margin is profit divided by price, and profit can never exceed the price unless the cost is negative. Markup has no upper limit: selling a $10 item for $50 is a 400% markup but an 80% margin.
Is this gross margin or net margin?
Gross margin per item: it uses the cost of the product itself (cost of goods sold). Net margin also subtracts overheads such as rent, salaries and marketing, which this calculator does not include.
Does it include sales tax or VAT?
No. Enter prices excluding sales tax, VAT or GST, because that money is collected for the government and is not part of your revenue or profit.
Last updated .