How the margin calculator works
Margin and markup describe the same profit in two ways. Gross profit is what is left of the price after paying for the item itself.
Gross profit = price − cost
Margin = profit ÷ price × 100
Markup = profit ÷ cost × 100
Pick what you already know. When you know a percentage and one amount, the calculator works backwards:
Price = cost ÷ (1 − margin) or cost × (1 + markup)
Cost = price × (1 − margin) or price ÷ (1 + markup)
A price or cost it works out is rounded to the cent, because that is what you can actually charge or pay. Rounding can move the real margin by a few hundredths of a percent; when it changes the figure shown, a note under the result gives the margin and markup at the rounded price.
Margin or markup: the mistake that costs money
Many people add a percentage to the cost and think that percentage is their margin. It isn’t. Say you want a 30% margin on an item that costs $70:
- Adding 30% to the cost gives $91. Your profit is $21, and 21 ÷ 91 is only a 23.08% margin.
- The right price is 70 ÷ (1 − 0.30) = $100. Your profit is $30, and 30 ÷ 100 is a 30% margin (a 42.86% markup).
That is why this calculator always shows both numbers side by side. Some people and some industries say “margin” when they mean markup, so check which one a supplier, buyer or business plan means.
Margin to markup conversion table
To turn a margin into a markup: markup = margin ÷ (100 − margin) × 100. To go the other way: margin = markup ÷ (100 + markup) × 100. Percentages are rounded to 2 decimal places.
| Margin | Markup |
|---|---|
| 10% | 11.11% |
| 15% | 17.65% |
| 20% | 25% |
| 25% | 33.33% |
| 30% | 42.86% |
| 35% | 53.85% |
| 40% | 66.67% |
| 50% | 100% |
| 60% | 150% |
| 75% | 300% |
| Markup | Margin |
|---|---|
| 10% | 9.09% |
| 20% | 16.67% |
| 25% | 20% |
| 30% | 23.08% |
| 40% | 28.57% |
| 50% | 33.33% |
| 75% | 42.86% |
| 100% | 50% |
| 150% | 60% |
| 200% | 66.67% |
Worked examples
What margin do I make?
A candle costs you $12 to make and sells for $20.
- Profit: 20 − 12 = $8.
- Margin: 8 ÷ 20 × 100 = 40%.
- Markup: 8 ÷ 12 × 100 = 66.67%.
What price gives me a 35% margin?
A product costs $45 and you want 35% of the price to be profit.
- Price: 45 ÷ (1 − 0.35) = 45 ÷ 0.65 = 69.2307…, so charge $69.23.
- Profit: 69.23 − 45 = $24.23, a margin of 35.00% (34.9993% before rounding).
- Selling 120 of them brings in 120 × 69.23 = $8,307.60 for a gross profit of $2,907.60.
How much can I pay for it?
Similar items sell for $30 and you need a 25% margin. The most you can pay is 30 × (1 − 0.25) = $22.50, a 33.33% markup.
Good to know
- Gross, not net. This is gross margin: rent, wages, shipping you pay yourself, card fees and tax on profit come out of it later.
- Prices before tax. Leave out sales tax in the US, GST, HST, PST or QST in Canada, and VAT in Europe. They are not your money.
- Other names. In France, margin on the price is called taux de marque and markup is called taux de marge, which is easy to mix up. The French version of this calculator uses both sets of words.
- Any currency. The math is the same in dollars, euros or pesos.
For other everyday math, try the percentage calculator.
Frequently asked questions
What is the difference between margin and markup?
Both compare the same profit with a different number. Margin divides the profit by the selling price; markup divides it by the cost. An item that costs $40 and sells for $50 makes $10: that is a 20% margin (10 ÷ 50) but a 25% markup (10 ÷ 40). Markup is always the bigger number when you make a profit.
How do I work out the price for a target margin?
Divide the cost by 1 minus the margin as a decimal. For a 35% margin on an item that costs $45: 45 ÷ (1 − 0.35) = 45 ÷ 0.65 = $69.23. Adding 35% to the cost ($60.75) gives only a 25.93% margin, which is the most common pricing mistake.
Can a margin be more than 100%?
No. Margin is the share of the price that is profit, and profit can never be more than the whole price. A 100% margin would mean the item cost nothing. Markup has no upper limit: a 300% markup is a 75% margin.
Is a 50% markup the same as a 50% margin?
No. A 50% markup on a $10 cost gives a $15 price and a $5 profit, which is a 33.33% margin. To get a 50% margin you need a 100% markup: a $10 cost sold for $20. Retailers call doubling the cost “keystone” pricing.
Should I include sales tax or VAT in the price?
No. Sales tax, GST, HST and VAT are collected for the government, so they are not your revenue. Enter prices before tax, or your margin will look bigger than it is.
Is this gross margin or net margin?
Gross margin: the price minus what the item itself costs you. Net margin also takes away rent, wages, marketing and taxes on profit, so it is always smaller. A healthy gross margin has to be big enough to pay for those overheads.
Sources
- BDC (Business Development Bank of Canada): What is gross margin?
- Penn State Extension: What’s the Difference Between Markup and Profit?
- Bpifrance Création: Taux de marque (French terms for margin and markup, in French)
Results are exact for the numbers you enter. Prices and costs the calculator works out are rounded to the cent. Read the full disclaimer and how we check our formulas.