esc
Calculators

Margin calculator:
gross margin vs markup

Type cost and price to see the gross margin, or a cost and the margin you need to get the price. Two more modes turn a markup into a margin and back, which is where most pricing mistakes happen.

In any currency.
Gross margin40%Markup on cost: 66.67%
  • Cost 60.0%
  • Gross profit 40.0%
Gross profit
20.00
Margin (profit ÷ price)
40%
Markup (profit ÷ cost)
66.67%
Margin and the markup that gives it
MarginMarkup neededMultiply cost by
5%5.26%× 1.0526
10%11.11%× 1.1111
15%17.65%× 1.1765
20%25%× 1.25
25%33.33%× 1.3333
30%42.86%× 1.4286
33.33%50%× 1.5
40%66.67%× 1.6667
50%100%× 2
60%150%× 2.5
70%233.33%× 3.3333
75%300%× 4
80%400%× 5

How to use Margin calculator

  1. 01Pick a modeMargin, target price or conversion.
  2. 02Type the numbersCost, price or a percent.
  3. 03Read the resultWith the formula used.
File character arranging marked pages

Margin is profit over price.

Gross margin = (price − cost) ÷ price. To hit a target margin, divide the cost by 1 minus the margin: a 30 cost at a 40% margin needs a price of 50. Margin can never reach 100%, while markup has no limit, so the same profit always shows a smaller margin than markup.

At a glance

Price
Free. No sign-up, no watermark.
Privacy
Your text stays in your browser. Nothing is uploaded.
Works in
Chrome, Edge, Firefox and Safari, on phones and computers

Questions

What is the difference between margin and markup?

Both use the same profit but divide it by different numbers. Buying at 30 and selling at 50 gives 20 of profit: 20 ÷ 50 = 40% margin, and 20 ÷ 30 = 66.7% markup.

How do I price for a 40% margin?

Divide the cost by 0.6. A 30 cost needs a 50 price. Adding 40% to the cost instead (42) would give only a 28.6% margin.

How do I convert markup to margin?

Margin = markup ÷ (100 + markup). A 25% markup is a 20% margin; a 100% markup is a 50% margin.

Is what I type sent anywhere?

No. The calculation runs in your browser and nothing you type leaves your device.