Profit Margin & Markup Calculator

Work out profit, profit margin and markup from your cost and selling price, or find the price you need to charge to reach a target margin or markup. Margin and markup are often confused: margin is profit as a share of the selling price, markup is profit as a share of the cost. Formulas are shown and nothing leaves your browser.

Processed locally in your browser. Your data is not uploaded to our servers.

What do you know?

Used to show totals. Leave it at 1 for a single item.

Only changes how amounts are written. No exchange rates are used.

Result

For information only. This calculator gives estimates from the numbers you enter and does not take taxes, fees or changing rates into account. It is not financial advice.

Examples

The same profit as a margin and as a markup:

Profit marginMarkup needed
10%11.11%
20%25%
25%33.33%
30%42.86%
40%66.67%
50%100%

Formula & Methodology

Profit F = P โˆ’ C. Margin m = F รท P ร— 100. Markup k = F รท C ร— 100. To set a price from a margin, P = C รท (1 โˆ’ m รท 100); from a markup, P = C ร— (1 + k รท 100).

F = P โˆ’ Cm = F รท P ร— 100k = F รท C ร— 100P = C รท (1 โˆ’ m รท 100)P = C ร— (1 + k รท 100)

In the formulas, C is the cost, P the selling price, F the profit, m the margin and k the markup, both in percent. Converting between them: k = m รท (100 โˆ’ m) ร— 100 and m = k รท (100 + k) ร— 100.

Assumptions and limitations

  • Margin and markup are not the same. A 50% markup is a 33.3% margin, not 50%.
  • A margin can never reach 100%. A markup can be any size.
  • Only the cost and price you enter are used. Taxes, discounts, shipping, fees and overheads are not included.
  • A negative result means a loss. The percentages are then negative.
  • This is an estimate for information only and not financial advice.

How to Use

  1. Choose what you know: cost and price, or a target margin or markup.
  2. Enter the numbers and the number of items.
  3. Read the price, the profit, the margin and the markup.
  4. Compare margin and markup to avoid mixing them up.

Frequently Asked Questions

What is the difference between margin and markup?

Margin is profit divided by the selling price. Markup is profit divided by the cost. The same sale has a lower margin than markup: cost 80 and price 100 is a 20% margin and a 25% markup.

How do I calculate the selling price from a margin?

Divide the cost by 1 minus the margin as a fraction. For a cost of 60 and a 40% margin the price is 60 รท 0.6 = 100.

How do I calculate the selling price from a markup?

Multiply the cost by 1 plus the markup as a fraction. For a cost of 80 and a 25% markup the price is 80 ร— 1.25 = 100.

Why can margin not be 100%?

A 100% margin means the cost is zero compared with the price, which would need an infinite price for any cost above zero.

Is anything sent to a server?

No. The calculation runs in your browser and nothing you enter is uploaded or sent to analytics.

Last updated: