Guide

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

Markup % = (selling price − cost) ÷ cost × 100

Useful when the starting point is a cost and you want to add a percentage to build a selling price.

Margin

Margin % = (selling price − cost) ÷ selling price × 100

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.

MeasureCalculationResult
Gross profit$100 − $80$20
Markup$20 ÷ $80 × 10025%
Margin$20 ÷ $100 × 10020%

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:

Margin = markup ÷ (1 + markup)

For a 50% markup, use 0.50:

0.50 ÷ 1.50 = 0.3333 = 33.33% margin

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

MarkupEquivalent marginPrice 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:

Markup = margin ÷ (1 − margin)

If the target margin is 40%, use 0.40:

0.40 ÷ 0.60 = 0.6667 = 66.67% markup

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 baseMay includeUseful for
Purchase costSupplier invoice costSimple resale calculations
Landed costPurchase cost plus freight, duty or direct acquisition costsImport and inventory pricing
Variable unit costCosts that change with each additional sale or unitContribution and short-run volume decisions
Modeled full unit costDirect costs plus an allocation of overheadCost-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:

$30 ÷ $130 × 100 = 23.08%

To achieve a true 30% margin, the required price is:

Selling price = cost ÷ (1 − margin) = $100 ÷ 0.70 = $142.86

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?

QuestionUseful 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

  1. Markup Calculator – build price from cost and markup or check the actual markup from cost and price.
  2. Profit Margin Calculator – calculate margin or solve for the price required for a target margin.
  3. Cost-Plus Pricing Calculator – create a fuller unit-cost base before applying markup.
  4. Contribution Margin Calculator – move from gross pricing measures to fixed-cost coverage and volume decisions.
Planning note: markup and gross margin are useful pricing measures, not complete measures of business profitability. Results depend on the cost definition used and do not automatically include all fixed costs, taxes, financing, returns, capacity constraints or changes in customer demand.

FAQ – markup vs margin

What is the difference between markup and margin?
Markup measures profit relative to cost, while margin measures profit relative to selling price. With the same cost and selling price, the percentages are different because the denominator is different.
What is the markup formula?
Markup % = (selling price − cost) ÷ cost × 100. The amount added to cost is divided by the cost base.
What is the margin formula?
Gross margin % = (selling price − cost) ÷ selling price × 100. The same gross profit amount is divided by selling price instead of cost.
Is 50% markup the same as 50% margin?
No. A 50% markup on a cost of 100 produces a selling price of 150 and a margin of 33.33%. A 50% margin on a cost of 100 requires a selling price of 200, which is a 100% markup.
How do I convert markup to margin?
Using decimal values, margin = markup ÷ (1 + markup). For example, a 25% markup is 0.25 ÷ 1.25 = 20% margin.
How do I convert margin to markup?
Using decimal values, markup = margin ÷ (1 − margin). For example, a 40% margin is 0.40 ÷ 0.60 = 66.67% markup.
Why can mixing markup and margin cause pricing errors?
If a target margin is entered as though it were a markup, the selling price will usually be too low. The larger the percentage, the larger the gap becomes.
Which cost should I use when calculating markup or margin?
Use a clearly defined and consistent cost base. Depending on the decision, that may be purchase cost, variable cost, landed cost or a modeled full cost. Do not compare percentages that were calculated from different cost definitions without explaining the difference.
Can gross margin be more than 100%?
Not in the ordinary positive-cost, positive-price model used here. Gross margin approaches 100% as cost approaches zero but remains below 100% when cost is positive. Markup, however, can exceed 100%.
Can markup be negative?
Yes. If selling price is below cost, the markup is negative and the transaction produces a negative gross profit on that cost basis.
Should I price products using markup or margin?
Both can be useful. Markup is convenient when building a selling price from cost. Margin is often easier for monitoring how much of revenue remains after the chosen cost base. The important point is to know which percentage your business uses.
Does margin include fixed costs, tax and operating expenses?
Not automatically. In this guide, margin refers to gross margin based on the specific cost value used in the calculation. Fixed costs, tax, financing and other operating expenses may still need to be covered.
How do discounts affect margin?
A discount reduces selling price while unit cost may remain unchanged, so gross profit and gross margin usually fall. The effect can be larger than the discount percentage suggests.
What should I use for a full pricing decision?
Use markup and margin as unit-economics tools, then also check contribution margin, fixed costs, break-even volume, target profit, discounts, demand and any taxes or fees relevant to the business.