Markup is profit as a percentage of cost. Margin is profit as a percentage of selling price. Same dollar profit, two completely different percentages. A product that costs $20 and sells for $50 has a 150% markup but only a 60% margin. Confusing the two is the most expensive math mistake in ecommerce.
This article covers both formulas, shows you the classic trap (50% markup is NOT 50% margin), gives you a full conversion table, and explains when to use each metric. If you want to learn either formula in depth, see our guides on how to calculate markup and how to calculate profit margin.
The Two Formulas Side by Side
Both formulas start with the same numerator: Selling Price minus Cost (your gross profit in dollars). The difference is what you divide by.
| Metric | Formula | Divides By | What It Answers |
|---|---|---|---|
| Markup | (Price - Cost) / Cost x 100 | Cost | How much did I add on top of my cost? |
| Margin | (Price - Cost) / Price x 100 | Selling Price | What share of revenue is profit? |
Example: A product costs $30 and sells for $75. Profit = $45.
- Markup = $45 / $30 x 100 = 150%
- Margin = $45 / $75 x 100 = 60%
Same $45 profit. Markup says 150%. Margin says 60%. Both are correct — they just measure from different reference points.
The Classic Trap: 50% Markup ≠ 50% Margin
This is where founders lose money. A supplier says "apply a 50% markup." You hear 50% and assume your margin is 50%. It's not even close.
| Scenario | Cost | Selling Price | Profit | Markup | Margin |
|---|---|---|---|---|---|
| 50% markup | $20 | $30 | $10 | 50% | 33.3% |
| 50% margin | $20 | $40 | $20 | 100% | 50% |
A 50% markup only gives you a 33.3% margin. To actually get a 50% margin, you need a 100% markup — double your cost. If your accountant says you need 50% margins and you apply a 50% markup, you're underpricing by $10 per unit. At 1,000 units a month, that's $10,000 gone.
The rule is simple: markup is always a higher number than margin for the same product. If someone gives you a percentage and doesn't say which one, ask. The difference between the two can be the difference between profit and loss.
Full Markup-to-Margin Conversion Table
Use this table to instantly convert between markup and margin without doing the math. For live calculations, use our free profit margin calculator.
| Markup % | Margin % | Price Multiplier |
|---|---|---|
| 15% | 13.0% | 1.15x cost |
| 20% | 16.7% | 1.20x cost |
| 25% | 20.0% | 1.25x cost |
| 30% | 23.1% | 1.30x cost |
| 40% | 28.6% | 1.40x cost |
| 50% | 33.3% | 1.50x cost |
| 75% | 42.9% | 1.75x cost |
| 100% | 50.0% | 2.00x cost |
| 150% | 60.0% | 2.50x cost |
| 200% | 66.7% | 3.00x cost |
| 300% | 75.0% | 4.00x cost |
| 400% | 80.0% | 5.00x cost |
| 500% | 83.3% | 6.00x cost |
Notice the pattern: Markup grows linearly, but margin has diminishing returns. Going from 100% to 200% markup only adds 16.7 margin points (50% to 66.7%). Going from 200% to 300% adds just 8.3. You can never reach 100% margin no matter how high your markup goes.
Stop converting markup and margin in your head.
Plug in your cost and selling price. Get exact markup %, margin %, and profit per unit instantly — no formulas needed.
Open Profit Margin Calculator →Quick Formulas to Convert Between Markup and Margin
Two formulas. Memorize them or bookmark this page.
- Markup to Margin: Margin = Markup / (1 + Markup)
- Margin to Markup: Markup = Margin / (1 - Margin)
Example 1: You have a 75% markup (0.75). What's the margin? Margin = 0.75 / (1 + 0.75) = 0.75 / 1.75 = 42.9%.
Example 2: You need a 40% margin (0.40). What markup do you need? Markup = 0.40 / (1 - 0.40) = 0.40 / 0.60 = 66.7%.
For a deeper walkthrough with more examples, see our full guide on converting markup from margin.
When to Use Markup vs Margin
They serve different purposes. Use the right one for the right context.
| Use Markup When... | Use Margin When... |
|---|---|
| Setting prices from cost | Analyzing profitability |
| Talking to suppliers | Talking to investors or accountants |
| Calculating selling price | Reading financial statements |
| Comparing cost-based pricing strategies | Comparing businesses or products |
| Quick retail price math (cost x 2 = 100% markup) | Calculating breakeven ROAS |
The short version: markup is a pricing tool. Margin is a performance metric. You apply markup when you're deciding what to charge. You track margin when you're measuring whether the business is healthy.
Which One Do Investors and Accountants Care About?
Margin. Always margin. Every financial report, P&L statement, and investor deck uses margin — never markup. When a VC asks "what are your margins?" they mean gross margin (revenue minus COGS as a percentage of revenue). When your accountant reviews your books, they're looking at margin.
Markup is an internal pricing tool. It helps you set prices. But once the sale is made, the conversation shifts to margin — because margin tells you what percentage of each revenue dollar you keep. That's what determines whether the business is viable.
For a full breakdown of what margins are healthy in your niche, check our guide to good ecommerce profit margins and margins by industry.
Real-World Example: How the Confusion Costs Money
A founder sources a product for $18. Their accountant says they need at least a 40% margin after COGS to cover operating expenses. The founder applies a 40% markup instead.
- What they did: $18 x 1.40 = $25.20 selling price. Actual margin = ($25.20 - $18) / $25.20 = 28.6%.
- What they needed: $18 / (1 - 0.40) = $30 selling price. Markup = ($30 - $18) / $18 = 66.7%.
The mistake cost $4.80 per unit. At 2,000 units per month, that's $9,600 in lost margin — every month. After a year, $115,200. All because "40%" meant two different things.
Before setting any price, run the numbers through a product pricing calculator or dropshipping profit calculator to make sure your margin target actually matches your selling price.
How to Set Prices Using Both Metrics
Here's the process that avoids the confusion entirely:
- Start with your required margin. What net margin do you need after all expenses? Most ecommerce brands need 10-20% net, which typically means 50-70% gross margin depending on operating costs.
- Convert that margin to the required markup. Use the formula: Markup = Margin / (1 - Margin). A 60% margin requires a 150% markup. A 50% margin requires a 100% markup.
- Apply the markup to your cost. Cost x (1 + Markup%) = Selling Price. $20 cost x 2.50 = $50 selling price for a 150% markup / 60% margin.
- Validate against the market. Does this price make sense for your niche and competitors? Read our product pricing guide for the full framework.
Start with margin (the goal), convert to markup (the tool), then price accordingly. This way you never accidentally price based on the wrong percentage.
Frequently Asked Questions
What is the difference between markup and margin?
Markup is profit as a percentage of cost. Margin is profit as a percentage of selling price. A product costing $40 and selling for $100 has a 150% markup but only a 60% margin. Same dollar profit, different reference points. Markup is always the higher number.
Why is 50% markup not 50% margin?
Different denominators. A 50% markup on a $20 cost means selling for $30 — the margin is $10 / $30 = 33.3%. To get a 50% margin, you'd need a 100% markup (selling a $20 cost item for $40). The same percentage applied to cost vs price gives very different results.
How do you convert markup to margin?
Margin = Markup / (1 + Markup). For a 75% markup: 0.75 / 1.75 = 42.9% margin. To go the other way: Markup = Margin / (1 - Margin). For a 40% margin: 0.40 / 0.60 = 66.7% markup.
Which is more important — markup or margin?
Margin. Investors, accountants, and financial reports all use margin because it shows what share of revenue is profit. Markup is useful for setting prices from cost, but margin is the metric that determines business health.
What markup do I need for a 30% margin?
A 42.9% markup. The formula: 0.30 / (1 - 0.30) = 0.30 / 0.70 = 0.4286 = 42.9%. So if your product costs $20, sell it for $20 x 1.429 = $28.57 to hit a 30% margin.
Can margin ever be higher than markup?
No. Margin is always lower than markup for the same product. Margin divides profit by the selling price (a larger number), while markup divides profit by the cost (a smaller number). Same numerator, larger denominator = smaller percentage. They're only equal when both are 0%.

