Margin and mark-up calculator: profit, price and cost

Updated 4 December 2026

Short answer: Margin is profit as a percentage of the selling price; mark-up is profit as a percentage of cost. So a product that costs £80 and sells for £100 has a 25% mark-up but a 20% margin. Enter any two figures and the calculator works out the rest.

Fill in any two and leave the other two blank.

Cost£80.00
Selling price£100.00
Profit£20.00
Mark-up (profit ÷ cost)25.00%
Margin (profit ÷ selling price)20.00%

The formulas

You wantFormula
ProfitSelling price − cost
Margin %Profit ÷ selling price × 100
Mark-up %Profit ÷ cost × 100
Selling price from a mark-upCost × (1 + mark-up)
Selling price from a marginCost ÷ (1 − margin)
Cost from a marginSelling price × (1 − margin)
Margin from a mark-upMark-up ÷ (1 + mark-up)
Mark-up from a marginMargin ÷ (1 − margin)

Work with prices before VAT. VAT isn't the business's income, so a margin worked out on a VAT-inclusive price is too high. The VAT calculator takes VAT off a gross price first.

Worked examples

Worked exampleSelling price from a mark-up
A bakery buys cake stands for £80 each and adds a 25% mark-up.
Profit = £80 × 25% = £20
Selling price = £80 + £20 = £100
Margin = £20 ÷ £100 = 20%
Worked exampleSelling price from a target margin
A shop wants a 40% margin on a lamp that costs £60.
Selling price = £60 ÷ (1 − 0.40) = £60 ÷ 0.60 = £100
Profit = £100 − £60 = £40
Mark-up = £40 ÷ £60 = 66.67%
Worked exampleCost from a selling price and margin
A jacket sells for £150 at a 20% margin.
Cost = £150 × (1 − 0.20) = £120
Profit = £150 − £120 = £30
Mark-up = £30 ÷ £120 = 25%

Mark-up and margin side by side

Mark-upMargin
20%16.67%
25%20%
33.33%25%
50%33.33%
100%50%

Margin is always smaller than mark-up for the same sale, because the same profit is divided by a bigger number (the selling price, not the cost). A margin can never reach 100%; a mark-up can be any size.

The mistake that costs money (and marks)

  • Adding a margin percentage to cost. A 40% margin on £60 is not £60 × 1.40 = £84: that is a 40% mark-up, and the real margin on £84 is only 28.57%.
  • Working the percentage on the wrong base. Margin divides by selling price; mark-up divides by cost.
  • Including VAT in the selling price, which overstates the margin.

Percentage and rounding slips are where students lose easy marks in the AAT Level 2 exams. Sit a free AAT Level 2 mock to practise them in the real exam layout.

Questions students ask

›What is the difference between margin and mark-up?

Both measure the same profit. Margin divides it by the selling price; mark-up divides it by the cost. £20 profit on a £80 cost and £100 price is a 25% mark-up and a 20% margin.

›How do I calculate profit margin?

Take the selling price minus the cost to get profit, divide the profit by the selling price, and multiply by 100.

›How do I add a margin to a cost price?

Divide the cost by (1 − margin). For a 30% margin on £70: £70 ÷ 0.70 = £100.

›Is a 50% mark-up the same as a 50% margin?

No. A 50% mark-up is a 33.33% margin. A 50% margin needs a 100% mark-up.

›Is gross margin the same as margin?

Gross margin is gross profit (sales less cost of sales) as a percentage of sales. For a single product it is the margin this calculator shows.

›Should I include VAT?

No. Use prices excluding VAT for both cost and selling price, because VAT is collected for HMRC, not earned by the business.

Test yourself under exam conditions

A full, timed AAT mock that looks and works like the real assessment, marked instantly with your weakest skills. The first one is free.

Sit a free mock

Related