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.
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 marginIf 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
| Margin | Markup | Net price (Box 6) | 20% VAT (Box 1) | Gross price | Profit |
|---|---|---|---|---|---|
| 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
- VAT calculatorAdd or remove VAT at 20%, 5%, 0% or any rate.
- Remove VAT calculatorFind the price before VAT from a VAT-inclusive total.
- Flat Rate Scheme calculatorYour flat rate, the limited cost test and the VAT you pay.
- CIS deduction calculatorCIS deduction at 20%, 30% or 0% and the payment you receive.
- VAT threshold checkerRolling 12-month turnover against the £90,000 threshold.
- VAT rates by categorySearch HMRC rates for 146 kinds of goods and services.
Sources
Checked against these HMRC and GOV.UK pages on .
- VAT rates (GOV.UK): 20% standard, 5% reduced and 0% zero rates
- VAT guide (VAT Notice 700): accounting for output tax on sales and reclaiming input tax on purchases
- How to fill in and submit your VAT Return (VAT Notice 700/12): Box 6 (net sales) and Box 1 (VAT due on sales)