📈

Margin & Markup Calculator

Find profit, margin %, markup % or selling price from cost and price. See how margin and markup differ.

Estimates for general information only, based on the values you enter. This is not financial, tax or legal advice, and results may differ from your lender, employer or tax authority. See the Disclaimer.

Opens your print window: choose "Save as PDF". The file is named "Margin & Markup Calculator - MondayTool".
About this tool

Last updated:

Margin calculator and markup calculator in one tool

This margin and markup calculator turns the numbers you already have into the ones you need. Enter a cost and a selling price to get the profit, margin % and markup %. Or enter a cost plus a target margin or markup to get the selling price. Everything runs in your browser and nothing is sent anywhere.

How to use it

  1. Pick a mode: Cost + Price, Cost + Margin %, Cost + Markup % or Price + Margin %.
  2. Fill in the two fields. The labels change with the mode.
  3. Read the large result at the top, then the smaller cards for the other figures.
  4. Use Try an example to load sample numbers, or Clear to start again.

Margin vs markup

Both measure profit, but against different bases. Margin is a share of the selling price. Markup is a share of the cost. The tool also shows a note such as "Margin of 25.00% equals a markup of 33.33%".

MarginEqual markup
20%25%
25%33.33%
33.33%50%
50%100%

How it works

  • Profit: profit = price - cost
  • Margin: margin = (price - cost) / price
  • Markup: markup = (price - cost) / cost
  • Price from cost and margin: price = cost / (1 - margin)
  • Price from cost and markup: price = cost x (1 + markup)
  • Cost from price and margin: cost = price x (1 - margin)

Worked examples

  • Cost 60 and price 100: profit 40, margin 40%, markup 66.67%.
  • Cost 60 and a 40% margin: price 100.
  • Cost 60 and a 50% markup: price 90, profit 30, margin 33.33%.
  • Price 100 and a 25% margin: cost 75, profit 25, markup 33.33%.

Assumptions and limits

  • This is gross margin only. Tax, payment fees, shipping, discounts and overheads are not included.
  • Margin must be below 100%. A 100% margin would mean a cost of zero, and the tool shows an error instead of a price.
  • When the cost is zero, the markup is undefined, so the tool shows "n/a".
  • Amounts use a dollar sign and are rounded to two decimals for display.
  • Negative inputs are rejected. A price below cost shows a negative profit.

Frequently asked questions

What is the difference between margin and markup?

Margin divides profit by the selling price. Markup divides profit by the cost. A product that costs 60 and sells for 100 has a 40% margin and a 66.67% markup.

How do I turn a markup into a margin?

Enter the cost and the markup in Cost + Markup % mode. The result cards show the selling price, profit and margin. For example, a 50% markup on a cost of 60 gives a price of 90 and a margin of 33.33%.

Why can't I enter a 100% margin?

Profit would have to equal the whole selling price, which only works if the cost is zero. The price formula divides by (1 - margin), so 100% has no valid answer.

Does this include tax or fees?

No. It uses only the cost and price you enter, so it shows gross margin. Subtract your own fees and overheads separately for a net figure.

More to explore

Related Finance

Browse all tools from the same category.

Showing 1-2 of 10