Markup calculator
Enter what something costs you and a markup, and get the selling price, the profit and the margin. Or type a price or a margin and work backwards. Markup and margin aren't the same number, and this shows both.
What the item costs you.
Profit as a share of cost.
Type a price to work backwards.
Profit as a share of the selling price.
- Selling price
- 70.00
- Profit
- 20.00
- Markup
- 40.00%
- Margin
- 28.57%
Enter the cost and any one of markup, selling price or margin. The other two follow. The calculation runs in your browser.
How to use the calculator
- Enter the cost: what you pay for the item, or what it costs you to make.
- Enter a markup percentage. The selling price, profit and margin appear.
It also works backwards. Type a selling price and it tells you the markup and margin you're getting. Type a margin and it tells you the price you need to charge and what markup that is.
The markup formula
Markup is your profit as a percentage of the cost.
markup = (selling price − cost) ÷ cost × 100
To get a selling price from a markup:
selling price = cost × (1 + markup ÷ 100)
Something that costs $50 with a 40% markup sells for $50 × 1.4 = $70. The profit is $20.
The margin formula
Margin is the same profit as a percentage of the selling price.
margin = (selling price − cost) ÷ selling price × 100
To get a selling price from a margin you want:
selling price = cost ÷ (1 − margin ÷ 100)
That $70 sale with $20 profit has a margin of $20 ÷ $70 = 28.57%.
Markup vs margin
They describe the same profit from two sides. Markup compares it with what you paid. Margin compares it with what the customer paid.
| Markup | Margin | |
|---|---|---|
| Profit divided by | Cost | Selling price |
| On a $50 cost and $70 price | 40% | 28.57% |
| Can it go above 100%? | Yes | No |
| Used for | Setting prices from costs | Reading how profitable a sale or a business is |
Margin is always the smaller number, because the selling price is bigger than the cost.
Mixing them up is the classic pricing mistake. If you want a 40% margin and add a 40% markup, you end up with a 28.57% margin and less profit than you planned. To make a 40% margin on a $50 cost, the price has to be $50 ÷ 0.6 = $83.33, which is a markup of 66.67%.
Markup to margin table
| Markup | Margin | Price for a cost of 100 |
|---|---|---|
| 10% | 9.09% | 110.00 |
| 15% | 13.04% | 115.00 |
| 20% | 16.67% | 120.00 |
| 25% | 20.00% | 125.00 |
| 30% | 23.08% | 130.00 |
| 40% | 28.57% | 140.00 |
| 50% | 33.33% | 150.00 |
| 60% | 37.50% | 160.00 |
| 75% | 42.86% | 175.00 |
| 100% | 50.00% | 200.00 |
| 150% | 60.00% | 250.00 |
| 200% | 66.67% | 300.00 |
| 300% | 75.00% | 400.00 |
Margin to markup table
The markup you need to reach a margin:
| Margin you want | Markup to apply |
|---|---|
| 10% | 11.11% |
| 20% | 25.00% |
| 25% | 33.33% |
| 30% | 42.86% |
| 40% | 66.67% |
| 50% | 100.00% |
| 60% | 150.00% |
| 70% | 233.33% |
| 75% | 300.00% |
| 80% | 400.00% |
| 90% | 900.00% |
To convert one into the other directly:
margin = markup ÷ (100 + markup) × 100
markup = margin ÷ (100 − margin) × 100
How to find the markup percentage
If you know the cost and the price and want the markup:
- Subtract the cost from the price to get the profit.
- Divide the profit by the cost.
- Multiply by 100.
Bought for $12, sold for $18: the profit is $6, and $6 ÷ $12 × 100 = 50% markup.
What counts as cost
The answer is only as good as the cost you put in.
- For a product you resell, it's what you paid for it, plus shipping to you, plus any per-item fees
- For a product you make, it's materials and the labour that goes into each one
- For a service, it's the cost of the hours
Fixed costs like rent and salaries aren't in a markup calculation. They're paid out of the total profit across everything you sell, which is why a healthy markup on each sale can still leave a business losing money.
Two things eat into margin after the sale and are easy to forget:
- Payment fees. A card processor takes a percentage plus a fixed fee per transaction. The fee calculator shows what's left on each platform
- Sales tax and VAT. If your price includes VAT, part of it was never yours. The VAT calculator takes it out
Markup when the cost is almost nothing
Software, ebooks, courses and other digital products break the usual logic. Making one more copy costs close to nothing, so markup on unit cost is meaningless: a $49 app with a few cents of delivery cost has a markup in the tens of thousands of percent.
For those, price is set by what the product is worth to the customer and what alternatives cost, and the numbers to watch are different:
- What you keep after payment fees and tax
- Whether that covers the fixed cost of building and supporting the product
- Whether the price is right in each country, which the purchasing power parity calculator helps with
The guide to selling software online covers that side. To judge a whole project and not a single sale, the ROI calculator compares what you put in with what came back.
Common questions about markup
How do I calculate markup?
Subtract the cost from the selling price, divide by the cost, and multiply by 100. A $40 item sold for $60 has a markup of ($60 − $40) ÷ $40 × 100 = 50%.
What is the difference between markup and margin?
Markup is profit divided by cost. Margin is profit divided by selling price. A 50% markup is a 33.33% margin: same sale, same profit, different base.
How do I calculate selling price from cost and markup?
Multiply the cost by one plus the markup. With a 25% markup on $80: $80 × 1.25 = $100.
How do I calculate selling price from cost and margin?
Divide the cost by one minus the margin. For a 25% margin on $80: $80 ÷ 0.75 = $106.67.
What is a 100% markup?
Doubling the cost. Something that costs $20 sells for $40. That's a 50% margin.
Is a 50% markup the same as a 50% margin?
No. A 50% markup gives a 33.33% margin. A 50% margin needs a 100% markup.
Can markup be more than 100%?
Yes. Any price more than double the cost has a markup over 100%. Margin can't reach 100%, because that would mean the item cost nothing.
What is a good markup?
It depends entirely on the business. Shops selling physical goods at high volume work on low markups, and products with high fixed costs and low unit costs, like software, work on very high ones. The useful question is whether the total profit covers your fixed costs.
How do I convert margin to markup?
Divide the margin by 100 minus the margin, and multiply by 100. A 30% margin is 30 ÷ 70 × 100 = 42.86% markup.