The Short Answer
- Markup is calculated on the cost price — what you paid for the item.
- Discount is calculated on the selling price — what you charge the customer.
- Margin is also calculated on the selling price, which is why margin and discount percentages look similar but mean different things.
The practical consequence: a 50% markup and a 50% discount on the same item are not opposites. One gives you a 33% margin; the other wipes out your profit entirely.
Markup: Starting from Cost
You buy a product for $40. You want to make a profit.
A 50% markup means you add 50% of the cost to the cost:
Selling price = Cost × (1 + Markup/100)
= $40 × 1.50
= $60
Your profit is $20. Your gross margin on that $60 sale is:
Margin = ($20 / $60) × 100 = 33.3%
Note: the markup percentage (50%) is always higher than the resulting margin (33.3%) for the same transaction.
The markup formula
Markup % = ((Selling price − Cost) / Cost) × 100
Discount: Starting from Selling Price
You’re selling that same $60 item. You offer a 20% discount.
Sale price = $60 × (1 − 0.20) = $60 × 0.80 = $48
Your customer saves $12. You receive $48.
Your cost was $40, so your profit is now $8 instead of $20. Your margin has dropped from 33.3% to:
Margin = ($8 / $48) × 100 = 16.7%
A 20% discount cut your profit by 60%.
The discount formula
Discount % = ((Original − Sale) / Original) × 100
The Dangerous Confusion
Here’s where businesses lose money: treating markup and margin as interchangeable.
Scenario: A retailer buys goods for $100 and applies “a 40% margin.” If they calculate it as markup:
- They set the price at $100 × 1.40 = $140
- Their actual margin: ($40 / $140) × 100 = 28.6% — not 40%
They’re underpricing every item in their store.
Markup vs Margin: side-by-side
| Markup | Margin | |
|---|---|---|
| Calculated on | Cost | Revenue |
| Formula | (Profit / Cost) × 100 | (Profit / Revenue) × 100 |
| Example (cost $40, price $60) | 50% | 33.3% |
| Always | Higher | Lower |
Converting Between Markup and Margin
Markup → Margin
Margin = Markup / (1 + Markup/100)
Example: 50% markup → 50 / 1.50 = 33.3% margin
Margin → Markup
Markup = Margin / (1 − Margin/100)
Example: 33.3% margin → 33.3 / 0.667 = 50% markup
What Maximum Discount Can You Offer?
If you’ve applied a 50% markup (giving you a 33.3% margin), the maximum discount you can offer before losing money is your gross margin: 33.3%.
Any discount above 33.3% means you’re selling below cost.
Max discount = Gross margin %
Use our discount calculator and markup calculator to check your numbers before setting prices or running promotions.