Margin and markup both describe profit as a percentage, which is why they get mixed up so often. The difference is what you divide by. Margin divides profit by the selling price. Markup divides profit by the cost. For the same sale, markup is always the larger number, and pricing with the wrong one can cost you real money.
Figures checked by Muhammad Ahmad against Investopedia: Markup vs margin and Shopify: Margin vs markup explained. Prices and rules change, so confirm with the official source before relying on them. How we check the math
How it works
Profit is the selling price minus the cost. Margin is that profit divided by the selling price. Markup is the same profit divided by the cost.
To reach a target margin, divide the cost by (1 minus the margin). For a 50% margin on a $60 cost, that is $60 ÷ 0.5, which is $120. Adding 50% to the cost instead would give only $90, which is a 33.33% margin.
Margin can never reach 100%, because that would mean the item cost nothing. Markup has no upper limit.
A worked example
An item that costs $60 and sells for $100 makes $40 of profit. That is a 40% margin ($40 ÷ $100) and a 66.67% markup ($40 ÷ $60). To earn a 50% margin on the same $60 cost, you would need to charge $120.
More examples
A $60 item marked up 40% sells for $84, which is only a 28.57% margin. For a 40% margin, the price must be $100.
Common mistakes
- Applying a margin percentage as a markup, which underprices.
- Forgetting that discounts come straight out of margin.
- Leaving shipping and payment fees out of cost.
- Comparing your markup with a competitor's margin.
Questions people ask
Which should I use for pricing, margin or markup?
Either works as long as you are consistent. Retailers often think in markup because it starts from cost. Finance teams and most business reports use margin because it shows what share of revenue you keep. The mistake to avoid is setting a markup when your target was written as a margin.
How do I convert markup to margin?
Margin = markup ÷ (1 + markup). A 50% markup is 0.5 ÷ 1.5, which is a 33.33% margin. Going the other way, markup = margin ÷ (1 − margin), so a 40% margin is a 66.67% markup.
Is this gross margin or net margin?
It is gross margin on a single sale: price minus the direct cost of what you sold. Net margin also subtracts overheads such as rent, salaries and marketing, which this calculator does not include.
What is a 50% markup as a margin?
33.3%. A 50% markup on a $100 cost gives a $150 price. The $50 profit is 50% of the cost but only 33.3% of the price.
What markup do I need for a 30% margin?
About 42.9%. Markup = margin ÷ (1 − margin), so 0.30 ÷ 0.70 = 0.429. A $100 cost becomes a $142.86 price, which gives a 30% margin.
Guides
- How to Remove VAT or Sales Tax From a Price (the Right Way)Taking 20% off a price that includes 20% VAT removes too much. Here is why, and the one-line formula that gets it right every time.
- Profit Margin vs Markup: The Difference That Changes Your PricesMargin divides profit by the price. Markup divides it by the cost. Mix them up and a 50% target quietly becomes 33%.
- Break-Even Point Explained: How Many Sales Before You Make MoneyBreak-even is where each sale's contribution has paid off your fixed costs. Here is how to calculate it, and which lever moves it most.