Skip to content

Margin calculator with VAT

Work out your selling price from net cost and target margin or markup, with UK VAT added on top. Switch to Selling price to test an existing VAT-inclusive price.

What you know
Your net unit cost after reclaiming input VAT
Profit as a share of the net selling price (below 100%)
VAT rate

Price and profit

6Net selling price Box 6: sales excluding VAT
£61.54
1VAT at 20% Box 1: VAT due on sales
£12.31
Gross selling price Price the customer pays
£73.85
Profit Net selling price minus cost
£21.54
True margin (ex VAT)
35%
Markup on cost
53.85%

Calculated on the VAT-inclusive price, your margin would look like 45.84%. True margin is 35% because VAT goes to HMRC.

Formulas for margin, markup and VAT

Price from target margin

Divide your net cost by 1 minus the target margin, then add VAT.

Net price = Cost ÷ (1 − Margin) · Gross price = Net price × (1 + VAT rate)

Price from markup

Multiply your net cost by 1 plus the markup, then add VAT.

Net price = Cost × (1 + Markup) · Gross price = Net price × (1 + VAT rate)

True margin from a VAT-inclusive price

Remove VAT first (divide by 1.2 at 20%), subtract your net cost, and divide profit by the net selling price.

£72 gross ÷ 1.2 = £60 net · (£60 − £40) ÷ £60 = 33.33% true margin

If you skip removing VAT, (£72 − £40) ÷ £72 looks like 44.44%. That is more than 11 percentage points higher than what you actually keep, because £12 of the £72 goes to HMRC.

Margin vs markup on a £100 net cost at 20% VAT

MarginMarkupNet price (Box 6)20% VAT (Box 1)Gross priceProfit
10%11.11%£111.11£22.22£133.33£11.11
20%25%£125.00£25.00£150.00£25.00
25%33.33%£133.33£26.67£160.00£33.33
30%42.86%£142.86£28.57£171.43£42.86
33.33%49.99%£149.99£30.00£179.99£49.99
40%66.67%£166.67£33.33£200.00£66.67
50%100%£200.00£40.00£240.00£100.00

Notice that a 50% margin requires a 100% markup (doubling your net cost). On a £100 cost with 20% VAT, the customer pays £240 so you keep £100 of profit.

Questions people ask

Do you calculate profit margin with or without VAT?

Always without VAT. VAT you collect belongs to HMRC, not your business. Working out margin from the VAT-inclusive selling price overstates your real profit margin.

What is the difference between margin and markup?

Markup is profit divided by cost. Margin is profit divided by the net selling price. A 50% markup on a £40 item gives a £60 net price and a 33.33% margin.

How do I set a selling price with 20% VAT for a 35% margin?

Divide your net cost by 0.65 (which is 1 minus 0.35) to get the net selling price, then multiply by 1.2 for 20% VAT. On a £40 cost, that is £61.54 net and £73.85 including VAT.

What if I am not VAT registered?

Enter the cost you actually pay (including any VAT your supplier charged you) and set the VAT rate to 0%. Your selling price and net price are then identical.

Other calculators

Sources

Checked against these HMRC and GOV.UK pages on .