
Margin and markup both describe profit as a percentage, which is exactly why they get mixed up. They use the same profit but divide it by different numbers, so a 40% markup and a 40% margin lead to very different prices. This guide explains both, shows how to convert between them, how to set a price for the margin you want, and how to work out how many sales you need to break even.
Margin and markup explained
Both measures start with gross profit, which is the selling price minus the cost of the item. The difference is what you compare that profit with.
Gross profit = Price − Cost
Margin % = Profit ÷ Price × 100
Markup % = Profit ÷ Cost × 100
Example: one item, two percentages
You buy a product for $60 and sell it for $100. Profit is $40. Margin: 40 ÷ 100 = 40%. Markup: 40 ÷ 60 = 66.7%.
Margin tells you how much of every sales dollar you keep. Markup tells you how much you added on top of cost. Accountants and investors usually talk in margins; many retailers and trades price using markups. The Profit Margin Calculator gives both from a cost and a price.
The costly mix-up
The most common pricing mistake is applying a markup when you meant a margin. Suppose you want a 40% margin on an item that costs $60 and you add 40% to the cost.
Example: a 40% markup is not a 40% margin
$60 × 1.4 = $84. Profit is $24, and 24 ÷ 84 = 28.6% margin, well short of the 40% you wanted.
Because the price is always larger than the cost, the margin is always smaller than the markup on the same sale. A margin can never reach 100%, but a markup can be any size: selling a $10 item for $30 is a 200% markup and a 66.7% margin.
Converting between margin and markup
Use decimals in these formulas (40% = 0.4).
Markup = Margin ÷ (1 − Margin)
Margin = Markup ÷ (1 + Markup)
| Markup | Margin |
|---|---|
| 20% | 16.7% |
| 25% | 20% |
| 40% | 28.6% |
| 50% | 33.3% |
| 66.7% | 40% |
| 100% | 50% |
| 150% | 60% |
| 200% | 66.7% |
The Markup and Margin Calculator converts either way and works out the price.
Pricing for a target margin
Price = Cost ÷ (1 − Target margin)
Example: pricing for 40%
Cost is $60 and you want a 40% margin: 60 ÷ (1 − 0.4) = 60 ÷ 0.6 = $100.
Include every cost of getting the item to the customer in the cost figure: purchase price, shipping in, packaging and payment fees. Leaving out a $3 card fee on a $100 sale quietly cuts a 40% margin to 37%. Discounts also hit margin harder than they look: a 10% discount on that $100 item cuts profit from $40 to $30, a quarter of your profit. Our percentage guide covers discount maths in more detail.
Finding your break-even point
Margins cover your fixed costs, such as rent, software and insurance, which you pay whatever you sell. The break-even point is the number of sales at which total profit covers them.
Contribution per unit = Price − Variable cost per unit
Break-even units = Fixed costs ÷ Contribution per unit
Break-even sales = Fixed costs ÷ Contribution margin ratio
Example: a small product business
Fixed costs are $3,000 a month. You sell at $25 and each unit costs $10 to make and ship. Contribution: $15 per unit. Break-even: 3,000 ÷ 15 = 200 units a month, or $5,000 in sales (the contribution ratio is 15 ÷ 25 = 60%, and 3,000 ÷ 0.6 = 5,000).
Every unit after the 200th adds $15 profit. Raising the price to $27 would cut break-even to 177 units; cutting the price to $22 would raise it to 250. The Break-Even Calculator lets you test these scenarios.
Margin, markup and return on investment
Return on investment (ROI) answers a different question: how much did you earn compared with what you put in? It is often used for a one-off spend such as equipment, stock or an advertising campaign.
ROI % = (Gain − Cost of investment) ÷ Cost of investment × 100
Example: an advertising campaign
You spend $2,000 on ads and they bring in sales with $2,500 of gross profit. ROI = (2,500 − 2,000) ÷ 2,000 × 100 = 25%.
Use gross profit, not revenue, as the gain. $2,500 of revenue at a 40% margin is only $1,000 of profit, which would be a loss on a $2,000 campaign. The ROI Calculator can also annualise the return for investments held over several years.
Frequently asked questions
What is the difference between margin and markup?
Both use the same profit. Margin divides it by the selling price; markup divides it by the cost. Cost $60 and price $100 gives a 40% margin and a 66.7% markup.
Is a 50% markup the same as a 50% margin?
No. A 50% markup gives a 33.3% margin. To get a 50% margin, you need a 100% markup, which means doubling the cost.
How do I calculate a selling price from a margin?
Divide the cost by one minus the margin. For a $60 cost and a 40% margin: 60 ÷ 0.6 = $100.
Can profit margin be over 100%?
No. Margin is profit as a share of the price, and profit cannot exceed the price. Markup can be over 100%.
How do I calculate break-even?
Divide your fixed costs by the profit each unit contributes (price minus variable cost). $3,000 ÷ ($25 − $10) = 200 units.
Sources and further reading
- US Small Business Administration: plan your business: includes a section and tool on calculating your break-even point
This guide explains general business maths, not tax or accounting advice. How we build and check our content.
