Profit Margin & Markup Calculator

Work out profit, margin and markup from a cost and price, or the price you need to charge to hit a target margin or markup.

  • ✓ Free
  • ✓ No sign-up
  • ✓ Runs in your browser
$
$
%

Add this calculator to your website

Copy the code below and paste it into your page’s HTML (in WordPress, use a Custom HTML block). It’s free, with no sign-up and no ads inside the calculator.

Preview

Please keep the link under the calculator. It tells your readers where the calculator comes from.

Formulas

Margin = (Price − Cost) ÷ Price  |  Markup = (Price − Cost) ÷ CostPrice for margin = Cost ÷ (1 − Margin)  |  Price for markup = Cost × (1 + Markup)

Margin to markup

MarginSame as markup of
10%11.1%
20%25.0%
25%33.3%
30%42.9%
40%66.7%
50%100.0%

Selling to customers in Canada? Add GST/HST with the Sales Tax Calculator. Paying a team on sales? See the Commission Calculator.

Frequently asked questions

What is the difference between margin and markup?

Both measure profit, but against different bases. Margin is profit as a share of the selling price; markup is profit as a share of the cost. Something that costs $60 and sells for $100 has a 40% margin but a 66.7% markup.

How do I set a price for a target margin?

Divide the cost by (1 − margin). For a 40% margin on a $60 cost: $60 ÷ 0.6 = $100. Choose "Find price" in the calculator and enter your target.

Should GST/HST be included?

No. Work out margin and markup on prices before sales tax. GST/HST collected from customers belongs to the government, and registrants usually claim back the tax they paid on costs.