Margin and markup both describe how much profit is built into a price, and both are expressed as percentages. That is exactly why they get mixed up. A product that costs $60 and sells for $100 has a 40% margin and a 67% markup at the same time. Neither number is wrong. They measure the same $40 of profit against different bases. Confusing the two is one of the most common ways small businesses underprice. This guide shows both formulas, how to convert between them, and where the difference costs real money.
The definitions
Both start from the same figure: profit per unit = selling price − cost.
- Markup is profit as a percentage of cost. It answers "how much did I add on top of what I paid?"
- Margin (gross margin, when cost means the cost of the goods) is profit as a percentage of selling price. It answers "how much of each sale do I keep?"
markup = (price − cost) ÷ cost × 100
margin = (price − cost) ÷ price × 100Because price is always larger than cost when you make a profit, margin is always the smaller of the two numbers.
A worked example
You buy a lamp for $60 and sell it for $100.
- Profit: 100 − 60 = 40
- Markup: 40 ÷ 60 = 0.6667 → 66.67%
- Margin: 40 ÷ 100 = 0.40 → 40%
Same lamp, same $40, two different percentages. If a supplier, investor or accountant asks for "your margin" and you give your markup, you have reported 66.67% when the true figure is 40%.
A second example, with a smaller profit: a $25 item sold for $30.
- Profit: 30 − 25 = 5
- Markup: 5 ÷ 25 = 20%
- Margin: 5 ÷ 30 = 0.1667 → 16.67%
The margin calculator shows both figures side by side from cost and price, which is the quickest way to stop them blurring together.
Converting between margin and markup
You don't need the cost and price to convert. Work with the percentages as decimals (40% = 0.40):
margin = markup ÷ (1 + markup)
markup = margin ÷ (1 − margin)Check with the lamp:
- Markup 0.6667 → margin = 0.6667 ÷ 1.6667 = 0.40, or 40%
- Margin 0.40 → markup = 0.40 ÷ 0.60 = 0.6667, or 66.67%
Why it works: if cost is 1, price is (1 + markup), and profit is markup. Margin is profit ÷ price, so it is markup ÷ (1 + markup).
Markup to margin conversion table
| Markup | Margin |
|---|---|
| 10% | 9.09% |
| 20% | 16.67% |
| 25% | 20.00% |
| 30% | 23.08% |
| 40% | 28.57% |
| 50% | 33.33% |
| 60% | 37.50% |
| 70% | 41.18% |
| 75% | 42.86% |
| 80% | 44.44% |
| 90% | 47.37% |
| 100% | 50.00% |
| 150% | 60.00% |
| 200% | 66.67% |
Margin to markup conversion table
| Target margin | Markup needed |
|---|---|
| 20% | 25.00% |
| 25% | 33.33% |
| 30% | 42.86% |
| 40% | 66.67% |
| 50% | 100.00% |
| 60% | 150.00% |
Two things stand out. At low percentages the two numbers are close (a 10% markup is a 9.09% margin), so the error is small. As the numbers grow, they diverge fast. A 100% markup, which retailers sometimes call keystone pricing, doubles the cost but gives only a 50% margin.
The second table also shows why margin can never reach 100% but markup can go as high as you like. A 100% margin would mean the item cost nothing. Markup has no ceiling: a $2 item sold for $10 has a 400% markup and an 80% margin.
Setting a price from a target margin
This is where the confusion turns into lost money. Say an item costs $30 and you want a 40% margin.
The wrong way: add 40% to cost.
30 × 1.40 = 42
margin = (42 − 30) ÷ 42 = 12 ÷ 42 = 28.57%You were aiming for 40% and got 28.57%.
The right way: divide cost by (1 − target margin).
price = cost ÷ (1 − margin)
price = 30 ÷ (1 − 0.40) = 30 ÷ 0.60 = 50Check: (50 − 30) ÷ 50 = 20 ÷ 50 = 40%. Correct.
If you prefer to think in markups, convert first: a 40% margin needs a 66.67% markup, and 30 × 1.6667 = 50. Same answer.
Gross margin, operating margin and net margin
"Margin" on its own usually means gross margin, but businesses track several margins, each subtracting more costs. Here is one set of annual figures for a small business:
| Line | Amount | As % of revenue |
|---|---|---|
| Revenue | $500,000 | 100% |
| Cost of goods sold | $300,000 | 60% |
| Gross profit | $200,000 | 40% gross margin |
| Operating expenses (rent, wages, software, marketing) | $120,000 | 24% |
| Operating profit | $80,000 | 16% operating margin |
| Interest and tax | $20,000 | 4% |
| Net profit | $60,000 | 12% net margin |
Each margin is that profit line divided by revenue:
- Gross: 200,000 ÷ 500,000 = 40%
- Operating: 80,000 ÷ 500,000 = 16%
- Net: 60,000 ÷ 500,000 = 12%
The 40% gross margin looks healthy, but after running costs the business keeps 12 cents of each dollar. That gap is why a high product margin doesn't guarantee a profitable business. Markup is almost always used for the product-level, gross calculation; you rarely see "net markup". To work from revenue and a full list of costs to net profit, the profit calculator breaks it down, including when costs exceed revenue.
Common pricing mistakes
Treating markup as margin
Covered above, but it is the big one. If your costing spreadsheet says "margin" and multiplies cost by (1 + rate), it is calculating markup. Label the column correctly or change the formula to =cost/(1-margin).
Discounting without checking what is left
Take the lamp again: cost $60, price $100, margin 40%. Run a 20% off sale:
sale price = 100 × 0.80 = 80
profit = 80 − 60 = 20
margin = 20 ÷ 80 = 25%A 20% price cut halved your profit per unit, from $40 to $20. To earn the same total gross profit, you would need to sell twice as many lamps (40 ÷ 20 = 2). The lower your margin, the more damage a discount does.
Stacking a discount on top of a markup
An item costs $60 and is marked up 50% to $90. Later it goes into a "40% off" sale:
90 × 0.60 = 54The sale price is now $6 below cost. Percentage markups and percentage discounts don't cancel out, because they are calculated on different bases (cost, then the marked-up price). Before running a sale, check the discounted price against cost, not against your markup.
Forgetting costs that belong in cost
If cost includes only the supplier's price, your margin ignores shipping in, payment processing fees, packaging and returns. A margin calculated on an incomplete cost is flattering and wrong. Decide what goes into cost of goods sold and apply it consistently.
Comparing your margin with someone else's markup
Industry benchmarks are usually quoted as margins. If you compare a published gross margin with your own markup, you will think you are doing better than you are.
How margin links to break-even
Margin tells you how much each sale contributes; break-even tells you how many sales you need before that contribution covers your fixed costs.
The break-even calculation uses contribution margin: price minus variable costs per unit (materials, packaging, per-sale fees). That is close to gross margin, but not always identical, because some costs inside cost of goods sold can be fixed.
Example: you sell a product for $50, variable cost is $30 per unit, and fixed costs (rent, salaries, subscriptions) are $12,000 a month.
- Contribution per unit: 50 − 30 = 20
- Contribution margin ratio: 20 ÷ 50 = 40%
- Break-even units: 12,000 ÷ 20 = 600 units a month
- Break-even revenue: 12,000 ÷ 0.40 = $30,000 a month
Check: 600 × $50 = $30,000.
This is where margin decisions show up most clearly. If the 20% discount from earlier cut the price to $40, contribution would drop to $10 and break-even would double to 1,200 units. The break-even calculator lets you try different prices and costs to see how many units each one needs.
Work it out for your own products
To see margin and markup together for any cost and price, or to find the price that hits a target margin, use the margin calculator. It runs in your browser, is free, and needs no account. Then use the break-even calculator to check how many sales that price needs to cover your fixed costs.
Key takeaways
- Markup = profit ÷ cost. Margin = profit ÷ price. Same profit, different base.
- Margin is always lower than markup, and can never reach 100%.
- Convert with margin = markup ÷ (1 + markup), and markup = margin ÷ (1 − margin).
- To hit a target margin, price = cost ÷ (1 − margin), not cost × (1 + margin).
- Gross margin covers product costs only; net margin is what remains after every cost.
- Discounts cut margin faster than they cut price, and they raise your break-even volume.