Markup vs margin

Also known as: Markup and margin

Markup is profit expressed as a percentage of cost, while margin is the same profit expressed as a percentage of the selling price, so the same product always has a higher markup than margin.

Formula

Markup % = (price − cost) ÷ cost × 100
Margin % = (price − cost) ÷ price × 100
Margin = markup ÷ (1 + markup)
Markup = margin ÷ (1 − margin)

Worked example

A product costs $20 and sells for $50 (net of tax).

  1. Profit per unit = $50 − $20 = $30.
  2. Markup = $30 ÷ $20 = 150%.
  3. Margin = $30 ÷ $50 = 60%.
  4. Check: 1.5 ÷ (1 + 1.5) = 0.60.

A "100% markup" (doubling the cost) gives a 50% margin, not 100%.

Why it matters for a Shopify store running ads

Mixing up the two is one of the most common pricing errors. A merchant who wants a 50% margin and applies a 50% markup ends up with a 33% margin, which can be the difference between profitable ads and losing ones.

Ad maths runs on margin. Break-even ROAS, break-even CPA and contribution all use profit as a share of price. Suppliers and wholesalers often talk in markup. Convert explicitly so everyone uses the same figure.

Common mistakes

  • Applying a markup percentage when you meant a margin, or the reverse.
  • Calculating margin on a VAT-inclusive price.
  • Discounting by the markup percentage and assuming you still break even.
Work it out with your own numbers: Profit margin calculator

FAQ

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

No. A 50% markup on a $20 cost gives a $30 price and a 33.3% margin. A 50% margin on a $20 cost requires a $40 price, which is a 100% markup.

Should I price with markup or margin?

Price with whichever you prefer, but evaluate profitability with margin, because ROAS targets, CPA limits and discounts are all relative to the selling price.

Related terms

Want this number for your own store without a spreadsheet? ProfitFly connects Shopify, Meta and TikTok and shows your real profit every day, free up to 50 orders a month.

Start free