Profit Margin and Markup Calculator

Margin and markup describe the same profit from two angles, and mixing them up is one of the most common pricing mistakes. Enter your cost and price to see both, or start from the margin or markup you want and get the selling price.

Margin is profit as a share of the selling price; markup is profit as a share of the cost.

Runs in your browser — nothing is uploaded

How to use it

  1. Choose what you know: cost and price, or cost and a target margin or markup.
  2. Enter the cost of the product (purchase or production cost, without VAT).
  3. Enter the selling price, or the margin or markup percentage you want.
  4. Read the price, profit, margin and markup. Use the table to translate a markup into a margin.

Common uses

  • Setting retail prices for an online shop or a market stall.
  • Checking whether a supplier's recommended price leaves enough margin.
  • Planning discounts without selling below your target margin.
  • Comparing products by profitability in a price list.
  • Explaining the difference between margin and markup to a team.

Examples

InputResult
Cost 80, price 100Profit 20 · margin 20% · markup 25%
Cost 60, target margin 40%Price 10060 ÷ (1 − 0.40).
Cost 60, target markup 40%Price 8460 × 1.40. Same percentage, very different price.
Markup 100%Margin 50%Doubling the cost gives half the price as profit.

Frequently asked questions

What is the difference between margin and markup?

Both use the same profit (price minus cost). Margin divides it by the selling price, markup divides it by the cost. With cost 80 and price 100, the profit of 20 is a 20% margin but a 25% markup.

How do I calculate the selling price from a margin?

Divide the cost by (1 − margin). For a cost of 60 and a 40% margin: 60 ÷ 0.6 = 100. Multiplying the cost by 1.40 would give only a 40% markup, which is a 28.6% margin.

How do I convert markup to margin?

Margin = markup ÷ (100 + markup) × 100. A 25% markup equals a 20% margin, 50% equals 33.33% and 100% equals 50%. The table in the tool lists common values.

Should I include VAT in the cost and price?

Usually no: calculate margins on amounts without VAT, because the tax goes to the state, not to your profit. Add VAT to the final price afterwards, for example with the VAT calculator.