Blog · 3 min read

Margin vs markup: the difference that changes your prices.

Published November 4, 2026

Margin and markup both describe profit, but they use different bases, and mixing them up leads to prices that are too low.

The two formulas

  • Markup = (price - cost) / cost. It tells you how much you added on top of the cost.
  • Margin = (price - cost) / price. It tells you how much of each sale you keep.

A simple example

Say a product costs $20 and sells for $30. The profit is $10. Markup is $10 / $20 = 50%. Margin is $10 / $30, about 33%. Same product, same profit, two different numbers.

Why it matters when you set prices

If your goal is a 50% margin, a 50% markup will not get you there. At a cost of $20 you would need a price of $40: (40 - 20) / 40 = 50%. A 50% markup would give you $30, which is only a 33% margin.

Which one should you track?

Track margin. It is the number that tells you how much of your revenue is left to pay for ads, shipping, apps and your own time. Markup is useful for quickly setting a price from a cost, as long as you convert it to margin before you judge the result.

Margin Tracker reports margin per variant for this reason, so a low or negative number is easy to spot.

Explore Margin Tracker

See how the app works, what it does and what it costs.

Install on Shopify

Keep reading

All articles