Margin and Markup Calculator
Margin and markup use the same profit but divide it by different numbers, which is why they never match. Use the first box if you know the price, the others to set a price.
Margin and markup from cost and price
Gross margin
40%
| Selling price | $100.00 |
|---|---|
| Gross profit | $40.00 |
| Margin (profit ÷ price) | 40% |
| Markup (profit ÷ cost) | 66.67% |
Price for a target margin
Gross margin
40%
| Selling price | $100.00 |
|---|---|
| Gross profit | $40.00 |
| Margin (profit ÷ price) | 40% |
| Markup (profit ÷ cost) | 66.67% |
Price from a markup
Gross margin
28.57%
| Selling price | $84.00 |
|---|---|
| Gross profit | $24.00 |
| Margin (profit ÷ price) | 28.57% |
| Markup (profit ÷ cost) | 40% |
Formula
Profit = price − cost
Margin = profit ÷ price × 100 Markup = profit ÷ cost × 100
Price for a margin = cost ÷ (1 − margin ÷ 100) Price from a markup = cost × (1 + markup ÷ 100)
Markup = margin ÷ (100 − margin) × 100
Worked example
A shop buys a lamp for $60 and sells it for $100.
- Profit: $100 − $60 = $40.00
- Margin: 40 ÷ 100 = 40%
- Markup: 40 ÷ 60 = 66.67%
If the owner had “added 40%” to the cost instead, the price would be $84.00 and the margin only 28.57%.
Markup needed for each margin
| Margin | Markup | Price for a $10 cost |
|---|---|---|
| 10% | 11.11% | $11.11 |
| 15% | 17.65% | $11.76 |
| 20% | 25% | $12.50 |
| 25% | 33.33% | $13.33 |
| 30% | 42.86% | $14.29 |
| 33.33% | 49.99% | $15.00 |
| 40% | 66.67% | $16.67 |
| 50% | 100% | $20.00 |
| 60% | 150% | $25.00 |
| 70% | 233.33% | $33.33 |
| 75% | 300% | $40.00 |
| 80% | 400% | $50.00 |
Why margin and markup differ
Both start from the same profit. Margin divides it by the selling price and answers “how much of each sale do I keep?”. Markup divides it by the cost and answers “how much did I add on top of what I paid?”. Because price is always bigger than cost when you make a profit, margin is always the smaller number.
The mix-up is expensive. A business that wants a 40% margin but adds 40% to cost ends up with about a 28.6% margin. The chart below shows the markup you need for common margin targets.
Which one should I use?
Accountants and investors talk in margin, because it compares directly with revenue and other costs on a profit and loss statement. Shops and trades often price with markup because it is quick: cost × 1.5 is a 50% markup. Either works as long as everyone in the conversation means the same thing. Note these are gross figures: they ignore overheads like rent, wages and platform fees.
Frequently asked questions
What is the difference between margin and markup?
Margin is profit as a percentage of the selling price. Markup is profit as a percentage of the cost. Selling a $60 item for $100 gives a 40% margin but a 66.67% markup.
What markup gives a 50% margin?
A 100% markup. Doubling the cost means half of the selling price is profit. For a 25% margin you need a 33.33% markup, and for a 40% margin a 66.67% markup.
How do I calculate a selling price from a margin?
Divide the cost by 1 minus the margin as a decimal. For a $60 cost and a 40% margin: 60 ÷ 0.6 = $100.
Can a margin be over 100%?
No. Margin is profit divided by price, and profit can never exceed the price. Markup has no upper limit: a $5 item sold for $50 has a 900% markup but a 90% margin.