Margin vs markup — the difference that costs people money
Margin and markup both describe the same profit, but they divide it by different numbers. Gross margin is profit as a percentage of revenue (the selling price). Markup is profit as a percentage of cost. Because cost is smaller than revenue, markup is always the bigger number — and mixing the two up is how sellers underprice their products.
Gross margin % = (Revenue − Cost) ÷ Revenue × 100
Markup % = (Revenue − Cost) ÷ Cost × 100
Worked example: you buy a product for $60 and sell it for $100. Profit is $100 − $60 = $40. Gross margin is $40 ÷ $100 = 40%. Markup is $40 ÷ $60 = 66.67%. The same $40 of profit, two very different percentages.
Margin-to-markup conversion
| Gross margin | Markup |
|---|---|
| 20% | 25% |
| 25% | 33.33% |
| 33.33% | 50% |
| 40% | 66.67% |
| 50% | 100% |
Pricing from margin
To hit a target margin, do not just add that percentage to the cost. Use selling price = cost ÷ (1 − margin). A $50 cost at a 40% margin gives $50 ÷ 0.6 = $83.33. The common mistake — adding 40% to the cost to get $70 — leaves you with only ($70 − $50) ÷ $70 = 28.57% margin.
Pricing from markup
Markup pricing is simpler: selling price = cost × (1 + markup). A $50 cost at a 60% markup gives $50 × 1.6 = $80, and the gross margin on that price is ($80 − $50) ÷ $80 = 37.5%.
Frequently Asked Questions
How do you calculate profit margin?
Profit margin is (revenue − cost) ÷ revenue, times 100. For a cost of $60 and a selling price of $100, profit is $40 and the margin is $40 ÷ $100 = 40%.
What is the difference between margin and markup?
The percentage base is different. Margin divides profit by revenue; markup divides the same profit by cost. On a $60 cost and a $100 price, the $40 profit is a 40% margin but a 66.67% markup.
How do I price for a 40% margin?
Divide the cost by 0.6, because price = cost ÷ (1 − 0.40). A $50 cost gives $50 ÷ 0.6 = $83.33. Simply adding 40% to the cost would give $70, which is only a 28.57% margin.
What is a good profit margin?
It varies by industry. Retailers often earn only about 2–5% net margin, while software companies can earn 70% or more gross margin. Typical gross margins are roughly:
| Industry | Typical gross margin |
|---|---|
| Retail | 20–30% |
| E-commerce | 30–50% |
| Manufacturing | 25–35% |
| Restaurants | 60–70% on food |
| Software / SaaS | 70–90% |
Compare your margin with businesses like yours, and remember that a high gross margin still has to cover rent, wages, marketing and other overheads before it becomes net profit.
Can margin be over 100%?
No. Gross margin tops out at 100%, because profit can never be larger than revenue — that would mean a negative cost. Markup has no ceiling: a $50 cost sold for $150 is a 200% markup, but the margin is still only 66.67%.
What if my costs change?
Re-run the calculation with the new cost. A $5 cost rise on the $60 cost / $100 price example cuts profit from $40 to $35 and the margin from 40% to 35%. Small cost changes move the margin fast when the price stays fixed, so check your margin every time a supplier changes a price.