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).
- Profit per unit = $50 − $20 = $30.
- Markup = $30 ÷ $20 = 150%.
- Margin = $30 ÷ $50 = 60%.
- 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.
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
- Gross marginGross margin is the share of revenue left after subtracting the cost of goods sold, expressed as a percentage: (revenue − COGS) ÷ revenue.
- COGSCOGS (cost of goods sold) is the direct cost of the products you actually sold in a period, including purchase price, inbound freight and duties, but not marketing or overheads.
- Contribution marginContribution margin is the revenue left after subtracting all variable costs, the money that contributes to fixed costs and profit; ecommerce teams often split it into CM1, CM2 and CM3.
- AOVAOV (average order value) is the average amount a customer spends per order, calculated as total revenue divided by the number of orders in the same period.
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