Guides · 23 October 2026
Markup vs margin: what's the difference, and which should you use?
Markup and margin both describe how much you make on a sale, but they are measured against different things, so the same price gives two different percentages. Mixing them up is one of the most common reasons products end up priced too low. Here is the difference, with a worked example.
The two definitions
- Markup is profit as a percentage of your cost. Markup = (price − cost) ÷ cost
- Margin is profit as a percentage of your selling price. Margin = (price − cost) ÷ price
The profit is the same in both. Only the number you divide by changes.
A worked example
You buy a product for $20 and sell it for $30.
- Profit: $30 − $20 = $10
- Markup: $10 ÷ $20 = 50%
- Margin: $10 ÷ $30 = 33.3%
Same product, same sale, and two honest answers: 50% or 33.3%. Neither is wrong. They answer different questions.
The mistake that causes underpricing
Suppose you decide you want a 50% margin and you take that to mean “add 50% to my cost”.
- Cost $20 × 1.5 = $30
- Margin at $30 is only 33.3%, not 50%
To get a 50% margin on a $20 cost, the price is cost ÷ (1 − margin):
- $20 ÷ (1 − 0.5) = $40
- Profit: $20, which is 50% of $40. That is a markup of 100%.
Using markup when you mean margin leaves $10 per sale on the table in this example.
Conversion table
| Markup | Margin |
|---|---|
| 25% | 20.0% |
| 50% | 33.3% |
| 75% | 42.9% |
| 100% | 50.0% |
| 150% | 60.0% |
| 200% | 66.7% |
Margin is always lower than markup, and a margin can never reach 100%, while a markup can.
Converting between them
- Margin from markup: margin = markup ÷ (1 + markup). For a 50% markup: 0.5 ÷ 1.5 = 33.3%.
- Markup from margin: markup = margin ÷ (1 − margin). For a 40% margin: 0.4 ÷ 0.6 = 66.7%.
Which should you use?
- Use margin to judge profit. It tells you what share of each sale you keep, and it is the figure to compare across products, prices and discounts.
- Use markup to set a price from a cost. It is quick when you buy stock and want a standard uplift, as long as you convert it to a margin and check the result.
- Always say which one you mean. “30%” can mean two very different prices.
Margin on cost alone is not your real margin
Both figures above use only the product cost. Your real profit also has to cover payment fees, shipping and returns. At a $40 price with a $20 cost, the margin on cost alone is 50%. After a 2.9% + $0.30 card fee and a 5% returns allowance, profit is $16.54, about 41% of the price.
For a price that covers all of your costs, see how to work out your break-even price. To see how a discount changes the picture, read how much more you need to sell to make a discount worth it.
Try it: Open the $40 price and $20 cost example in the calculator to see the $16.54 profit, then add your own shipping and costs.