How to calculate VAT: the formulas, worked examples and the best tools
Add it, remove it, round it and work out what you owe HMRC, on real figures, then six tools that do it for you.
Short answer: to add 20% VAT, multiply the net price by 1.2; to take VAT out of a price that already includes it, divide by 1.2. £100 net becomes £120, and £120 including VAT is £100 net plus £20 of VAT. The VAT inside a 20% price is one-sixth of it (£120 ÷ 6 = £20), not 20% of it. At the 5% reduced rate, multiply or divide by 1.05, and the VAT is one twenty-first of the gross. What you pay HMRC is the VAT you charged minus the VAT you can reclaim on your purchases, unless you are on the Flat Rate Scheme, which works on a different base.
To stop doing it by hand, Zoho Books is the best start: its free plan works out VAT on every invoice and files MTD VAT returns, up to 1,000 invoices a year. Xero handles the standard, flat rate and cash schemes plus the construction reverse charge, from £18 a month excl. VAT. FreeAgent applies the Flat Rate Scheme first-year discount for you, Stripe Tax calculates VAT on online sales in 100+ countries for 0.5% per transaction, Excel runs the formulas for free, and QuickFile files returns for free up to 1,000 ledger entries. We compared six tools on how they calculate, the UK schemes they handle and what a year costs, then wrote the method step by step and the traps that leave a return a few pounds out.
The ranking is editorial: a sponsored placement is always flagged on its card, and no affiliate link changes a score.
6 tools that calculate VAT for you
What VAT is. Value Added Tax is a tax on sales that a VAT-registered business adds to its prices and passes on to the tax authority. In the UK, you must register once your taxable turnover goes over £90,000 in a rolling 12 months, or if you expect to cross it in the next 30 days. From then on, you charge VAT on your sales (output VAT) and reclaim the VAT on your business purchases (input VAT); every quarter, you pay HMRC the difference. Three units come back on every line of this page: the net price (before VAT), the gross price (VAT included) and the rate: 20% standard, 5% reduced, 0% zero rate in the UK. A fourth one, the VAT fraction, is the share of VAT inside a gross price: rate ÷ (100 + rate), so 20/120 = 1/6 at 20% and 5/105 = 1/21 at 5%.
What to ask of a tool. A calculator answers one question; a VAT tool has to get five things right: the rate on each line, the rounding method, the scheme you use (standard, flat rate or cash accounting), the filing of the return under Making Tax Digital, and, if you sell abroad, the rate of the buyer's country. The prices below are list prices for the first plan that does the job, excl. VAT where the publisher says so. Selling online to several countries? Our ranking of international sales tax software goes further than Stripe Tax.
| Best for | What it does best for VAT | Free plan | Team size | Visit | ||||
|---|---|---|---|---|---|---|---|---|
| 1 | Zoho Books | Best free start for UK small businesses | MTD VAT returns on the free plan | 3.9/5 | Free £0 · Standard £12/mo (£10 billed yearly) | ✓ | Sole traders and small companies | Visit → |
| 2 | Xero | Best for every UK VAT scheme | Standard, flat rate and cash schemes, plus construction reverse charge | 3.8/5 | £18/mo excl. VAT (Ignite) | — | Small businesses and their accountants | Visit → |
| 3 | FreeAgent | Best for freelancers on the Flat Rate Scheme | Applies the 1% first-year flat rate discount for you | 3.8/5 | £19/mo excl. VAT (sole trader) | — | UK sole traders, freelancers and small companies | Visit → |
| 4 | Stripe Tax | Best for online sales to several countries | VAT calculated at checkout in 100+ countries | 3.8/5 | 0.5% per transaction (Tax Basic) | — | Online sellers and SaaS on Stripe | Visit → |
| 5 | Microsoft Excel | Best free way to check the math | Formulas for add, remove and rounding | 3.7/5 | Free (Excel for the web) | ✓ | Quick checks and a handful of invoices | Visit → |
| 6 | QuickFile | Best free option for micro-businesses | MTD VAT returns free up to 1,000 ledger entries | 3.5/5 | Free up to 1,000 entries · £60 + VAT/yr | ✓ | Micro-businesses with low volume | Visit → |
Is your tool missing from this page? Email us: hello@hackceleration.com
Zoho Books
Zoho Books puts a VAT rate on each item and works out the VAT on every invoice and bill, then builds the VAT return from them and submits it to HMRC under Making Tax Digital. In the UK edition, the free plan already lists "Track and generate VAT returns" and "File MTD VAT returns". In the VAT settings you choose the accounting basis: accrual, where VAT follows the invoice date, or cash basis, where VAT follows the date your customer pays. If you are on the Flat Rate Scheme, you tick "Use Flat Rate Scheme for VAT" and enter your sector's rate yourself; you can even enter the rate you used before if you rejoin the scheme.
The free plan covers up to 1,000 invoices a year, with 1 user plus your accountant. Above that, Standard costs £12 a month, or £10 a month billed yearly (£120 a year), Professional £24 (£20 yearly) and Premium £30 (£25 yearly). The catch: Zoho does not pick the flat rate for you, so check your sector on the HMRC list before you type it, and redo the limited cost test every quarter (trap 3 below). If you outgrow Zoho, see our Zoho Books alternatives; to compare the apps HMRC accepts for small firms, see our ranking of Making Tax Digital software for small businesses.
- MTD VAT returns on the free plan
- Accrual or cash basis in one setting
- Flat Rate Scheme switch with a rejoin date
- VAT rate set per item
- ✓£0 for up to 1,000 invoices a year
- ✓Yearly billing saves £24 a year on Standard
- ✓Room to grow into paid plans
- ✗Free plan: 1 user plus your accountant
- ✗Flat rate typed by hand
- ✗More settings to learn than a calculator
Xero
Xero calculates VAT as you go: every invoice and bill you enter feeds the VAT return, and Xero works with the standard, flat rate and cash schemes. For construction services, it applies the domestic reverse charge where it is due and adds the wording your customers need. Before you file, you open the return and drill into every transaction behind each figure; if one invoice has the wrong VAT, you fix it in a couple of clicks and the return updates. Xero keeps every submitted return and the records behind it with a seven-year audit trail.
Every plan submits VAT returns to HMRC, including Ignite at £18 a month excl. VAT. Ignite includes 20 invoices and 10 bills; above that, the next plan is Grow at £39. New customers pay 90% less for 6 months: £1.80 a month on Ignite, so £118.80 for the first year, then £216 a year at the regular price. One thing to know before you compare totals with a calculator: Xero works out VAT line by line and rounds each line. A user asked in 2024 for a three-decimal or invoice-total option, because the per-line method can put a few pence too much VAT on a long invoice (trap 2 explains the HMRC rule). If you are leaving Xero for another reason, our Xero alternatives compare the other options.
- Standard, flat rate and cash schemes
- Domestic reverse charge for construction
- Drill into every figure of the return
- Seven-year audit trail
- ✓VAT returns on every plan
- ✓Clear review screen before filing
- ✓Accountants know it well
- ✗Ignite: 20 invoices and 10 bills
- ✗VAT rounded line by line
- ✗£216 a year after the discount, on the smallest plan
FreeAgent
FreeAgent generates MTD-compatible VAT returns from your invoices and expenses and files them online to HMRC. Its VAT settings cover invoice and cash basis returns, and switching between them, the Flat Rate Scheme, and the reverse charge on services bought from the EU. The detail that matters for a new business: FreeAgent automatically sets the flat rate percentage to claim the 1% discount of your first year of VAT registration. On a £12,000 quarter (VAT included) billed by an IT consultant, that is 13.5% instead of 14.5%, so £1,620 to pay instead of £1,740.
The sole trader plan costs £19 a month or £190 a year excl. VAT, the limited company plan £33 a month or £330 a year; new customers get 50% off for the first six months on monthly billing, or the first year on annual billing. And it is free for as long as you keep a business current account with NatWest, Royal Bank of Scotland or Ulster Bank, or have a Mettle account with at least one transaction a month. The limit is the receipt scanner: 10 captures a month, then £5 a month for unlimited use. See our FreeAgent alternatives if you are moving away from it.
- 1% first-year flat rate discount set automatically
- Invoice and cash basis, with switching
- Reverse charge on EU services
- Free with NatWest, RBS, Ulster Bank or Mettle
- ✓Built for freelancers and contractors
- ✓Annual billing: £190 instead of £228 for a sole trader
- ✓£0 with a NatWest, RBS, Ulster Bank or Mettle account
- ✗10 receipt captures a month before the £5 add-on
- ✗£228 a year for a sole trader on monthly billing
- ✗Limited company plan at £33 a month
Stripe Tax
Stripe Tax is not accounting software: it calculates the tax at the moment of sale, in Checkout, Billing, Invoicing and Payment Links, from the customer's location, the product type and whether the buyer is a VAT-registered business. It collects tax in 100+ countries, but only where you have an active tax registration, so you still decide where to register. That is why it suits a US company selling digital products to UK and EU customers: it applies 20% in the UK, the customer's rate in the EU, or the reverse charge for a registered business.
Tax Basic costs 0.5% per transaction with the no-code integrations, so £0.60 on a £120 sale, or 50¢ per transaction through the API, with 10 calculation calls included and 5¢ for each call above. Tax Complete, which adds registrations and filings, starts at $90 a month on a 1-year contract, and that first tier caps you at 200 transactions a month, 2 registrations and 4 filings a year: one UK registration filing quarterly already uses all four filings. Stripe keeps full precision while it calculates, then rounds half up, on the total of each rate before spreading it over the lines: on a 79.20 EUR price including 19% tax, the split shows 66.55 EUR plus 12.65 EUR, which looks like 19.01% (trap 5). Compare the tax engines in our ranking of sales tax and VAT software for e-commerce, or look at our Stripe alternatives.
- Tax calculated at checkout from location and product type
- Reverse charge for VAT-registered buyers
- Rounds per rate total, half up
- Tax Complete adds registrations and filings
- ✓No subscription on Tax Basic
- ✓Works for US sellers facing UK and EU VAT
- ✓Built into Stripe Checkout and Billing
- ✗Calculates only where you are registered
- ✗Filings only on Tax Complete, from $90 a month
- ✗Tax Complete needs a 1-year contract
Microsoft Excel
Excel does the job of any online VAT calculator, with your own figures and an audit trail. With a net price in A2, =A2*1.2 gives the gross price and =A2*0.2 the VAT; with a gross price in A2, =A2/1.2 gives the net and =A2/6 the VAT at 20%. For the 5% rate, use 1.05 and 21. Put the rate in its own cell, for example =A2*(1+$B$1), and one change updates the whole sheet. Wrap each VAT amount in ROUND, such as =ROUND(A2*0.2,2), so the sheet adds up rounded pennies the way an invoice does; ROUNDDOWN, in Excel as in Google Sheets, rounds the total down to the penny, which is the HMRC concession for invoice traders.
Excel for the web is free; the desktop app comes with Microsoft 365 Personal at £84.99 a year or Office Home 2024 at £119.99 once. The limit is the return: under Making Tax Digital, a VAT return goes through compatible software, so a spreadsheet needs bridging software or accounting software to reach HMRC. Our Excel training covers the formulas, and our Excel alternatives list the tools that replace a spreadsheet for bookkeeping.
- Add, remove and extract VAT in one formula
- Rate kept in one cell
- ROUND and ROUNDDOWN for pennies
- Works on any device with Excel for the web
- ✓Free on the web
- ✓You see every step of the math
- ✓Handy to check a supplier's invoice
- ✗Files nothing to HMRC by itself
- ✗Flat rate and partial cases built by hand
- ✗Errors copy across rows
QuickFile
QuickFile is a UK bookkeeping tool priced by volume, not by features. Every plan includes MTD compatible VAT returns, invoicing, purchase and receipt management and multi-currency, with free unlimited users and no setup fees or contracts. It is free up to 1,000 ledger entries, then a flat £60 + VAT a year above 1,000 entries, which is £72 a year including VAT; only accounts with over 40,000 entries in a rolling 12 months need an enterprise quote. Automated bank feeds are an add-on at £15 + VAT a year.
The trade-off is guidance: QuickFile assumes you know your way around a ledger, and the extras sit behind a Power User Subscription on the free tiers, MTD VAT bridging for spreadsheets included. For a business that sends a few dozen invoices a quarter, it is the cheapest way on this page to get the VAT on each invoice and the return in the same place. Compare it with the other HMRC-recognised apps in our ranking of Making Tax Digital software.
- MTD VAT returns on every plan
- Free up to 1,000 ledger entries
- Free unlimited users
- No setup fees or contracts
- ✓£0 or £60 + VAT a year
- ✓Unlimited users at no cost
- ✓Volume-based pricing is easy to forecast
- ✗Bank feeds cost £15 + VAT a year
- ✗Bridging and extras need a Power User Subscription
- ✗Less guided than Zoho, Xero or FreeAgent
How to calculate VAT, step by step
The same figures run through the steps: a UK business that sells a service for £850 net and buys supplies for its own use. Redo each line with your own numbers, on paper, in a spreadsheet or in any of the tools above.
The 7 steps
Find the right rate for what you sell
Most goods and services are standard-rated at 20%. Some take the 5% reduced rate, such as children's car seats and home energy, and some are zero-rated, such as most food and children's clothes. Zero-rated is not the same as exempt: postage stamps, financial and property transactions are exempt, so no VAT is charged and they sit outside the calculation. Check each product on HMRC's list of VAT rates on different goods and services before you set the rate in your invoices; a wrong rate is wrong on every invoice that follows.
Add VAT to a net price
Multiply the net price by 1 plus the rate. At 20%: £850 × 1.2 = £1,020, of which £850 × 0.2 = £170 is VAT. At 5%: £200 × 1.05 = £210, with £10 of VAT. At 0%, the price stays the same, but the line still shows a 0% rate on the invoice. The general formula is VAT = net × rate ÷ 100, which works for any country: at Finland's 25.5% standard rate, €118 of net price carries €30.09 of VAT.
Take VAT out of a gross price
Divide the gross price by 1 plus the rate: £1,020 ÷ 1.2 = £850 net, and the VAT is the difference, £170. To get the VAT in one go, use the VAT fraction: £1,020 ÷ 6 = £170 at 20%, gross ÷ 21 at 5%. HMRC gives its own example: on a sale of £2.40 at 20%, the VAT is 40 pence, which is one-sixth of £2.40, not 20% of it. Taking 20% off the gross gives £1,020 − £204 = £816, so the net is understated by £34 and the VAT overstated by the same amount.
Work out a multi-line invoice
Calculate VAT line by line, then add the lines, or calculate it on the total of each rate; either way, HMRC asks you to pick one rounding method and use it every time. Its own sample invoice adds up to £348.90 net, £69.78 of VAT and £418.68 in total. A VAT invoice shows the net amount, the rate and the VAT for each rate; a simplified invoice is allowed when the supply is £250 or less and your customer agrees. Trap 2 below shows why two correct methods can differ by a penny.
Apply discounts and delivery before the VAT
An unconditional discount comes off before VAT: on a £15 item sold for £12 after a £3 discount, the VAT is on £12. A discount for paying early is taxed on the amount the customer actually pays. Delivery follows the goods when your terms require you to deliver them: zero-rated goods sent by post carry zero-rated postage, even if the postage is shown as a separate line. A delivery service the customer chooses at an extra charge is a separate supply, taxed on its own.
Work out what you owe HMRC
VAT due = output VAT − input VAT. Say a quarter brings £45,000 of net sales, so £9,000 of output VAT, and £12,000 of net business purchases carrying £2,400 of reclaimable VAT: you pay HMRC £9,000 − £2,400 = £6,600. If input VAT is larger, HMRC pays you the difference. Box 1 of the return holds the VAT on sales, box 4 the VAT you reclaim, box 5 the net figure. Under Making Tax Digital, the return is filed from compatible software, which is where the tools above save the most time.
On the Flat Rate Scheme, use the gross turnover
The Flat Rate Scheme replaces output minus input with one percentage of your VAT-inclusive turnover. You still charge customers 20%, but you pay HMRC your sector's rate on the gross amount: a photographer who bills £10,000 + £2,000 of VAT pays 11% of £12,000 = £1,320 and keeps £680. You can join with a VAT taxable turnover of £150,000 or less excl. VAT, you take 1% off your rate in your first year of registration, and you can no longer reclaim VAT on purchases, except capital assets over £2,000. Trap 3 shows the rule that wipes out the gain.
What puts a VAT calculation out
The formulas fit on a sticky note; the errors come from shortcuts, pennies and schemes. Each trap below changes a figure on an invoice or a return.
6 traps
Dividing a mixed-rate total by 6
The ÷ 6 shortcut is only true when every line is at 20%. An invoice with £100 net at 20% (£120 gross) and £200 net at 5% (£210 gross) totals £330 and carries £20 + £10 = £30 of VAT. Divide £330 by 6 and you get £55: £25 of VAT that does not exist, reclaimed on your return. Split the gross by rate first, then use 6 for the 20% part and 21 for the 5% part.
The penny that never adds up
Three lines at £0.99 net: at 20%, each line carries 19.8p of VAT. Round each line to the nearest penny and the invoice shows 60p; calculate on the £2.97 total and you get 59.4p, which you may round down to 59p. Both are allowed for invoice traders, who may round each line down to 0.1p or to the nearest 1p or 0.5p, and round the total down to a whole penny, as long as they stay consistent. Retailers who calculate at line or invoice level must not round down. Xero, for one, rounds each line, and users of Sage have chased one-penny gaps with an Excel ROUND per line before finding the match. Before you correct anything by hand, check which method your software uses.
The limited cost test, every quarter
On the Flat Rate Scheme, you are a limited cost business if your spending on relevant goods, VAT included, is less than 2% of your flat rate turnover, or more than 2% but under £250 for a quarter (£1,000 a year). Then your rate is 16.5%, whatever your sector. An IT consultant with £12,000 of gross turnover in a quarter (2% = £240) who buys £200 of goods pays 16.5% × £12,000 = £1,980 instead of £1,740 at 14.5%, and keeps £20 of the £2,000 of VAT charged. Vehicle costs and fuel, food and drink, and capital goods do not count, and neither do services such as accountancy fees. In 2018, one accountant on a professional forum described checking a flat rate client near the line every quarter, and asking for her business utility bills to push her over the 2%: the rule has not changed since, so do the same check before each return.
VAT on a coupon or a marketplace report
Online sellers often get two VAT figures for the same quarter: one from dividing the sales column by 1.2 and taking 20%, another from the tax column of the marketplace report. One common reason is a discount: on a £15 item sold with a £3 discount you fund, the VAT is £12 ÷ 6 = £2.00, not £15 ÷ 6 = £2.50. Over 1,000 orders, that is £500 of VAT that the sales column says you owe and the customer never paid. Reconcile from the amounts actually paid, line by line.
A 19.01% rate that is really 19%
When the price includes tax, rounding can make the rate look wrong. On 79.20 EUR at 19%, no pair of cent amounts gives exactly 19%: Stripe reports 66.55 EUR plus 12.65 EUR, which divides out at 19.01%, and it can show 19.02% on other amounts. Your accountant or your marketplace may flag it as an error. It is not one: check the VAT against the rate on the total of each rate, and never recompute a rate from rounded figures.
Old figures in old guides
Some guides still ranking on Google give an £85,000 registration threshold and a 15% reduced rate. The threshold is £90,000, and the UK reduced rate is 5%. The standard rate has been 20% since early 2011; it was 17.5% before, so an invoice from before the change uses a 7/47 VAT fraction, not 1/6. Before you trust any calculator, check its rates against HMRC's page, and keep the rate in one cell or one setting so a change takes one edit.
VAT: your questions
Do I have to charge UK VAT if my business is outside the UK?
Yes, as soon as you supply goods or services to the UK, or expect to in the next 30 days: a business based outside the UK must register whatever its taxable turnover, because the £90,000 threshold does not apply to it. From its registration, it charges UK VAT at the rate of each sale: 20% on most goods and services, 5% or 0% where those rates apply.
Can I charge VAT if I am not VAT-registered?
No. You must register for VAT before you can start charging it. You can register voluntarily below the £90,000 threshold, which pays off when your customers are businesses that reclaim VAT. If you register late, you owe HMRC the VAT on the sales made since the date you should have registered, even if you never charged it.
What is the difference between zero-rated and exempt?
A zero-rated sale is taxable at 0%: you charge no VAT, but it counts towards the registration threshold and you can still reclaim the VAT on the costs that go into it. An exempt sale, such as a financial service or a postage stamp, carries no VAT: it does not count towards the threshold, and the VAT on related costs generally cannot be reclaimed. That is why a business selling only zero-rated food can be in repayment every quarter.
When do I have to pay the VAT I owe?
Usually one calendar month and 7 days after the end of the VAT period, and the same deadline applies to the return and to the payment. For a quarter that ends on 31 March, that means 7 May, and the money has to reach HMRC's account by then. A return is still due when you have no VAT to pay or reclaim.
Which business expenses can I reclaim VAT on?
Purchases that relate to the taxable goods or services you sell, and only the business share of anything you also use privately: if half your mobile calls are personal, you reclaim 50% of the VAT on the phone and its plan. You cannot reclaim VAT on anything used only privately, on entertaining people you do business with (theatre or sports tickets, for example) or on costs that serve exempt sales. When you first register, you can also go back 4 years for goods you still have, but only 6 months for services.
Can I reclaim VAT from a receipt without a VAT number?
No: to reclaim VAT you need a valid VAT invoice, and even a simplified invoice, allowed for supplies of £250 or less, must show the supplier's VAT registration number, the time of supply and the VAT rate. Ask the supplier for a proper VAT invoice before you enter the expense.
How do I calculate VAT at the old 17.5% rate?
Multiply the net price by 1.175 to add it, divide the gross by 1.175 to remove it, and use the VAT fraction 7/47 to extract the VAT: a £117.50 gross price holds £17.50 of VAT. It only applies to supplies made before the standard rate rose to 20% in early 2011, for example when you check an old invoice or a credit note on it.
What VAT rate applies to a customer in the EU?
Each EU country sets its own rates, and its standard rate must be at least 15%, with no maximum: Finland, for example, charges 25.5%. For a sale to a consumer, the rate is usually the one of the buyer's country, while a sale to a VAT-registered business often falls under the reverse charge. Software that calculates at checkout needs your registrations first, because it only calculates where you are registered.
The next comparison, straight to your inbox
More guides in our how-to section, such as how to calculate depreciation, and the accounting apps compared in our ranking of business tax software.