Margin & Markup Calculator

Choose what you know: cost and price, cost and target margin, or cost and target markup. The calculator works out the rest: selling price, profit per unit, margin and markup. A product that costs $60 and sells for $100 has a 40% margin and a 66.67% markup.

Your numbers

Results

Selling price

$100.00

Margin (profit ÷ price)

40%

Markup (profit ÷ cost)
66.67%
Profit
$40.00
Show the working
  1. Margin($100.00 − $60.00) ÷ $100.00 = 40%
  2. Markup($100.00 − $60.00) ÷ $60.00 = 66.67%
Paper and orientation

How to use the margin and markup calculator

  1. Choose the mode: from price, from margin or from markup.
  2. Enter the cost per unit.
  3. Enter the selling price, the target margin or the target markup, depending on the mode.
  4. Read the price, margin, markup and profit per unit.

Formulas

  • Profit = price − cost.
  • Margin = (price − cost) ÷ price.
  • Markup = (price − cost) ÷ cost.
  • Price from margin = cost ÷ (1 − margin).
  • Price from markup = cost × (1 + markup).
  • Converting: markup = margin ÷ (1 − margin); margin = markup ÷ (1 + markup).

Worked examples

  • From price: cost $60, price $100 → profit $40, margin 40%, markup 66.67%.
  • From margin: cost $60, target margin 40% → price $100.
  • From markup: cost $60, markup 50% → price $90, margin 33.33%.

Quick conversion table

Markup Margin
25% 20%
50% 33.3%
100% 50%
150% 60%
200% 66.7%

Why the difference matters

Confusing margin and markup is one of the most common pricing mistakes. If you want a 50% margin but apply a 50% markup, you end up with a 33% margin, and much less profit than planned. Decide which measure your business uses, and label it clearly in price lists and reports.

Tips

  • Include all unit costs: purchase price, shipping, packaging and payment fees.
  • Know your target margin for each product category.
  • Check competitor prices; the calculated price must also be one customers will pay.
  • Remember fixed costs; a positive margin per unit doesn’t guarantee overall profit. The break-even calculator helps there.
  • Exclude VAT or GST from both cost and price if you can reclaim it.

Discounts and margin

A discount comes straight out of your profit. On a $100 item that costs $60, a 20% discount cuts the price to $80 and the profit from $40 to $20: half your margin is gone. Use the calculator to check the margin left after any planned promotion.

Setting prices with margins

Many retailers set a target margin by category and calculate prices from cost. Start with the margin you need to cover overheads and profit, use “from margin” mode to get the price, then check it against what customers will pay and what competitors charge. If the market price is lower than your calculated price, look for ways to reduce cost or add value, rather than simply accepting a margin that may not cover your overheads.

Limitations

The calculator works per unit and doesn’t include overheads, taxes or volume discounts. Use it alongside the break-even calculator, which shows how many units at a given margin you need to sell to cover your fixed costs.

Frequently asked questions

What is the difference between margin and markup?

Margin is profit as a share of the selling price. Markup is profit as a share of the cost. With a $60 cost and $100 price, profit is $40: a 40% margin and a 66.67% markup.

How do I find the price for a target margin?

Price = cost ÷ (1 − margin). For a 40% margin on a $60 cost, price = 60 ÷ 0.6 = $100.

How do I find the price for a target markup?

Price = cost × (1 + markup). A 50% markup on $60 gives $90, which is a margin of only 33.3%.

Why can’t margin reach 100%?

Because margin is profit divided by price, and profit can never equal the whole price unless the cost is zero.

Should prices include sales tax or VAT?

No. Calculate margin and markup on prices before tax, because the tax isn’t your income.

Sources