Markup Calculator
Enter any two numbers and get the markup percentage, margin, selling price and profit instantly, with the working shown step by step.
- Markup and margin in one place
- Real profit after fees
- Discount check
- Free Excel version
Enter any two numbers
The other two fill in by themselvesExample: enter a cost and a markup to get the selling price, or a cost and a selling price to get the markup and margin.
Know the price but not the cost?
Percent of the selling price.
Percent of the selling price.
Markup
50.00%
Profit of $20.00 on every unit
Where each sale goes
- Cost$0
- Fees$0
- Tax$0
- Profit$0
How we got this
Built and checked by Ahmad Hussain, AI specialist and finance professional. Last reviewed .
How to calculate markup, margin and selling price
Markup tells you how much you add on top of what a product costs you. This guide shows the markup formula with worked examples, how markup and margin differ, ready conversion tables, how to work backwards to the cost, and what fees and discounts really do to your profit.
On this page
- How to use the calculator
- What markup is
- How to calculate markup percentage
- Selling price from markup
- Markup vs margin
- Markup to margin chart
- Reverse markup
- Retail markup and keystone
- Labor and parts markup
- Fees and your real markup
- What a discount does
- Common mistakes
- Markup in your P and L
- Free Excel version
- FAQ
01How do you use the markup calculator?
Type any two of the four numbers: cost, selling price, markup or gross margin. The calculator fills in the other two, shows your profit per unit and explains every step under "How we got this". Open the extra sections to add fees, shipping and tax, or to test a discount.
- Pick your currency. It only changes the symbol. The math is the same in any currency.
- Enter two numbers. A cost and a markup give you the selling price. A cost and a selling price give you the markup and the margin. A price and a margin give you the most you can pay for the item. Fields you typed say "You entered", the others say "Calculated".
- Use a quick markup. Tap 25%, 40%, 50%, 75% or 100% to try a common markup on your cost in one click.
- Add real costs. Open "Add fees, shipping and tax" to see the profit you actually keep and the price you would need to charge to keep your markup.
- Check a discount. Move the slider to see the profit and margin left after a sale, and how many more units you would need to sell to earn the same profit.
Tip: the numbers already in the calculator are an example: a $40 cost and a 50% markup. Replace them with your own figures.
02What is markup?
Markup is the amount you add to the cost of a product to get its selling price, written as a percentage of the cost. If an item costs you $40 and you sell it for $60, you added $20, which is a 50% markup.
Markup % = (Selling price − Cost) / Cost × 100
Selling price = Cost × (1 + Markup %)
Profit per unit = Selling price − Cost
How a price is built
Every price has two parts: what the item costs you, and what you add on top. The cost is what you pay to buy or make one unit. The part you add has to pay for everything else, such as rent, wages, software and marketing, and still leave a profit. Markup is simply the size of that added part, compared with the cost.
Why businesses use markup
Markup is quick. You know your cost the moment an invoice arrives, so you can multiply it by one number and have a price. It also keeps pricing consistent across hundreds of items, which is why shops, wholesalers and contractors often set a standard markup for each product group.
Where markup falls short
Markup only looks at the cost of the item. It does not know about your fees, shipping, discounts or overheads, and it does not tell you what share of each sale you keep. For that you need the margin, and for the real picture you need the fees and discount checks in the calculator above.
03How do you calculate markup percentage?
Subtract the cost from the selling price, divide the result by the cost and multiply by 100. For an item that costs $40 and sells for $60, the markup is ($60 − $40) / $40 × 100 = 50%.
- Find the profit per unit. $60 selling price − $40 cost = $20.
- Divide by the cost. $20 / $40 = 0.5.
- Turn it into a percentage. 0.5 × 100 = 50% markup.
The same item has a gross margin of 33.33%, because the $20 profit is one third of the $60 price. That is why the calculator always shows both numbers side by side: they describe the same sale from two different starting points.
04How do you find the selling price from a markup?
Multiply the cost by one plus the markup written as a decimal. A 40% markup on a $50 cost gives a selling price of $50 × 1.40 = $70, a profit of $20 and a gross margin of 28.57%.
The number you multiply by is called the markup multiplier. Once you know it, applying a price markup to a whole price list is one multiplication per item. Here are common markups on a $50 cost:
| Markup | Multiplier | Price on a $50 cost | Gross margin |
|---|---|---|---|
| 10% | 1.10 | $55.00 | 9.09% |
| 20% | 1.20 | $60.00 | 16.67% |
| 25% | 1.25 | $62.50 | 20.00% |
| 30% | 1.30 | $65.00 | 23.08% |
| 40% | 1.40 | $70.00 | 28.57% |
| 50% | 1.50 | $75.00 | 33.33% |
| 75% | 1.75 | $87.50 | 42.86% |
| 100% | 2.00 | $100.00 | 50.00% |
| 150% | 2.50 | $125.00 | 60.00% |
| 200% | 3.00 | $150.00 | 66.67% |
05What is the difference between markup and margin?
Markup compares your profit with the cost. Margin compares the same profit with the selling price. On a $40 item sold for $60, the $20 profit is a 50% markup but a 33.33% margin. Markup is always the bigger number, and margin can never reach 100%.
Profit / Cost. Starts from what you paid. Handy for setting prices from a supplier invoice.
$20 / $40 = 50%
Profit / Selling price. Starts from what the customer pays. Matches the gross margin on your profit and loss statement.
$20 / $60 = 33.33%
Margin = Markup / (1 + Markup)
Markup = Margin / (1 − Margin)
Getting margin vs markup wrong is one of the most common pricing errors. If your accountant says you need a 30% margin and you add a 30% markup, you end up with a 23.08% margin and less profit than you planned. Section 12 shows this with real numbers.
06Markup to margin chart and margin to markup table
Use these two tables to switch between markup and margin without a calculator. A 25% markup is a 20% margin, a 50% markup is a 33.33% margin and a 100% markup is a 50% margin. Going the other way, a 30% margin needs a 42.86% markup and a 50% margin needs a 100% markup.
Markup to margin
| Markup | Gross margin | Markup | Gross margin |
|---|---|---|---|
| 10% | 9.09% | 60% | 37.50% |
| 20% | 16.67% | 75% | 42.86% |
| 25% | 20.00% | 100% | 50.00% |
| 30% | 23.08% | 150% | 60.00% |
| 40% | 28.57% | 200% | 66.67% |
| 50% | 33.33% | 300% | 75.00% |
Margin to markup
| Target margin | Markup needed | Price on a $70 cost |
|---|---|---|
| 10% | 11.11% | $77.78 |
| 20% | 25.00% | $87.50 |
| 25% | 33.33% | $93.33 |
| 30% | 42.86% | $100.00 |
| 40% | 66.67% | $116.67 |
| 50% | 100.00% | $140.00 |
| 60% | 150.00% | $175.00 |
| 75% | 300.00% | $280.00 |
07How do you reverse a markup to find the cost?
To reverse a markup, divide the selling price by one plus the markup. An item that sells for $70 with a 40% markup cost $70 / 1.40 = $50. If you know the margin instead, multiply the price by one minus the margin: a $100 price at a 30% margin means a cost of $70.
Cost from markup = Selling price / (1 + Markup %)
Cost from margin = Selling price × (1 − Margin %)
This is useful when the market sets the price. If similar products sell for $70 and you need a 40% markup, the most you can pay your supplier is $50. In the calculator, tap "Find the cost instead", then enter the selling price and the markup or margin you need.
Do not just subtract the percentage. Taking 40% off $70 gives $42, not $50, because the 40% markup was worked out on the cost, not on the price.
08What is retail markup and keystone pricing?
Retail markup is the markup a shop adds to the wholesale cost of a product. Keystone pricing is the simplest version: double the cost. A 100% markup turns a $25 wholesale cost into a $50 retail price and gives a 50% gross margin.
Keystone is a starting point, not a rule. Fast-moving everyday products often carry a smaller markup and make their money on volume. Slow sellers, fragile items and products that need a lot of help to sell often need more. The right retail markup is the one that covers the cost of the item, your share of overheads and the discounts you expect to give, and still leaves a profit.
- Keystone: price = cost × 2. A 100% markup and a 50% margin.
- Keystone plus: double the cost, then add a fixed amount to cover shipping or handling.
- Below keystone: a lower markup, for example 50% (a 33.33% margin), to compete on price.
09How do you mark up labor and parts?
Treat labor and parts as two separate costs and mark up each one. A part that costs you $80 with a 30% markup is billed at $104. Labor that costs you $40.49 an hour with a 50% markup is billed at $60.74 an hour.
Contractors in trades such as HVAC, plumbing and electrical often use a different markup for parts and for labor, because the two carry different costs and risks. For parts, the cost is the supplier price plus anything you pay to get the part to the job. For labor, the cost is not the hourly wage alone. It also includes employer taxes, benefits, equipment and the hours that cannot be billed.
| Line | Your cost | Markup | Billed price |
|---|---|---|---|
| Part | $80.00 | 30% | $104.00 |
| Labor, per hour | $40.49 | 50% | $60.74 |
To find your true cost per hour of labor, use our employee cost calculator, then enter that figure as the cost here.
10How do fees shrink your real markup?
Fees are charged on the selling price, so they eat into the profit your markup was meant to deliver. An item that costs $24 and sells for $48 looks like a 100% markup, but with a 15% marketplace fee and a 3% payment fee you keep $15.36, a real markup of only 64%.
| Line | Amount |
|---|---|
| Selling price | $48.00 |
| Cost of the item | −$24.00 |
| Marketplace fee, 15% of $48 | −$7.20 |
| Payment fee, 3% of $48 | −$1.44 |
| Profit you keep | $15.36 |
| Real markup | 64% ($15.36 / $24) |
To keep a real 100% markup after those fees, the price has to be $58.54. The formula is (cost × (1 + markup) + fixed fees) / (1 − percentage fees), so ($24 × 2) / 0.82 = $58.54. The calculator does this for you when you open "Add fees, shipping and tax".
If your price already includes VAT or sales tax, tick the tax box. The calculator then takes the tax out of the price before working out your profit, because that money belongs to the tax office, not to you.
11What does a discount do to your profit?
A discount comes straight out of your profit, not out of your cost. A $40 item sold at $60 makes $20. Take 25% off and the price drops to $45, so the profit falls to $5 and the margin to 11.11%. You would need to sell four times as many units, 300% more, to earn the same profit.
Price $60, cost $40.
Profit $20, margin 33.33%
Price $45, cost $40.
Profit $5, margin 11.11%
The discount check in the calculator is open by default so you can test this on your own numbers. If the discount is bigger than your margin, the calculator warns you that every sale loses money.
12What are the most common markup mistakes?
The biggest mistakes are using a markup when you needed a margin, subtracting a percentage to reverse a markup, averaging markups across products, and forgetting fees and discounts. Each one makes your profit look bigger than it really is.
- Using markup for a margin target. You need a 30% margin on a $70 cost. A 30% markup gives $91, which is only a 23.08% margin. The right price is $70 / 0.70 = $100.
- Discounting by your markup. A $40 item marked up 50% to $60 and then sold at 50% off goes for $30, a loss of $10 on every sale.
- Reversing a markup by subtracting. 40% off a $70 price is $42, but the real cost behind a 40% markup is $50.
- Averaging markups. One product costs $10 and sells for $20 (100% markup). Another costs $90 and sells for $108 (20%). The simple average is 60%, but together they cost $100 and sell for $128, a 28% markup.
- Leaving out the costs of each sale. Shipping, packaging and platform or payment fees are real costs. Add them in the fees section.
13Where does markup show up in your profit and loss?
Your profit and loss statement does not show markup. It shows revenue, cost of goods sold and gross profit, and gross profit divided by revenue is your gross margin. Selling 1,000 units at $60 that cost $40 gives $60,000 of revenue, $40,000 of cost of goods sold and $20,000 of gross profit, a 33.33% gross margin.
That is why it helps to set prices with markup but check results with margin. If the gross margin on your statement is lower than the margin your markups should deliver, look for discounts, fees, damaged stock or a product mix that leans towards low-markup items.
Markup also links to how fast your stock sells. A product with a small markup can still be very profitable if it sells many times a year. Our guide to the inventory turnover ratio explains how to measure that.
14Is there a markup calculator in Excel?
Yes. Download the free Excel version below. It works out the selling price from a markup, the markup and margin from a price, the real profit after fees, the effect of a discount, and includes a markup to margin table. It also opens in Google Sheets.
In Excel, the markup formula is =(B2-B1)/B1 when the cost is in B1 and the price is in B2. The selling price from a markup in B3 is =B1*(1+B3), and the margin is =(B2-B1)/B2. Format the markup and margin cells as percentages.
Yellow cells are inputs. Every result is a live formula you can check.
?Frequently asked questions
How do you calculate markup percentage?
Subtract the cost from the selling price, divide the answer by the cost and multiply by 100. An item that costs $40 and sells for $60 has a $20 profit, and $20 divided by $40 is 0.5, so the markup is 50%. The calculator on this page shows each of these steps under How we got this.
What is the formula for selling price from markup?
Selling price equals cost multiplied by one plus the markup as a decimal. A 40% markup on a $50 cost gives $50 times 1.40, which is $70. The number you multiply by, here 1.40, is the markup multiplier, and it lets you price a whole list of items with one multiplication each.
What is the difference between markup and margin?
Markup divides your profit by the cost, while margin divides the same profit by the selling price. A $40 item sold for $60 makes $20, which is a 50% markup but a 33.33% margin. Markup is always the larger number, and margin can never reach 100%, however high the price goes.
How do I convert margin to markup?
Divide the margin by one minus the margin. For a 30% margin, the markup is 0.30 divided by 0.70, which is 42.86%. For a 50% margin, the markup is 0.50 divided by 0.50, which is 100%. The margin to markup table on this page lists the most common targets for you.
How do I convert markup to margin?
Divide the markup by one plus the markup. A 50% markup becomes 0.50 divided by 1.50, which is a 33.33% margin, and a 25% markup becomes a 20% margin. A 100% markup always gives a 50% margin, because the profit is exactly half of the selling price.
What is a 40% markup?
A 40% markup means you sell an item for 1.4 times what it cost you. A $50 cost becomes a $70 price with a $20 profit. That gives a gross margin of 28.57%, not 40%, because the $20 profit is measured against the $70 price. Tap 40% in the calculator to apply it to your cost.
What does a 100% markup mean?
A 100% markup means the selling price is double the cost, so a $25 item sells for $50. In retail this is often called keystone pricing. It gives a gross margin of 50%, because half of every sale covers the cost of the item and the other half is gross profit.
Can markup be more than 100%?
Yes. Markup has no upper limit, so a product that costs $10 and sells for $35 has a 250% markup. Gross margin works differently. It can get close to 100% as the price rises, but it can never reach it, because the cost always takes some part of the selling price.
How do I reverse a markup to find the cost?
Divide the selling price by one plus the markup. A $70 price with a 40% markup means the cost was $70 divided by 1.40, which is $50. Do not simply take 40% off the price, which gives $42. In the calculator, tap Find the cost instead and enter the price and markup.
What is a good markup percentage?
There is no single right number. A good markup covers the cost of the item, your fees, the discounts you expect to give and your share of overheads, and still leaves a profit. Work backwards from the margin your business needs, then use the margin to markup table or the calculator to find the markup that delivers it.
Should shipping and fees be included in cost?
Yes, if you want to know your real profit. Any cost you pay for each unit you sell, such as shipping, packaging and marketplace or payment fees, reduces what you keep. Open Add fees, shipping and tax in the calculator to include them and see the price that keeps your markup.
More free business calculators
Break Even Calculator
Units and sales you need to cover costs, with target profit and product mix.
Open calculatorEmployee Cost Calculator
True yearly cost of an employee and the real cost of each hour worked.
Open calculatorEBITDA Calculator
EBITDA, margin, adjusted EBITDA and what a business could sell for.
Open calculatorInventory Turnover Ratio
How fast your stock sells, how to calculate it and how to improve it.
Read the guideNeed a calculator we do not have yet?
Tell us what you want to work out and we will consider it for our next free tool.
Suggest a calculator