Margin vs Markup Calculator
Enter a cost and a selling price to get the profit, gross margin and markup together, or start from the margin or markup you want and get the selling price you need.
Enter a positive cost and valid numbers.
Show the working
How to use the margin and markup calculator
- Choose a direction. From cost and price, from a target margin, or from a target markup.
- Enter the numbers. Use prices excluding VAT or sales tax for correct business margins.
- Read both percentages. Margin and markup are always shown side by side, with the conversion between them.
Margin and markup without the mix-up
- Both directions — Cost + price → margin and markup, or target margin/markup → selling price.
- Side-by-side results — Profit, margin %, markup % and the price multiplier in one view.
- Conversion table — Common margins and the markup you need to reach them.
- Impossible targets flagged — A margin of 100% or more cannot be reached and is explained instead of returning nonsense.
Margin vs markup: the difference
Both start from the same profit (price − cost), but divide by different numbers. Gross margin divides the profit by the selling price; markup divides it by the cost. A product that costs 60 and sells for 100 has a profit of 40, a margin of 40% and a markup of 66.7%.
Because the selling price is always larger than the cost (when you make a profit), margin is always lower than markup. Confusing the two is a classic pricing mistake: adding a 30% markup gives only a 23.1% margin.
| Target margin | Markup needed | Price for cost 100 |
|---|---|---|
| 10% | 11.1% | 111.11 |
| 20% | 25% | 125.00 |
| 25% | 33.3% | 133.33 |
| 30% | 42.9% | 142.86 |
| 40% | 66.7% | 166.67 |
| 50% | 100% | 200.00 |
Formulas
- Profit = price − cost
- Margin % = profit ÷ price × 100
- Markup % = profit ÷ cost × 100
- Price from margin = cost ÷ (1 − margin ÷ 100)
- Price from markup = cost × (1 + markup ÷ 100)
- Markup = margin ÷ (1 − margin); margin = markup ÷ (1 + markup) (as decimals)
Work with prices excluding VAT or sales tax, because the tax is not part of your margin. To see how a supplier’s price rise affects you, use the price increase calculator; to compare pack sizes, use the unit price calculator.
More in Calculators.