This markup calculator finds markup (profit ÷ cost), gross margin (profit ÷ price) and profit from your cost and selling price: a $40 item sold for $70 has a 75% markup and a 42.9% margin. You can also set a price from a target markup, convert margin to markup, or see what an online order keeps after shipping, payment fees and returns.
Free
No sign-up
Runs in your browser
Your markup
75.0%
Selling at $70.00 is a 75.0% markup on cost and keeps $30.00 a unit.
The same $30.00 profit, two percentages
Markup: ÷ $40.00 cost75.0%
Margin: ÷ $70.00 price42.9%
Gross margin
42.9%
Profit per unit
$30.00
Estimates from the numbers you enter, not a forecast. Nothing you type is sent to us.
Example numbers 75.0% markup
Selling online and want more of those orders from search?
We send you a recorded walkthrough within 2 business days.
Take an example item that costs $40 and sells for $70. The profit is $30, and 30 ÷ 40 = 0.75, so the markup is 75%. Run it the other way and you get the same answer: 40 × 1.75 = $70. The first two tabs of the calculator do exactly these sums, and both show the gross margin as well, so you can see the two numbers together.
Worked examples (example products)
Cost
Selling price
Profit
Markup
Gross margin
$40
$48
$8
20%
16.7%
$40
$60
$20
50%
33.3%
$40
$70
$30
75%
42.9%
$40
$80
$40
100%
50%
$40
$120
$80
200%
66.7%
Markup vs margin: the difference, and how to convert
Both describe the same profit. Markup compares it with what the item cost you; gross margin compares it with what the customer paid. Whenever the price is above the cost, the margin is the smaller percentage.
The Margin to markup tab does the first conversion for any figure you enter, and shows the price for every 100 of cost. Read the first two columns the other way for the reverse: a 100% markup is a 50% margin, and a 25% markup is a 20% margin.
How to price a product for the margin you want
Divide the cost by one minus the margin. The tempting shortcut, multiplying the cost by one plus the margin, applies the margin as a markup and leaves you short.
Aiming for a 30% margin on a $40 cost
Method
Sum
Price
Margin you get
Wrong: cost × (1 + margin)
40 × 1.3
$52
23.1%
Right: cost ÷ (1 − margin)
40 ÷ 0.7
$57.14
30%
The gap is $5.14 on every unit. Across 1,000 units that is about $5,143 of profit given away by using the wrong formula. If your accountant or investors talk about margin, set prices with the second line, or enter the margin in the Margin to markup tab and use the markup it gives you.
Markup for online sellers: shipping, fees and returns
A markup worked out on product cost alone overstates what an online order leaves you. Three costs come out of almost every order: the shipping you pay, the payment fee (usually a percentage plus a fixed amount), and the cost of returns. The What you keep online tab counts all three.
What the online tab calculates
Payment fees = selling price × fee % + fixed fee
Profit per order = (1 − return rate) × (selling price − product cost) − shipping − payment fees
Margin you keep = profit per order ÷ selling price
Markup on total cost = profit per order ÷ ((1 − return rate) × product cost + shipping + payment fees)
Break-even price = ((1 − return rate) × product cost + shipping + fixed fee) ÷ ((1 − return rate) − fee %)
The online tab models returns like this: a returned order is refunded and the item goes back into stock, but the shipping and the payment fee are not recovered. Stripe, for example, says the processing fees from the original transaction are not returned on a refund (Stripe pricing). If returns cost you more, such as a return label you pay for or stock you cannot resell, add the average extra cost per order to the shipping field.
An example online store: a $70 product that costs $30, with Stripe's standard US card fee of 2.9% + 30¢ (checked 5 Nov 2026)
Line
Product cost only
With shipping, fees and 5% returns
Selling price
$70.00
$70.00
Product cost
$30.00
$30.00
Product profit after returns
$40.00
0.95 × $40 = $38.00
Shipping you pay
$6.00
Payment fees
$70 × 2.9% + $0.30 = $2.33
Total cost per order
$30.00
0.95 × $30 + $6.00 + $2.33 = $36.83
Profit per order
$40.00
$29.67
Margin you keep
57.1%
42.4%
Markup
133.3% on product cost
80.6% on total cost
Break-even price
$30.00
$37.79
The product looks like a 133% markup and a 57% margin, but the order keeps 42.4%. That lower figure is the one to plan ads and discounts around. Below $37.79, each order loses money once shipping, fees and returns are counted.
Common markup and pricing mistakes
Quoting markup as margin. A supplier's “50% markup” is a 33.3% margin, not 50%.
Pricing for a margin with cost × (1 + margin). Divide by (1 − margin) instead, as shown above.
Leaving out shipping, card fees and returns. On the example store they take the margin from 57.1% to 42.4%.
Using the supplier's price as the cost. Add the freight, duties and packaging you pay to get the item ready to sell.
Discounting without checking the profit. A 20% discount on the $70 example item takes the price to $56 and the profit from $30 to $16, so you need 87.5% more sales to make the same profit.
Forgetting the cost of getting the order. If ads bring the sale, the ad cost per order comes out of the margin you keep too.
What to do with your margin
Your margin you keep sets how much you can spend to win each order. Break-even ROAS is 1 ÷ margin, so at the example store's 42.4% every $1 of ads must bring in about $2.36 of sales just to cover itself. The ROAS Calculator works out the target for the profit you want.
Orders from search don't carry a cost per click, which is why many online stores put effort into ranking their product and category pages. Ecommerce SEO covers that work, and a free audit shows where your store stands today. If visitors arrive but don't buy, start with what makes a good landing page.
The short answers
What you need to know.
How do you calculate markup percentage?
Markup = (selling price − cost) ÷ cost × 100. A product that costs $40 and sells for $70 makes $30 of profit, and 30 ÷ 40 = 0.75, a 75% markup. Use the full cost of the item to you, including what you paid to have it delivered to you, not just the supplier's price.
What is the difference between markup and margin?
Markup divides the profit by the cost; gross margin divides the same profit by the selling price. On the $40 product sold for $70, the $30 profit is a 75% markup but a 42.9% margin. On any profitable sale markup is the bigger number, which is why mixing them up leads to prices that are too low.
To convert: markup = margin ÷ (1 − margin), and margin = markup ÷ (1 + markup). A 30% margin needs a 42.9% markup; a 50% markup gives a 33.3% margin.
How do you calculate selling price from cost and markup?
Selling price = cost × (1 + markup). A $40 item with a 75% markup sells for 40 × 1.75 = $70. To price for a margin instead, divide: price = cost ÷ (1 − margin), so a 30% margin on a $40 cost is 40 ÷ 0.7 = $57.14.
What is a good markup for a small business?
One that leaves profit after every cost a sale brings, so there is no single right figure. A shop that pays for shipping, card fees, returns and ads needs a bigger markup than one that sells in person with none of those. Use the What you keep online mode to see the margin left on each order, and set your markup from that.
The amount you add to what an item costs you to set its selling price, usually shown as a percentage of the cost. An item that costs $40 and sells for $70 has a $30 markup, which is 75% of the cost.
Is it markup or mark up?
Both, in different places. Markup, one word, is the noun: the amount added to cost, such as a 75% markup. Mark up, two words, is the verb: you mark up a price. A mark up calculator and a markup calculator do the same sum: profit ÷ cost × 100.
How do I convert margin to markup?
Markup = margin ÷ (1 − margin). A 30% margin is 0.3 ÷ 0.7 = 42.9% markup, a 40% margin is 66.7% and a 50% margin is 100%.
How do I convert markup to margin?
Margin = markup ÷ (1 + markup). A 75% markup is 0.75 ÷ 1.75 = 42.9% margin, and a 100% markup is a 50% margin.
Is a 50% markup the same as a 50% margin?
No. A 50% markup on a $40 cost gives a $60 price and a 33.3% margin. A 50% margin on the same cost needs an $80 price, which is a 100% markup.
How do I add a 20% markup?
Multiply the cost by 1.2. A $40 item with a 20% markup sells for $48, a profit of $8 and a margin of 16.7%.
What is keystone pricing?
Setting the price at double the cost: a 100% markup, which is a 50% gross margin. It is a quick rule of thumb, but it ignores shipping, fees and returns, so check what it leaves you with.
Can markup be more than 100%?
Yes. Markup has no ceiling: a $10 item sold for $35 has a 250% markup. Margin can never reach 100%, because that would mean the item cost nothing.
Should shipping and payment fees count as cost?
Yes, if you pay them on every order. The What you keep online mode takes off the shipping you pay, a percentage fee and a fixed fee per order, so the margin it shows is the one you actually keep.
How do returns affect my margin?
On a returned order you refund the price, but the shipping you paid and usually the payment fee are gone. The online mode assumes the item goes back into stock, so it removes the product profit on that share of orders and still counts shipping and fees on every order.
What payment fee should I enter?
The rate on your own payment provider's statement. As an example, Stripe's standard US online card fee was 2.9% plus 30 cents per successful transaction for domestic cards when we checked on 5 November 2026, with 1.5% more for international cards.
Is my data stored anywhere?
Not by us. The calculator runs in your browser, and nothing you type is sent to us. Your numbers stay in this tab until you close it, and this browser keeps them for 90 days only if you turn on Remember on this device.
A useful next conversation
Want to know what AI says about your business?
The tools show what is on your site. Our free audit looks at how ChatGPT, Google and Perplexity describe you, and what we would fix first. We send you a recorded walkthrough within 2 business days.