Markup is profit as a percentage of cost. Margin is profit as a percentage of the selling price. Buy an item for $40 and sell it for $60, and the $20 profit is a 50% markup ($20 ÷ $40) but only a 33.3% margin ($20 ÷ $60). Both describe the same sale; they just divide by different numbers. Mixing them up is one of the most common pricing mistakes in small businesses, and it always errs in the direction of charging too little.
The formulas
Converting between them:
Use decimals in the conversions (25% = 0.25). The margin calculator and markup calculator solve for any missing value.
Worked example
You buy a jacket wholesale for $40 and sell it for $60.
- Gross profit: $60 − $40 = $20
- Markup: $20 ÷ $40 = 50%
- Margin: $20 ÷ $60 = 33.33%
- Check with the conversion: 0.50 ÷ 1.50 = 0.3333, which matches
Margin is always the smaller number because the price is always larger than the cost when you make a profit.
Markup to margin conversion chart
| Markup | Margin | Price for a $100 cost |
|---|---|---|
| 10% | 9.09% | $110 |
| 20% | 16.67% | $120 |
| 25% | 20.00% | $125 |
| 33.33% | 25.00% | $133.33 |
| 50% | 33.33% | $150 |
| 75% | 42.86% | $175 |
| 100% | 50.00% | $200 |
| 150% | 60.00% | $250 |
| 200% | 66.67% | $300 |
| 300% | 75.00% | $400 |
Margin to markup conversion chart
| Target margin | Required markup | Price for a $100 cost |
|---|---|---|
| 10% | 11.11% | $111.11 |
| 20% | 25.00% | $125.00 |
| 25% | 33.33% | $133.33 |
| 30% | 42.86% | $142.86 |
| 40% | 66.67% | $166.67 |
| 50% | 100.00% | $200.00 |
| 60% | 150.00% | $250.00 |
| 70% | 233.33% | $333.33 |
Pricing to hit a target margin
If you know the margin you need, divide the cost by (1 − margin):
For a 40% margin on a $40 cost: $40 ÷ 0.60 = $66.67.
The tempting shortcut, $40 × 1.40 = $56, applies a 40% markup, and the margin is only $16 ÷ $56 = 28.6%. On $500,000 of annual sales, that difference between a 40% and a 28.6% margin is about $57,000 of gross profit. The price calculator and selling price calculator solve for price from either a markup or a margin.
Why businesses use one or the other
- Markup is convenient on the buying side. A retailer can apply a standard markup to every invoice cost, and keystone pricing (doubling the cost, a 100% markup) is a long-standing retail habit.
- Margin is what appears on financial statements. Gross margin on an income statement is gross profit ÷ revenue, so lenders, investors and accountants think in margin. Budgets and targets are usually set in margin terms.
Pick one convention for your team and label it clearly. “We need 30%” means very different prices depending on which one you mean.
Gross, operating and net margin
The margin in this guide is gross margin: it subtracts only the direct cost of the item. Other margins go further down the income statement:
| Margin | Formula | What it shows |
|---|---|---|
| Gross margin | (Revenue − cost of goods sold) ÷ revenue | Profit on the products themselves |
| Operating margin | Operating income ÷ revenue | After rent, wages, marketing and other operating costs |
| Net margin | Net income ÷ revenue | After interest and taxes; what is left for owners |
A product can have a healthy 50% gross margin while the business has a thin net margin once overhead is paid. The profit margin calculator works out all three. To see how many units you must sell to cover overhead, read how to calculate a break-even point.
How discounts eat margin
Discounts come straight out of profit, not out of cost. Take the $66.67 price with a 40% margin and run a 20% off sale:
- Sale price: $66.67 × 0.80 = $53.33
- Profit: $53.33 − $40 = $13.33 (down from $26.67)
- Margin: $13.33 ÷ $53.33 = 25%
Profit per unit is cut in half, so you must sell twice as many units just to earn the same gross profit. Before running a promotion, divide the old profit per unit by the new one to see the sales lift you need.
Markups along a supply chain
Markups compound as goods move from maker to shelf. Suppose a manufacturer’s cost is $20 and it sells to a distributor at a 50% markup ($30). The distributor adds 30% ($39), and the retailer applies keystone pricing, doubling it to $78. Each business earns a respectable margin (33.3%, 23.1% and 50%), yet the shelf price is 3.9 times the original cost. This is why cutting out one layer, by buying direct or selling direct, can change the economics so much.
Services: billing rate vs. labor cost
The same math applies to labor. A contractor pays a technician $35 an hour including payroll taxes and benefits and bills the customer $75 an hour. The markup on labor is $40 ÷ $35 = 114%, but the margin is $40 ÷ $75 = 53%. That 53% still has to cover unbilled hours, vehicles, insurance, software and office staff, so service businesses often need gross margins well above what a retailer would consider healthy.
Common mistakes
- Using a markup percentage when you meant margin. It underprices every item.
- Calculating margin on cost. Margin is always divided by price.
- Leaving out landed costs. Freight, duties, packaging and payment processing fees belong in cost; leaving them out inflates both markup and margin.
- Forgetting shrink and returns. Damaged, stolen or returned goods reduce the margin you actually realize.
- Comparing your markup with an industry margin. Industry benchmarks are almost always gross margins.
Quick reference
- Know cost and price? Markup = profit ÷ cost; margin = profit ÷ price.
- Know cost and target margin? Price = cost ÷ (1 − margin).
- Know cost and markup? Price = cost × (1 + markup).
- Know price and margin? Cost = price × (1 − margin).
Sales tax is added on top of the price and does not count toward margin; see how to calculate sales tax.
This guide is for general business education and is not financial or accounting advice. For pricing strategy and financial statements specific to your business, consult an accountant.
Frequently asked questions
Is a 50% markup the same as a 50% margin?
No. A 50% markup on a $40 item gives a $60 price and a 33.3% margin. A 50% margin requires a $80 price, which is a 100% markup. Margin is always smaller than markup for the same sale.
How do I convert markup to margin?
Margin = markup ÷ (1 + markup). A 25% markup is 0.25 ÷ 1.25 = 20% margin. To go the other way, markup = margin ÷ (1 − margin), so a 40% margin is 0.40 ÷ 0.60 = 66.7% markup.
How do I price a product for a 40% margin?
Divide the cost by 1 minus the margin: price = cost ÷ (1 − 0.40). For a $40 cost, that is $40 ÷ 0.60 = $66.67. Multiplying cost by 1.40 gives $56, which is only a 28.6% margin.
Can margin be more than 100%?
No. Margin is profit as a share of the selling price, so it approaches but never reaches 100% (that would require a cost of zero). Markup has no upper limit; a $5 item sold for $20 has a 300% markup and a 75% margin.
What is keystone pricing?
Keystone pricing is a retail convention of doubling the wholesale cost to set the price, a 100% markup. It produces a 50% gross margin before any discounts or markdowns.