Profit Margin Calculator
Margin and markup are easy to confuse because both are built from the same profit. The difference is the base they measure against: margin uses the selling price, markup uses the cost, so markup is always the larger figure.
This calculator returns both from a cost and a price, along with the profit per unit, so you can price and report without mixing them up.
How it works
Profit is price minus cost. Divide it by the price for margin, by the cost for markup, then multiply by 100.
The same profit therefore produces two different percentages, which is exactly why the two terms get muddled.
Worked example
A unit costs 40 and sells for 100. The profit is 60. Margin is 60 ÷ 100 = 60%, while markup is 60 ÷ 40 = 150%.
Same 60 of profit, two very different percentages — quoting the wrong one is a common source of pricing errors.
Pricing to a target margin
To hit a target margin, divide the cost by (1 − margin as a decimal). For a 40% margin on a 30 cost, the price is 30 ÷ 0.6 = 50. Do not simply add 40% to the cost — that sets the markup, not the margin.
Common mistakes
Applying a markup percentage while thinking in margin systematically underprices. On thin-margin goods the gap between the two is large, so the confusion is expensive.
Questions
Which is bigger, margin or markup?
Markup, always, whenever there is a profit — it divides by the smaller number (cost) rather than the price.
How do I set a price for a target margin?
Divide the cost by (1 − target margin as a decimal). For a 40% margin on a 30 cost, price = 30 ÷ 0.6 = 50.
Can margin be over 100%?
No. Margin is a share of the selling price, so it approaches but never reaches 100%. Markup, measured against cost, can exceed 100% easily.
Is gross margin the same as this?
This is the per-unit gross margin. Company gross margin is the same idea across all sales, before operating expenses.