Margin vs markup: what each means and why they are never the same number
Why a 50% markup is only a 33.3% margin, how to turn one into the other, and how sales tax fits in, with a worked shop example checked step by step.
Open the Margin calculator Free, in your browser, nothing uploaded.
Shop owners, market traders, freelancers who resell materials and business students all meet the same two percentages: margin and markup. They come from the same three numbers, cost, selling price and profit, but they divide by different things, so they never match. This guide explains both, shows how to switch between them, and works through a real pricing question. The margin calculator does the sums for you once you know which number you have. For the step before pricing, find how many sales cover your fixed costs with break-even; to put tax on top of a price, use sales tax; and for any other percentage question, percentage calculator.
What it is
Start with three amounts:
- Cost (C): what you paid for the item, or what it cost to make.
- Price (P): what you sell it for, before any sales tax.
- Profit: P − C.
Markup compares the profit with the cost: markup = (P − C) ÷ C × 100. It answers “how much did I add on top of what I paid?”
Margin compares the profit with the price: margin = (P − C) ÷ P × 100. It answers “how much of every sale do I keep?”
Because the price is always bigger than the cost (when you make a profit), margin is always the smaller percentage. You can turn one into the other without knowing any amounts:
- margin = markup ÷ (100 + markup) × 100
- markup = margin ÷ (100 − margin) × 100
So a 50% markup gives 50 ÷ 150 = 33.3% margin, and a 50% margin needs a 100% markup. A 100% markup (doubling the cost) gives only a 50% margin. Margin can never reach 100%, because that would mean the item cost nothing.
Sales tax (GST, VAT or HST) sits outside all of this. The tax is collected for the government, so margin and markup are always worked on the price without tax.
How to use it
- Decide which two numbers you already know: two money amounts (such as cost and price), or one money amount and one percentage.
- Type them into the matching boxes. The other three boxes fill in and show a dashed border, so you can see which ones were worked out.
- If you change your mind, type into a dashed box. It becomes one of your two known numbers and the oldest one is worked out instead.
- If your price includes tax, open the sales tax section, type the rate and choose “Tax included”. The tool takes the tax off before working out the margin.
- Look at the two tables underneath to compare common markups and margins on your own cost, then copy the result for your notes.
A worked example
A small bakery buys a cake stand for 240 and sells it for 320 before tax.
- Profit = 320 − 240 = 80.
- Markup = 80 ÷ 240 = 33.33%.
- Margin = 80 ÷ 320 = 25%.
The owner wants a 35% margin instead, on the same 240 cost. Price = 240 ÷ (1 − 0.35) = 369.23. The profit is 129.23, which is a 53.85% markup. Notice that 35% added on top of the cost (324) would have given only a 25.9% margin, which is the classic slip.
Now say the till price on the shelf, with 13% sales tax included, is 361.60. Before tax that is 361.60 ÷ 1.13 = 320, so the margin is back to 25%. Typing 361.60 with “Tax included” gives the same 25% as typing 320 with “Before tax”.
Checked with the tools
Every number above was run through the margin calculator’s own code (src/lib/money3/margin.ts) with Node: cost 240 and price 320 gave profit 80, margin 25% and markup 33.33%; cost 240 and margin 35% gave price 369.23 and markup 53.85%; a pre-tax price of 361.60 ÷ 1.13 gave 320 and the same 25% margin. The conversion helpers return 33.33% margin for a 50% markup and 100% markup for a 50% margin, matching the formulas in this guide.
Where it is used
- Retail pricing. Shops often set prices by adding a markup to the supplier’s cost, then report results as margin in their accounts.
- Wholesale and distribution. Suppliers quote “keystone” (100% markup) or a target margin, and buyers need to know which one is meant.
- Freelance and trade quotes. A plumber or designer adding a percentage to materials is using markup; their accountant will talk about margin.
- Online selling. Marketplace fees come off the price, so sellers work back from a target margin to the price they must list.
- Business studies. Margin and markup are core ideas in accounting and economics courses.
Common mistakes
- Adding the margin to the cost. A 30% “margin” added to cost is really a 30% markup, which is only a 23.1% margin. Divide by (1 − margin) instead.
- Working margin on a tax-included price. The tax is not yours. Take it off first, or the margin looks bigger than it is.
- Comparing a margin with a markup. Two suppliers quoting “40%” may mean different things. Ask which one.
- Forgetting other costs. Margin here is gross margin on one item. Rent, wages and fees come out later; break-even helps with those.
- Rounding the price too early. Round the final shelf price, not the steps in between.
Questions people ask
Is a higher markup always better? Not by itself. A high markup on items that rarely sell can earn less than a small markup on items that sell every day.
Which do accountants use? Margin. Income statements show gross profit as a share of sales, which is margin.
Can markup be more than 100%? Yes. Selling something for three times its cost is a 200% markup, which is a 66.7% margin.
What does a negative margin mean? The price is below the cost, so each sale loses money.
Sources
- Margin and markup are standard definitions (margin = profit ÷ price, markup = profit ÷ cost), worked by fibub. Sales tax rates differ by country and item: use your own rate and check the official source (for example your tax authority's website).
If you are an author or publisher and want a credit or a passage changed or removed, tell us and we will act quickly.