Business Updated May 17, 2026 🕐 3 min read ✓ Verified

Margin vs Markup: The Pricing Mistake That Kills Retail Businesses

Margin and markup both express the profit on a product as a percentage, but they use different denominators. Margin divides profit by the selling price. Markup divides profit by the cost price. Since the selling price is always higher than the cost price, the same gross profit produces a higher markup percentage than margin percentage. Confusing the two causes systematic underpricing and destroys profitability at scale.

margin markup pricing profit retail gross-margin

Quick reference

Margin formula
(Price - Cost) / Price x 100
Percentage of selling price
Markup formula
(Price - Cost) / Cost x 100
Percentage of cost price
30% margin
= 42,9% markup
They are never equal except at 0%
50% markup
= 33,3% margin
Margin always lower than markup

The fundamental difference

Both margin and markup measure how much profit you make on a product as a percentage. The difference is what you divide by.

Margin divides profit by the selling price. Markup divides profit by the cost price. Since the selling price is always higher than the cost price for a profitable product, margin is always a lower percentage than markup for the same transaction.

The confusion between the two causes a specific, consistent error: if you aim for a 30% margin but accidentally apply it as a markup, you set your price 30% above cost. That produces a 23% margin, not 30%. At 10.000 units sold at a cost of 50 each, that 7% shortfall represents 35.000 in missed profit per year. At scale, the error compounds significantly.

Gross margin formula

Formula
\text{Margin} = \frac{\text{Price} - \text{Cost}}{\text{Price}} \times 100
Gross margin is the gross profit (selling price minus cost) divided by the selling price, expressed as a percentage. It answers the question: what percentage of each euro of revenue is gross profit?
PriceThe selling price — the amount the customer pays
CostThe cost price — the direct cost of the product, typically cost of goods sold (COGS)

Markup formula

Formula
\text{Markup} = \frac{\text{Price} - \text{Cost}}{\text{Cost}} \times 100
Markup is the gross profit divided by the cost price, expressed as a percentage. It answers the question: by what percentage did you increase the cost price to reach the selling price?
PriceThe selling price
CostThe cost price — the denominator changes from margin: cost here, price in margin

Worked examples

Example 1Same product — two different percentages
Given: Cost: 60 | Selling price: 100
Result: Margin: 40% | Markup: 66,7%

Margin = (100 - 60) / 100 x 100 = 40 / 100 x 100 = 40%. Markup = (100 - 60) / 60 x 100 = 40 / 60 x 100 = 66,7%. The same product with the same cost and selling price produces 40% margin and 66,7% markup. Both are correct. They measure the same profit (40) against different bases (100 vs 60).

Example 2Setting price from a target margin — the correct method
Given: Cost: 50 | Target gross margin: 30%
Result: Correct selling price: 71,43

Rearranging the margin formula: Price = Cost / (1 - margin rate) = 50 / (1 - 0,30) = 50 / 0,70 = 71,43. Verification: margin = (71,43 - 50) / 71,43 x 100 = 21,43 / 71,43 x 100 = 30%. The common error is to add 30% to the cost: 50 x 1,30 = 65. Verification of the error: (65 - 50) / 65 x 100 = 23,1%, not 30%.

Example 3Setting price from a target markup
Given: Cost: 50 | Target markup: 30%
Result: Selling price: 65 | Resulting margin: 23,1%

Price = Cost x (1 + markup rate) = 50 x 1,30 = 65. Markup is straightforward: multiply the cost by one plus the markup rate. But note the resulting margin: (65 - 50) / 65 x 100 = 23,1%. A 30% markup produces only a 23,1% margin. If your financial model requires a 30% margin and you use markup instead, you will consistently underperform your profitability targets.

Calculate your profit margin and markup

Enter your cost and selling price to see both margin and markup, or enter a target margin to find the correct selling price.

Open Profit Margin Calculator →

Margin to markup conversion table

Target Margin %Equivalent Markup %Price = Cost multiplied by
10%11,1%1,111
15%17,6%1,176
20%25,0%1,250
25%33,3%1,333
30%42,9%1,429
40%66,7%1,667
50%100,0%2,000
60%150,0%2,500

Converting between margin and markup

The conversion formulas between margin and markup are:

Markup from Margin: Markup = Margin / (1 - Margin) Example: 30% margin = 0,30 / (1 - 0,30) = 0,30 / 0,70 = 0,4286 = 42,9% markup.

Margin from Markup: Margin = Markup / (1 + Markup) Example: 50% markup = 0,50 / (1 + 0,50) = 0,50 / 1,50 = 0,3333 = 33,3% margin.

The relationship between margin and markup is non-linear. As margin approaches 100%, the equivalent markup approaches infinity. A 90% margin requires a 900% markup (selling at 10 times cost). A 99% margin requires a 9.900% markup. This is why high-margin software businesses show markup percentages that seem astronomically large — their marginal cost of production is near zero.

Common mistakes that reduce profitability

✗ Adding the target margin percentage to cost to calculate the selling price
✓ The correct formula is Price = Cost / (1 - margin). Adding 30% to cost gives 23,1% margin, not 30%. The error occurs because you are calculating 30% of a smaller base (cost) instead of 30% of the correct base (price).
✗ Using markup and margin interchangeably in financial reporting or pricing models
✓ Always specify which metric you are using and be consistent throughout a financial model. Mixing the two in spreadsheets without labels produces results that appear reasonable but are systematically wrong.
✗ Calculating gross margin without excluding all direct costs
✓ Gross margin must subtract all direct costs of producing or acquiring the product: materials, direct labour, shipping, import duties. Overhead costs such as rent and management salaries are excluded from gross margin but must be included when calculating net profit margin.
✗ Setting prices based only on gross margin without accounting for overhead
✓ A 40% gross margin sounds healthy, but if overhead costs represent 35% of revenue, the net margin is only 5%. Price setting must account for all costs, not just the direct cost of goods.

Methodology

Margin and markup formulas in this guide follow standard accounting definitions as used in management accounting and financial reporting. Margin uses selling price as the denominator. Markup uses cost price as the denominator. The conversion formula Markup = Margin / (1 - Margin) is derived algebraically from the two definitions.

These calculations cover gross margin only, which excludes operating expenses, interest, and taxes. Net profit margin requires subtracting all costs from revenue.

Cite this guide
APAMLAChicago
Last updated: May 2026

Calculate your margin and markup now

Enter cost and selling price to instantly see both margin and markup, and verify your pricing produces the target profitability.

Calculate now →

Frequently asked questions

Is margin or markup better to use for pricing?
Margin is generally preferred for financial reporting and target-setting because it directly expresses profit as a percentage of revenue — the same basis used in income statements. Markup is more intuitive for purchasing decisions because it starts from the cost you know and adds a percentage to reach the price. Both are valid tools. The critical rule is to use them consistently and never confuse one for the other.
Can margin exceed 100%?
No. Gross margin is capped at 100% because gross profit cannot exceed revenue. If selling price equals cost, margin is 0%. If cost is zero (hypothetically), margin is 100%. Markup has no upper limit and can exceed 100% — a 100% markup means you doubled the cost price, which equals a 50% margin.
What is a good profit margin by industry?
Gross margins vary dramatically by industry. Grocery retail typically operates on 20 to 30% gross margin with 1 to 3% net margin due to high overhead. Software businesses can achieve 70 to 85% gross margin. Clothing retail averages 40 to 60% gross margin. Manufacturing averages 20 to 35%. Always compare your margin to industry benchmarks from financial data sources rather than a universal standard.
What is the formula to convert markup to margin?
Margin = Markup / (1 + Markup). Both expressed as decimals. Example: 50% markup = 0,50 / (1 + 0,50) = 0,50 / 1,50 = 0,333 = 33,3% margin. Or use the conversion table above for common values.
Sources & References

Formula based on standard mathematical and financial methods. Results are for informational purposes. Last reviewed May 2026. Version 3.