Home/Free tools
Free tool
Margin and markup calculator, with a selling price from cost
Four things in one place: margin and markup from a cost and a price, the selling price you need for a target margin, the selling price for a target markup, and a plain conversion between margin and markup. VAT is optional. Margin is profit divided by the price; markup is profit divided by the cost, so the two percentages are never equal. Everything runs in your browser.
Result
- Margin
- 40%
- Markup
- 66.67%
- Profit per unit
- 40.00
How it was calculated
- Profit = 100.00 − 60.00 = 40.00
- Margin = 40.00 ÷ 100.00 (the price) = 40%
- Markup = 40.00 ÷ 60.00 (the cost) = 66.67%
Cost and price are taken without VAT. Results are rounded to the cent and to 2 decimals for percentages, halves up.
The formulas
- Margin = (price − cost) ÷ price. Profit as a share of the selling price.
- Markup = (price − cost) ÷ cost. Profit as a share of the cost.
- Price from a margin = cost ÷ (1 − margin). With a cost of 80 and a margin of 20%, the price is 80 ÷ 0.8 = 100.
- Price from a markup = cost × (1 + markup). With a cost of 50 and a markup of 50%, the price is 50 × 1.5 = 75.
- Markup from a margin = margin ÷ (1 − margin). Margin from a markup = markup ÷ (1 + markup).
These are arithmetic definitions, not figures from an authority or a platform, so there is no source to cite. The same words can mean other things in other companies, so check which one your report uses.
Margin and markup side by side
The left pair converts a margin into a markup, the right pair a markup into a margin. A 50% markup is only a 33.33% margin, and a 50% margin is a 100% markup.
| Margin | Markup | Markup | Margin |
|---|---|---|---|
| 10% | 11.11% | 10% | 9.09% |
| 20% | 25% | 20% | 16.67% |
| 25% | 33.33% | 25% | 20% |
| 30% | 42.86% | 30% | 23.08% |
| 40% | 66.67% | 40% | 28.57% |
| 50% | 100% | 50% | 33.33% |
| 60% | 150% | 100% | 50% |
| 75% | 300% | 200% | 66.67% |
The values in the table are calculated from the formulas above.
VAT
Leave the VAT field empty and everything is calculated on the amounts you type. Type a rate and the result also shows the price with VAT. Margin and markup are always worked out on the price without VAT, because the VAT on a sale is collected for the tax authority. If your price already includes VAT, switch the price to “with VAT” and the calculator takes the VAT out first.
Questions and answers
What is the difference between margin and markup?
Both measure profit, but margin divides it by the selling price and markup divides it by the cost. With a cost of 60 and a price of 100, the profit is 40: the margin is 40% and the markup is 66.67%.
How do I find the price for a 30% margin?
Divide the cost by 1 − 0.30 = 0.70. A cost of 70 gives a price of 100. Multiplying the cost by 1.30 would give a markup of 30%, which is a margin of only 23.08%.
Can a margin be 100%?
No. A margin of 100% would mean the cost is zero, and no price could give a margin above 100%. The calculator stops at 99.99%.
Does the calculator work with a loss?
Yes, in the first mode. If the price is below the cost, the profit, margin and markup come out negative.
Is my data sent anywhere?
No. The maths runs in your browser. The page only remembers your settings in this browser.