Margin & Markup Calculator
Profit margin, markup and selling price from any two of cost, price and margin.
- Margin
- 40%
- profit ÷ selling price
- Markup
- 66.67%
- profit ÷ cost
- Profit
- $40.00
- selling price − cost
Margin and markup side by side
| Margin | Markup | Selling price |
|---|---|---|
| 10% | 11.11% | cost × 1.11 |
| 20% | 25% | cost × 1.25 |
| 25% | 33.33% | cost × 1.33 |
| 30% | 42.86% | cost × 1.43 |
| 40% | 66.67% | cost × 1.67 |
| 50% | 100% | cost × 2 |
| 60% | 150% | cost × 2.5 |
| 75% | 300% | cost × 4 |
Margin and markup are not the same number
Both express the profit on a sale as a percentage. The difference is what the profit is compared with.
- Margin is the profit as a share of the selling price: (price − cost) ÷ price.
- Markup is the profit as a share of the cost: (price − cost) ÷ cost.
Take something that costs 60 and sells for 100. The profit is 40. That is a margin of 40 ÷ 100 = 40% and a markup of 40 ÷ 60 = 66.7%. It is the same sale and the same profit, measured against two different amounts.
As long as there is a profit, the cost is the smaller of the two amounts, so the markup is always the higher percentage.
Why a 50% markup is not a 50% margin
Add 50% to a cost of 60 and the price is 90. The profit of 30 is a third of that price, so the margin is 33.3%. To keep half of the selling price as profit, the price has to be twice the cost: 120, which is a markup of 100%.
Mixing the two up costs money. Someone who wants a 40% margin and adds 40% to the cost ends up with a margin of 28.6%.
Converting one into the other
With both written as fractions, so that 40% is 0.40:
- markup = margin ÷ (1 − margin)
- margin = markup ÷ (1 + markup)
A margin of 40% is a markup of 0.40 ÷ 0.60 = 66.7%. A markup of 25% is a margin of 0.25 ÷ 1.25 = 20%.
Margin stops short of 100%
A margin of 100% would mean that the whole selling price is profit, and that only happens when the cost is zero. For anything that costs money to buy or to make, the margin stays below 100% however high the price goes. Markup has no ceiling: selling something for ten times its cost is a markup of 900% and a margin of 90%.
What is not included
This is the gross margin on one product: the selling price against what the product cost you. Rent, wages, shipping, payment fees and returns are not in it unless you count them in the cost. Use prices without VAT or sales tax, because that tax is not yours to keep. The Sales Tax & VAT Calculator takes it out of a price.