Profit Margin & Markup Calculator

Find profit margin or markup from cost and price, or the price you need for a target margin or markup, with both shown side by side.

Runs in your browser. Nothing is uploaded.

Profit margin

–

Margin and markup side by side

How to use the Profit Margin & Markup Calculator

  1. Choose Profit margin or Markup with the switch at the top.
  2. Choose what you know, cost and price, or cost and the margin you want, or price and the margin you want.
  3. Enter the values. The result updates as you type.
  4. Read the margin, profit and the equivalent markup.
  5. Use the table to see common margins as markups.

What profit margin tells you

Profit margin is the share of each sale you keep after paying for what you sold. It’s the most common way businesses compare products, set prices and judge whether a price change is worth it. A 40% margin means that out of every 100 in sales, 40 is gross profit and 60 paid for the goods.

Three ways to use the calculator

  • Cost and price: see the margin you’re making. Cost 18, price 30: profit 12, margin 40%.
  • Cost and target margin: find the price to charge. To make 40% on a cost of 18, sell at 30.
  • Price and target margin: find the most you can pay. To keep 40% on a 30 selling price, your cost must be 18 or less, useful when negotiating with suppliers.

The classic pricing mistake

Many people add the margin they want to the cost: cost 18 plus 40% gives 25.20. But that’s a 40% markup, and the margin is only 28.6%. Because margin is measured against the higher selling price, you always need to divide by (1 − margin) instead. The calculator does this for you and shows both figures side by side.

Margins and markups

The reference table shows common margins with their equivalent markups and prices for a cost of 100. A 25% margin equals a 33.3% markup, a 50% margin a 100% markup, and margins climb more slowly the higher they go. A margin can never reach 100%, because that would mean the item cost nothing.

Margin or markup

Margin is profit as a share of the selling price; markup is profit as a share of the cost. A product that costs 60 and sells for 100 has a 40% margin and a 66.67% markup. Retailers often think in markup, while accounts and investors talk about margin. Switch to Markup to enter and see markup instead: when you switch, a target you typed is converted so the price stays the same. The table below the results lists common margins next to their markups.

Using margins well

Typical margins vary hugely by industry: groceries often run on thin margins, while software and services can be much higher. Compare your margins with your overheads to make sure gross profit covers rent, wages and other fixed costs; the break-even calculator helps with that. Prices here are before sales tax; use the VAT calculator to add tax afterwards.

Everything is calculated in your browser.

Frequently asked questions

What is profit margin?

Profit as a percentage of the selling price. If something sells for 30 and costs 18, the profit is 12 and the margin is 12 ÷ 30 = 40%.

How do I price for a target margin?

Divide the cost by (1 − margin). For a 40% margin on a cost of 18, the price is 18 ÷ 0.6 = 30. Adding 40% to the cost gives 25.20, which is only a 28.6% margin.

What's the difference between margin and markup?

Margin compares profit with the price; markup compares profit with the cost. The same 12 profit on a cost of 18 and a price of 30 is a 40% margin but a 66.7% markup.

Is this gross or net margin?

Gross margin per item, based on the cost of the item itself. Net margin also subtracts overheads such as rent and salaries.

Tutorials