Markup vs Margin – Difference, Formulas & Pricing Examples
Markup and margin both describe the relationship between cost, price and gross profit, but they answer different questions. Learn the formulas, convert markup to margin and margin to markup, avoid common pricing mistakes and choose the right percentage for product and service pricing.
Quick answer: markup and margin are not the same percentage
Markup compares gross profit with cost. Margin compares the same gross profit with selling price. Because the denominator changes, a 30% markup is not a 30% margin.
Markup
Useful when the starting point is a cost and you want to add a percentage to build a selling price.
Margin
Useful when you want to know what percentage of revenue remains as gross profit after the chosen cost base.
For direct calculation, use the Markup Calculator or the Profit Margin Calculator.
One example explains the difference
Assume a product costs $80 and sells for $100. Gross profit on the selected cost basis is $20.
| Measure | Calculation | Result |
|---|---|---|
| Gross profit | $100 − $80 | $20 |
| Markup | $20 ÷ $80 × 100 | 25% |
| Margin | $20 ÷ $100 × 100 | 20% |
The profit amount is identical in both calculations. Only the reference value changes. Markup asks, “How much profit did I add relative to cost?” Margin asks, “How much of the selling price is gross profit?”
This is why pricing sheets, supplier discussions and management reports can appear to disagree even when everyone is using the same cost and price. One person may be quoting markup while another is quoting margin.
How to convert markup to margin
If you already know markup, convert it to margin without rebuilding the whole calculation. Use decimal form in the formula:
For a 50% markup, use 0.50:
The conversion becomes increasingly important at higher percentages. A 100% markup means the selling price is double the cost, but the resulting margin is 50%, not 100%.
Markup-to-margin reference table
| Markup | Equivalent margin | Price if cost = 100 |
|---|---|---|
| 10% | 9.09% | 110 |
| 20% | 16.67% | 120 |
| 25% | 20.00% | 125 |
| 30% | 23.08% | 130 |
| 40% | 28.57% | 140 |
| 50% | 33.33% | 150 |
| 75% | 42.86% | 175 |
| 100% | 50.00% | 200 |
| 150% | 60.00% | 250 |
| 200% | 66.67% | 300 |
How to convert margin to markup
For the opposite direction, use:
If the target margin is 40%, use 0.40:
This relationship is particularly important when a manager sets a target gross margin but a pricing tool expects a markup. Entering 40% as markup would not deliver a 40% margin.
For example, with a cost of $60:
- 40% markup gives a price of $84 and a margin of about 28.57%.
- 40% margin requires a price of $100 and is equivalent to a 66.67% markup.
If your starting point is a target margin rather than a markup, the Profit Margin Calculator can solve directly for the required selling price.
Which cost should you use?
The formulas are simple, but the meaning of the result depends on the cost definition. A markup or margin calculated from purchase cost is not automatically comparable with one calculated from landed cost, variable cost or a modeled full cost.
| Cost base | May include | Useful for |
|---|---|---|
| Purchase cost | Supplier invoice cost | Simple resale calculations |
| Landed cost | Purchase cost plus freight, duty or direct acquisition costs | Import and inventory pricing |
| Variable unit cost | Costs that change with each additional sale or unit | Contribution and short-run volume decisions |
| Modeled full unit cost | Direct costs plus an allocation of overhead | Cost-plus pricing and longer-run cost recovery |
Write the cost basis next to the percentage. “35% margin” without a cost definition can be ambiguous. If the business uses full-cost pricing, build the cost base first with the Cost-Plus Pricing Calculator and then evaluate markup and margin consistently.
Do not assume that a positive gross margin means the business is profitable overall. Fixed operating costs, taxes, financing, returns, discounts and other expenses may still need to be covered.
Why confusing markup and margin can underprice a product
Suppose a product costs $100 and the business wants a 30% margin. If someone mistakenly adds a 30% markup, the selling price becomes $130. Gross profit is $30, but margin is only:
To achieve a true 30% margin, the required price is:
The pricing mistake is $12.86 per unit. At 1,000 units, that difference represents $12,860 of revenue before considering any effect on demand.
The reverse mistake is also possible: applying a margin formula when a company policy specifies markup can produce a higher price than intended. The correct approach is not to choose the “better” percentage but to follow the intended definition.
How discounts change margin faster than many people expect
Discounts reduce selling price, but unit cost often remains unchanged. That means gross profit per unit falls by the full amount of the discount. Consider a product with cost 60 and selling price 100:
- Before discount: gross profit = 40 and margin = 40%.
- After a 10% price discount: selling price = 90, gross profit = 30 and margin = 33.33%.
The selling price fell by 10%, but gross profit per unit fell from 40 to 30 — a 25% reduction in gross profit per unit. The business therefore needs more unit sales to preserve the same total gross profit.
Use the Discount Profit Calculator to model the margin change and the extra sales volume required after a discount.
Markup, margin and contribution margin are different concepts
Another common source of confusion is using gross margin and contribution margin as though they were interchangeable. Both can be expressed as percentages, but they may use different cost definitions.
Gross margin in a product context often uses a defined product cost or cost of goods sold. Contribution margin specifically subtracts variable costs from sales and asks how much remains to cover fixed costs and profit.
If your decision is about break-even, target profit or the effect of changing sales volume, contribution margin is usually the more useful bridge to the next calculation. Use the Contribution Margin Calculator and Break-even Calculator after you have clarified price and unit economics.
Which measure should you use in practice?
| Question | Useful measure |
|---|---|
| I know cost and want to add a pricing percentage. | Markup |
| I want to know what share of selling price remains as gross profit. | Margin |
| I have a target margin and need the required selling price. | Margin-based pricing formula |
| I want to know how each extra sale helps cover fixed costs. | Contribution margin |
| I want to know how much I must sell to cover fixed costs. | Break-even analysis |
| I want to test a discount without losing total gross profit. | Discount profit analysis |
The most important operational rule is consistency. Define the cost base, name the percentage correctly and use the same definition across price lists, dashboards, sales targets and internal communication.
Worked pricing scenarios
Scenario 1: adding a 25% markup
Cost = $80. A 25% markup adds $20, giving a selling price of $100. The resulting margin is 20%.
Scenario 2: pricing for a 25% margin
Cost = $80. Required price = $80 ÷ (1 − 0.25) = $106.67. Gross profit is $26.67. Equivalent markup is about 33.33%.
Scenario 3: comparing two suppliers
A product currently costs $72 and sells for $120, giving $48 gross profit, 66.67% markup and 40% margin. If landed cost rises to $84 while price stays at $120, gross profit falls to $36, markup to 42.86% and margin to 30%. The price did not change, but the economics did.
For business and economics students: check the denominator first
When solving markup and margin questions, write the fraction before inserting numbers. Most mistakes happen because the numerator is understood correctly — profit — but the wrong denominator is used.
Exercise 1
Cost is 60 and selling price is 90. Calculate gross profit, markup and margin.
Show answer
Profit = 30. Markup = 30 ÷ 60 = 50%. Margin = 30 ÷ 90 = 33.33%.
Exercise 2
Cost is 120 and target markup is 40%. Find selling price and equivalent margin.
Show answer
Markup amount = 120 × 40% = 48. Price = 168. Margin = 48 ÷ 168 = 28.57%.
Exercise 3
Cost is 75 and target margin is 40%. Find the required price and equivalent markup.
Show answer
Price = 75 ÷ 0.60 = 125. Profit = 50. Markup = 50 ÷ 75 = 66.67%.
Next steps for pricing and profitability
- Markup Calculator – build price from cost and markup or check the actual markup from cost and price.
- Profit Margin Calculator – calculate margin or solve for the price required for a target margin.
- Cost-Plus Pricing Calculator – create a fuller unit-cost base before applying markup.
- Contribution Margin Calculator – move from gross pricing measures to fixed-cost coverage and volume decisions.