Skip to content
SnapCalculations

Margin vs Markup: The Difference, Formulas and Examples

By the SnapCalculations team · Updated 1 Dec 2026

The short answer

Margin is profit ÷ selling price. Markup is profit ÷ cost. Something that costs £60 and sells for £100 makes £40 profit: a 40% margin but a 66.67% markup. Same sale, two different percentages, so always check which one someone means.

The two formulas

Margin = (price − cost) ÷ price × 100

Also called gross margin or profit margin

Markup = (price − cost) ÷ cost × 100

Both start from the same profit, price minus cost. The only difference is what you divide by. Because the price is bigger than the cost whenever you make a profit, the margin is always the smaller of the two percentages.

Worked examples

Example 1: one sale, two percentages

A product costs £60 to buy and sells for £100. What are the margin and markup?

  1. Profit = £100 − £60 = £40.
  2. Margin = £40 ÷ £100 = 40%.
  3. Markup = £40 ÷ £60 = 66.67%.

Answer: 40% margin, 66.67% markup

Try it in the calculator

Example 2: pricing for a target margin

Your cost is £60 and you want a 40% margin. What should you charge?

  1. Price = cost ÷ (1 − margin) = £60 ÷ (1 − 0.40) = £60 ÷ 0.6 = £100.
  2. Check: £40 profit ÷ £100 = 40%.

Example 3: the classic mistake

You want a 40% margin, so you add 40% to the £60 cost. What margin do you actually get?

  1. Price = £60 × 1.40 = £84.
  2. Profit = £84 − £60 = £24.
  3. Margin = £24 ÷ £84 = 28.57%.

Answer: Only 28.57%. Adding 40% to cost is a 40% markup, not a 40% margin.

Try it in the calculator

Example 4: leave VAT out

You sell an item for £120 including 20% VAT, and it cost you £60 before VAT. What's your margin?

  1. The VAT isn't yours: price before VAT = £120 ÷ 1.2 = £100.
  2. Profit = £100 − £60 = £40.
  3. Margin = £40 ÷ £100 = 40%.

Answer: 40%. Using £120 would wrongly give 50%.

Try it in the calculator

Converting between margin and markup

Margin = markup ÷ (1 + markup)

Markup = margin ÷ (1 − margin)

Use the percentages as decimals (40% = 0.4). Some common pairs:

  • 25% markup = 20% margin
  • 33.33% markup = 25% margin
  • 50% markup = 33.33% margin
  • 66.67% markup = 40% margin
  • 100% markup (doubling the cost) = 50% margin

A margin can never reach 100%, because that would mean the item cost nothing. A markup has no upper limit: a 200% markup just means selling at three times the cost.

Which one should you use?

Margin is what accounts usually show, because it tells you how much of every pound of sales you keep before overheads: a 40% margin means 40p of every £1. Markup is often easier when setting prices from a supplier's cost. Neither is better. The danger is mixing them up, as in Example 3.

Check it with the calculator

Enter your cost and either the selling price, a target margin or a markup in our margin calculator. It shows the price, profit, margin and markup together, with every step.

Free, with every step shownOpen the Margin and Markup Calculator

Frequently asked questions

Is a 50% markup the same as a 50% margin?

No. A 50% markup on a £100 cost gives a £150 price and a 33.33% margin. A 50% margin needs a £200 price, which is a 100% markup.

How do I work out the selling price from a margin?

Divide the cost by (1 − margin). For a 25% margin on a £30 cost: £30 ÷ 0.75 = £40.

Why is margin always lower than markup?

Both use the same profit, but margin divides it by the selling price, which is bigger than the cost that markup divides by.

Should margin include VAT?

No. Work out margin on prices excluding VAT, because the VAT you collect is paid to HMRC, not kept as profit.