Sheetwren

Markup vs Margin Calculator

Updated December 5, 2026 · US rates

Quick answer

Markup is profit divided by cost; margin is profit divided by price. A 50% markup on a $10 cost gives a $15 price and a 33.3% margin, because $5 profit is a third of $15. To get a 40% margin you need a 66.7% markup. Use the calculator to convert between them in either direction.

Mixing up markup and margin is the most common pricing mistake in small business. Pick what you know, enter two numbers and see price, profit, markup and margin together.

Loading calculator… (it needs JavaScript; the worked example below shows the math.)

See margin on every product at once. The Seller Profit & Fee Calculator + Inventory Tracker gives profit, margin and the price for your target margin for every item, after platform fees and shipping.

Get the seller template — $12

How to use this calculator

  1. Choose which two numbers you already know in the "I know" menu.
  2. Fill in only the fields for that mode. The others are ignored.
  3. Read the price, profit, markup and margin in the results.
  4. Use the margin result when comparing against platform fees, because fees are charged on price, not cost.

Worked example

Your cost is $10 and you add a 50% markup: price = $10 × 1.5 = $15.00, profit is $5, markup is 50% and margin is 33.3%.

Going the other way, if you want a 40% margin on a $10 cost, price = $10 ÷ (1 − 0.40) = $16.67, which is a 66.7% markup, not 40%. Adding 40% to cost would only give $14.00 and a 28.6% margin.

MarkupMarginPrice on $10 cost
25%20.0%$12.50
50%33.3%$15.00
75%42.9%$17.50
100%50.0%$20.00
150%60.0%$25.00
200%66.7%$30.00

The formulas

  • Markup % = (price − cost) ÷ cost × 100
  • Margin % = (price − cost) ÷ price × 100
  • Price from markup = cost × (1 + markup)
  • Price from margin = cost ÷ (1 − margin)
  • Margin from markup = markup ÷ (1 + markup); markup from margin = margin ÷ (1 − margin)

Margin can never reach 100%, but markup has no ceiling. Retail and ecommerce people usually talk in margin (it matches how fees and profit show up on a P&L); wholesalers and some trades quote markup because it is easy to apply to a cost sheet.

This calculator ignores platform fees and shipping. For marketplace sellers, a 50% markup can turn into a small real profit once Etsy, eBay or Amazon fees and shipping come out, so check the result in the Etsy, eBay, Amazon or Shopify calculators before you set a price.

Sources and last checked

Last checked: December 5, 2026. Fees and tax figures change; always confirm on the official page before you rely on a number.

Frequently asked questions

What is the difference between markup and margin?

Markup is profit as a percentage of cost; margin is profit as a percentage of the selling price. The same $5 profit on a $10 item is a 50% markup but a 33.3% margin.

How do I convert markup to margin?

Divide the markup by one plus the markup. A 50% markup is 0.5 ÷ 1.5 = 33.3% margin. A 100% markup is a 50% margin.

How do I convert margin to markup?

Divide the margin by one minus the margin. A 40% margin is 0.4 ÷ 0.6 = 66.7% markup.

How do I price a product for a specific margin?

Divide the cost by one minus the margin you want. For a 40% margin on a $10 cost, price = $10 ÷ 0.6 = $16.67. Do not just add 40% to cost.

What margin should I aim for?

It depends on the business, but online sellers often need 30-50% gross margin to cover fees, ads, returns and overhead. Use the break-even calculator to check your own number.

Can margin be higher than 100%?

No. Margin is a share of price, so the maximum is 100%, which would mean zero cost. Markup can exceed 100%, for example 200% when you sell for three times your cost.