Markup Calculator

Set a price from cost and markup, work out markup from a price, and convert margin to markup.

Price from cost

Works in any currency.

% of cost

Selling price

100.00

profit 20.00

Profit per sale
20.00
Markup on cost
25%
Margin on price
20%

A cost of 80.00 with a markup of 25% sells at 100.00. You earn 20.00 on each sale, which is a margin of 20%.

Markup from price

Markup

25%

margin 20%

Profit per sale
20.00
Markup on cost
25%
Margin on price
20%

Selling at 100.00 what cost 80.00 earns 20.00. That is a markup of 25% on the cost and a margin of 20% on the price.

Margin and markup converter

%

Markup

25%

for a margin of 20%

A margin of 20% is the same as a markup of 25%.

Add this calculator to your website

Free to use on any site or blog. Paste this code where you want the calculator to appear. It stays up to date, needs no account, and keeps your visitors' numbers in their own browser.

Preview

Margin to markup

Margin to markup
MarginMarkup
10%11.11%
20%25%
25%33.33%
30%42.86%
40%66.67%
50%100%
60%150%

How it works

Markup is the amount you add on top of what something cost you, written as a percentage of that cost. If a product costs 80 and you add 25%, you add 20 and sell it for 100. Many shops, trades and wholesalers set prices this way because it is easy to apply to every item.

The first panel does that sum. The second does it in reverse: enter the price and the cost and it shows the markup and the margin. The third converts a margin into the markup that produces it, or the other way round, and lists common values in a table.

Markup and margin describe the same profit against different bases. Markup divides the profit by the cost, margin divides it by the selling price. That is why a 25% markup is only a 20% margin. People mix them up often, and a price set with the wrong one can leave you with less profit than planned.

Check it by hand: a cost of 80 with a 25% markup sells for 80 × 1.25 = 100, a profit of 20. Margin is profit over the selling price, 20 ÷ 100 = 20%, while markup is profit over cost, 20 ÷ 80 = 25%. To go from a margin m to a markup, use m ÷ (1 − m), so 0.20 ÷ 0.80 = 25%.

Markup % = (price − cost) ÷ cost × 100
Margin % = (price − cost) ÷ price × 100
Price = cost × (1 + markup % ÷ 100)
Markup = margin ÷ (1 − margin), as fractions
Margin = markup ÷ (1 + markup), as fractions

Worked example

Cost 80 and markup 25%: profit 20.00, selling price 100.00, margin 20%.

Price 100 and cost 80 give a markup of 25% and a margin of 20%.

A margin of 20% converts to a markup of 25%. A margin of 50% converts to a markup of 100%, which means selling at double the cost.

Good to know

  • Markup only looks at the cost you enter. Fees, labour and overhead have to be in that cost, or the profit is smaller than it looks. For a price that includes selling fees and your own pay, use the Selling Price Calculator.
  • For margin on a full profit and loss, with gross, operating and net figures, use the Profit Margin Calculator.
  • Rounding: results are shown to two decimals, so a converted figure can differ in the last digit from a price you rounded by hand.
  • A margin of 100% or more has no markup, because the price would have to be infinite.

Questions people ask

How do you calculate markup?

Subtract the cost from the selling price and divide by the cost, then multiply by 100. A price of 100 on a cost of 80 is (100 − 80) ÷ 80 = 25%.

What is the difference between margin and markup?

Both use the same profit. Margin divides it by the selling price and markup divides it by the cost. For any profitable sale the markup is the larger figure.

How do I convert margin to markup?

Divide the margin by one minus the margin. For a 20% margin that is 0.20 ÷ 0.80 = 25%. The converter and table above do it for you.

How do I convert markup to margin?

Divide the markup by one plus the markup. A 50% markup gives 0.50 ÷ 1.50 = 33.33% margin.

How do I find the selling price from a markup percentage?

Multiply the cost by one plus the markup. For a cost of 80 and a markup of 25% the price is 80 × 1.25 = 100.

Can markup be more than 100%?

Yes. A markup of 100% doubles the cost, and 200% triples it. Margin, by contrast, can never reach 100%.

What is the selling price for a cost of 80 and a 25% markup?

100, a profit of 20. The margin on that price is 20%, not 25%.

Part of the guide: Pricing, profit and tax calculators: margin, markup, GST, VAT and selling price

Formulas and text last checked on 8 October 2026. Everything is calculated in your browser, so nothing you enter is sent or stored. Spotted a mistake? Tell us and we will fix it.