A candle maker pours a batch, adds up what each jar costs her, and decides to charge “40% on top.” She feels good. Then the year ends, and her profit is smaller than every spreadsheet promised. Nothing was stolen and nothing broke. She simply used markup when she meant margin, and the two numbers are not the same.
Figures as of November 2026.

The short version: markup is profit divided by your cost, and margin is profit divided by your price. For the same sale, markup is always the bigger number, and the gap grows as you charge more.
The two formulas, side by side
Both start with gross profit, which is your price minus your cost.
- Markup = gross profit / cost
- Margin = gross profit / price
Say a jar costs $60 to make and sells for $100. Gross profit is $40. Markup is $40 / $60, or 66.7%. Margin is $40 / $100, or 40%. Same sale, two honest numbers.
| Markup on cost | Margin on price |
|---|---|
| 25% | 20.0% |
| 50% | 33.3% |
| 100% | 50.0% |
| 150% | 60.0% |
| Margin on price | Markup needed |
|---|---|
| 20% | 25.0% |
| 30% | 42.9% |
| 40% | 66.7% |
| 50% | 100.0% |
Notice that you can never reach a 100% margin, because that would mean your cost was zero. You can easily reach a 100% markup, which is just charging double your cost.
How the mix-up costs real money
Back to the candle maker. Her cost is $60 and she wants a 40% margin. She adds 40% to her cost instead, so she charges $84. Her profit is $24 on an $84 sale, which is a 28.6% margin. The price that would have given her a true 40% margin was $100.
If she sells 1,000 jars a year, that is $40,000 of profit planned and $24,000 actually earned. A $16,000 hole, from one word swapped for another.
This is why margin is the number to use when you compare yourself with other businesses, read a profit and loss statement, or talk with a lender. Reports and benchmarks almost always use margin. Markup is a handy way to set a price from your cost, but only if you convert it correctly.
Margin and markup calculator
Enter your cost and price to see both numbers, and the price you need to hit the margin you want.
Worked example
The owner confused markup and margin when pricing and checked both on a product. The owner entered: your cost per unit $60; your selling price $100; margin you want 35%. The calculator showed gross margin at your price: 40.0% (gross profit per sale: $40.00; markup on cost: 66.7%).
What to do next: The owner started pricing from target margin instead of markup.
Setting a price from the margin you want
When you know the margin you want, skip markup entirely and use this:
Price = cost / (1 − target margin)
For a cost of $60 and a 35% margin, price = $60 / 0.65 = $92.31. That is a markup of 53.8%, not 35%. If you only remember one formula from this page, make it that one.
What counts as “cost”
For a product business, cost is what you paid for the item or the materials, plus anything you pay per sale: packaging, shipping you cover, payment processing fees. For a service business, it is the direct labor and supplies for the job. Overhead such as rent and software is usually left out of gross margin and handled in your fixed costs. If you are not sure where to draw the line, our guide to how to price your products walks through it, and how to read a profit and loss statement shows where margin appears in your reports.
A quick pricing routine
- List every per-sale cost, down to the sticker.
- Decide the margin you need to cover overhead and leave a profit.
- Divide cost by one minus that margin to get your price.
- Check the price against what customers in your market actually pay.
- If the market price is lower, work on cost or value rather than just matching it.
Try our free calculator: Profit Margin and Markup Calculator. It runs in your browser and nothing you type is stored.
Quick conversion table
| Markup | Equivalent margin |
|---|---|
| 25% | 20% |
| 50% | 33.3% |
| 100% | 50% |
| 150% | 60% |
| 200% | 66.7% |
To convert markup to margin, divide markup by (1 + markup). To convert margin to markup, divide margin by (1 − margin).
Is a 50% markup the same as a 50% margin?
What is a good profit margin for a small business?
Should I use gross margin or net margin?
Can I use the same markup on everything I sell?
Why do retailers talk about markup but accountants talk about margin?
Sources
Examples use made-up numbers for teaching. This article is general education, not accounting or tax advice.




