Markup and margin both describe the same profit. They just divide it by different things, so the same sale gives two different percentages. Mixing them up is one of the most common pricing mistakes, and it usually costs you money.
Markup is profit divided by cost. Margin is profit divided by selling price.
The two formulas
Markup % = (Price − Cost) ÷ Cost × 100
Margin % = (Price − Cost) ÷ Price × 100
Say a product costs you $60 and you sell it for $100. Profit is $40.
- Markup is 40 ÷ 60 = 66.67%
- Margin is 40 ÷ 100 = 40%
It is one sale and one profit. The markup is bigger because cost is smaller than price, so dividing by cost always gives a bigger number. Markup is always higher than margin for any profitable sale.
Conversion table
You can convert between them without redoing the whole calculation.
Margin = Markup ÷ (100 + Markup) × 100
Markup = Margin ÷ (100 − Margin) × 100
| Markup | Margin |
|---|---|
| 25% | 20% |
| 50% | 33.33% |
| 100% | 50% |
| 200% | 66.67% |
| Margin | Markup |
|---|---|
| 20% | 25% |
| 30% | 42.86% |
| 40% | 66.67% |
| 50% | 100% |
| 60% | 150% |
Notice that a margin can never reach 100%, because that would mean the item cost nothing. A markup has no upper limit. A 300% markup is perfectly normal for some products.
The mistake that costs money
Suppose you want a 40% margin on a product that costs $60. If you add a 40% markup, you get:
- Price: $60 × 1.40 = $84
- Profit: $24
- Actual margin: 24 ÷ 84 = 28.57%
You aimed for 40% and got under 29%. To really get a 40% margin, you need a 66.67% markup, which gives a price of $100.
If you already know the margin you want, skip markup and use this instead:
Price = Cost ÷ (1 − Margin)
At a 40% margin that is $60 ÷ 0.60 = $100.
Which one should you use?
Neither is better. They answer different questions.
- Use markup when you start from your cost and decide what to add on top. This is how many retailers and resellers set prices: “double the wholesale price” is a 100% markup.
- Use margin when you care about how much of each sale you keep. Margin is what you compare against your fixed costs, your ad spend, and other businesses. It is also the number to use when working out break-even ROAS, because ad spend is paid out of the sale price, not out of cost.
A good habit is to price with whichever you prefer, then check the other. A 25% markup sounds modest, but it is only a 20% margin, and after payment fees and shipping there may not be much left.
Do not forget the fees
Both formulas use your cost. If your real cost is missing marketplace or payment fees, both percentages are too high. Add the fee to cost before you calculate. For example, the eBay, Etsy, and Stripe fee calculators show what each platform keeps on a sale, so you can price with the true number.
Quick answers
Is gross margin the same as margin? Yes, when “cost” means the cost of goods sold. Gross margin is price minus cost of goods, divided by price. Read more in gross margin vs gross profit.
Can margin be higher than markup? No. For a profitable sale, markup is always the bigger number. They are equal only at zero, where there is no profit.
What is the difference between margin and profit? Profit is a dollar amount. Margin is that profit as a percentage of the price.
Try it with your numbers
The margin calculator gives you margin and markup from a cost and a price, or finds the price for a target margin. The markup calculator turns a cost and a markup percentage into a selling price. Both show the formula and a worked example on the page.