How it is calculated
- Gross profit per unit
Cost × markup - Selling price before tax
Cost × (1 + markup) - Equivalent margin on sales
Profit ÷ selling price × 100 = markup ÷ (1 + markup) - Markup needed for a margin
Margin ÷ (1 − margin)
This calculator turns a cost into a selling price by applying a markup, that is, a percentage added to the cost. Enter the product cost and the markup, both before tax, and you get the selling price, the gross profit per unit and the margin on sales that this markup represents. The aim is for you to see both percentages at once and not confuse one with the other.
How to use the calculator
Enter two figures:
- Product cost. What it costs you to have one unit ready to sell: purchase, transport, packaging and any other direct cost.
- Markup on cost. The percentage you want to add to the cost. It can exceed 100%: a 150% markup multiplies the cost by 2.5.
All amounts are entered and shown before tax. If you need the price with sales tax, work it out afterwards with the selling price calculator. Results are rounded to two decimals when displayed, but the internal calculations are not rounded.
What is a markup on cost
A markup on cost is the percentage added to the cost of a product to get its selling price. It is a very common way of setting prices because you only need to multiply: the cost is the starting point and the markup is the percentage you add. With a cost of 100 and a markup of 25%, you add 25 and sell at 125.
Its limit is that it says little about how much of the price is profit. That is what the margin on sales is for, which is measured on the price rather than on the cost. This calculator shows both so you can compare them.
Markup formulas
The gross profit per unit is the cost multiplied by the markup:
Profit = Cost × Markup
The selling price is the cost plus that profit:
Selling price = Cost × (1 + Markup)
The equivalent margin on sales is obtained by dividing the profit by the price:
Margin (%) = Profit ÷ Selling price × 100 = Markup ÷ (1 + Markup)
Example: a cost of 100 and a markup of 25%. The profit is 100 × 0.25 = 25, the selling price is 125 and the margin is 25 ÷ 125 = 20%.
Markup and margin: same profit, different base
With the same figures, the markup is always higher than the margin, because the profit is divided by a smaller number (the cost) instead of by the price. This table shows the equivalence:
| Markup on cost | Equivalent margin on sales |
|---|---|
| 10% | 9.09% |
| 20% | 16.67% |
| 25% | 20.00% |
| 30% | 23.08% |
| 50% | 33.33% |
| 100% | 50.00% |
For the reverse, the markup you need to reach a given margin is:
Markup = Margin ÷ (1 − Margin)
If you want a 25% margin on sales, the markup is 0.25 ÷ 0.75 = 33.33%. To start from a target margin and get the price, use the profit margin calculator.
Common mistakes when applying a markup
Thinking markup and margin are the same
This is the most common mistake. If you apply a 40% markup to a cost of 60, you sell at 84 and earn 24. But the real margin is 24 ÷ 84 = 28.57%, not the 40% you may have expected. The calculator shows a line with the price you would get if that same percentage were a margin: with a cost of 100 and 25%, it would be 133.33 instead of 125.
Believing a 100% markup gives a 100% margin
Doubling the cost leaves a profit equal to the cost, which is half of the price: a 50% margin. The margin on sales can never reach 100%, while the markup has no ceiling.
Applying the markup to an incomplete cost
If the markup is applied only to the purchase price and you forget transport or packaging, the real profit is lower than calculated. Include in the cost everything it takes to have the product ready to sell.
Mixing up gross profit and final profit
The profit per unit this tool calculates is gross: overheads, commissions and tax come out of it afterwards. A generous markup can still fail to cover your expenses if you sell little.
A complete example, step by step
A shop buys a product for 12.40 and decides to apply a 35% markup.
- Profit per unit: 12.40 × 0.35 = 4.34.
- Selling price before tax: 12.40 + 4.34 = 16.74.
- Margin on sales: 4.34 ÷ 16.74 = 25.93%.
- If 35% were a margin: 12.40 ÷ 0.65 = 19.08. The difference from 16.74 is what is lost by confusing the two percentages.
With the discount and final price calculator you can see how the price changes if you then mark it down.
How to read the result
- Always speak on the same base. If you agree a percentage with a supplier or a partner, make clear whether it is markup on cost or margin on sales.
- Check the resulting margin. A 25% markup sounds high, but it leaves only a 20% margin.
- Do not apply it blindly. The market, the competition and your fixed costs also influence the price you can charge.
- Calculate with amounts before tax. Sales tax is added at the end and is not part of the cost or the profit.
Frequently asked questions
What is the difference between markup and margin?
Markup is calculated on the cost and margin on the selling price. With a cost of 100 and a markup of 25%, the price is 125, the profit is 25 and the margin is 20%.
How do I convert markup to margin, and back?
Margin = markup ÷ (1 + markup) and markup = margin ÷ (1 − margin). A 25% markup equals a 20% margin; to reach a 25% margin you need a 33.33% markup.
Why does a 100% markup not give a 100% margin?
Because doubling the cost leaves a profit equal to the cost, which is half of the price: a 50% margin. Markup can go above 100%; margin on sales never reaches it.
Does the price it calculates include tax?
No. It is the selling price before tax. If you then need to add sales tax, use the selling price calculator or the tax base calculator.
Is the profit it shows what I keep?
No. It is the gross profit per unit, before overheads, commissions and tax.