Markup vs margin: the difference, with examples

Markup and margin both describe profit as a percentage, but from different starting points. Markup compares profit with the cost. Margin compares it with the selling price. Mixing them up is one of the most common pricing errors in small shops, and it always works against you.

The two formulas

Profit = price − cost Markup = profit / cost Margin = profit / price

Same profit, different denominator. Because the price is always larger than the cost (when you make a profit), the margin is always the smaller of the two percentages.

Worked example: the same item priced two ways

A shop buys a pair of headphones for $40. The owner “wants 40%”. Depending on which 40% is meant, the price is very different.

40% markup

Price = cost × (1 + markup) = $40 × 1.4 = $56. Profit is $16. As a margin: $16 / $56 = 28.6%.

40% margin

Price = cost / (1 − margin) = $40 / 0.6 = $66.67. Profit is $26.67. As a markup: $26.67 / $40 = 66.7%.

The gap is $10.67 on one item. If the owner reads supplier and accountant reports in margins but prices with a markup, every item earns less than planned. On a shop selling $20,000 a month, planning for a 40% margin and getting 28.6% is a difference of about $2,286 of profit a month.

Converting between markup and margin

Margin = markup / (1 + markup) Markup = margin / (1 − margin)
Margin you wantMarkup to apply on cost
20%25%
25%33.3%
30%42.9%
40%66.7%
50%100%

A 50% margin needs a 100% markup: you double the cost. That is why “keystone” pricing in retail (doubling the cost) gives a 50% margin, not 100%.

Working back from a price you cannot change

Sometimes the market sets the price and the question is how much you can pay. A café sells a sandwich platter for $25 and needs a 35% margin on it. Maximum cost = price × (1 − margin) = $25 × 0.65 = $16.25. If ingredients and packaging cost more than that, the recipe or the supplier has to change.

A quick check at the till

You do not need a calculator to sanity-check a price tag. Take the cost, double it, and you have a 50% margin. Add half the cost again on top and you have 33.3%. If a price sits between cost × 1.5 and cost × 2, the margin is somewhere between those two. For anything more precise, or for a full price list, convert once and write the markup next to each product group so staff never have to work it out on the spot.

Keep in mind that margin is what pays rent, salaries and the generator. A shop that needs 25% of its sales to cover fixed costs cannot live on a 20% margin, however busy it looks.

Which one should you use?

  • Use markup to set prices from a cost, because you start with the cost. Just make sure the markup you apply corresponds to the margin you need.
  • Use margin to judge results. Income statements, accountants and most industry benchmarks talk in margins, because they are shares of sales.

The safest habit is to decide your target in margin terms, then convert it once to a markup and use that markup at the counter.

Common mistakes

  • Adding the margin percentage to the cost. Cost × 1.3 gives a 30% markup, which is only a 23.1% margin.
  • Calculating on prices that include VAT. Take VAT out of the price first. In Lebanon, with 11% VAT, a $111 shelf price is $100 of revenue for you.
  • Forgetting discounts. A 10% discount on a 30% margin item removes a third of the profit, not a tenth.
  • Using only the purchase price as cost. Include freight, customs, packaging and card fees in the unit cost, or the margin is overstated.
  • Applying one markup to everything. Fast-moving staples can live on thin margins. Slow items that tie up shelf space need more.

Run your own numbers

The free Profit Margin & Markup Calculator does this math as you type and shows each step. No sign-up, and your numbers stay in your browser.

Frequently asked questions

What is the difference between markup and margin?

Markup is profit divided by cost. Margin is profit divided by selling price. An item bought for $40 and sold for $56 has a 40% markup but a 28.6% margin.

How do I convert markup to margin?

Margin = markup / (1 + markup). A 25% markup is a 20% margin, 50% is 33.3%, 100% is 50%.

How do I price for a target margin?

Price = cost / (1 − target margin). For a 40% margin on a $40 item: 40 / 0.6 = $66.67.

Can margin be more than 100%?

No. Margin is a share of the price, so it stays below 100% however high the price. Markup has no upper limit: an item bought for $10 and sold for $50 has a 400% markup and an 80% margin.

Why does a discount hurt margin so much?

Because the discount comes straight out of profit while the cost stays the same. On an item with a 30% margin, a 10% discount cuts the profit from 30 to 20 for every 100 of the original price (a 22.2% margin on the new price), so you keep only two thirds of the profit.

Elio Saliba is an industrial engineering student at LAU in Lebanon. He builds and tests every calculator on this site. About the site

More guides