VAT Calculator Excel

Excel is the right tool when VAT repeats down a column. If you have fifty sales to price, a month of invoices to total, or a VAT return to build from your own records, a spreadsheet does in seconds what would take an afternoon by hand. Set the formulas up once, copy them down the column, and every row works itself out. A single sum is different. For one price, one invoice or one quick check, our UK VAT calculator is faster than opening a spreadsheet at all.

This page gives you the exact Excel formulas to add VAT, take VAT out, handle the 5 percent reduced rate and zero rated sales, and total a whole column. It also gives you a free template layout you can copy in minutes, with one worked example carried through every section so you can check your own sheet against it. The worked example is three sales: net 100 pounds at 20 percent, net 200 pounds at 5 percent, and net 50 pounds at 0 percent. The VAT on those three sales is 20 pounds plus 10 pounds plus 0 pounds, which is 30 pounds. The total net is 350 pounds and the total gross is 380 pounds. Every formula on this page is written for a net price in cell A2, a gross price in cell B2, and a rate in cell C2 as a decimal, such as 0.2 for 20 percent.

An Excel spreadsheet on a computer monitor with quantity and amount columns and totals at the bottom

Add VAT in Excel

Adding VAT to a net price is the most common VAT calculation in Excel, and it needs only one formula. The VAT amount on a net price is the net price times the rate. With the net price in A2 and the rate as a decimal in C2, the formula is =A2*C2. A net price of 100 pounds at 20 percent gives =100*0.2, which is 20 pounds of VAT. If you want the gross price, the price including VAT, multiply the net price by one plus the rate. With the net price in A2, the formula is =A2*1.2, and 100 pounds at 20 percent gives 120 pounds gross. Written with a rate cell, the same formula is =A2*(1+C2), which works for any rate you put in C2.

What you wantFormulaExample (100 pounds net, 20%)Result
VAT amount=A2*0.2=100*0.220.00 pounds
Gross price=A2*1.2=100*1.2120.00 pounds
Gross price, any rate=A2*(1+C2)=100*(1+0.2)120.00 pounds

Put the rate in its own cell and refer to it, rather than typing 0.2 into every formula. If the rate changes, or if some rows are at 5 percent and some at 20 percent, you change one cell instead of editing every formula. This is the single most useful habit in any VAT spreadsheet, and it is the one most people skip. A rate cell also makes the sheet readable: anyone opening it can see that C2 holds the rate and A2 holds the net price, without having to work out what a bare 0.2 means.

Apply the formula to the worked example. Three sales, net 100 pounds at 20 percent, net 200 pounds at 5 percent, net 50 pounds at 0 percent. The VAT is 20 pounds on the first sale, 10 pounds on the second, and 0 pounds on the third, which is 30 pounds in total. The gross prices are 120 pounds, 210 pounds and 50 pounds, which total 380 pounds. The net total is 350 pounds. If your sheet shows those four totals, 30 pounds of VAT, 350 pounds net and 380 pounds gross, your formulas are right. If it shows anything else, check the rate cells first, because a rate typed as 20 instead of 0.2 is the usual cause, and that mistake is covered in the common mistakes section below.

For a single amount you want to add VAT to, without a spreadsheet, our add VAT calculator does the same calculation in one click.

Take VAT out in Excel

Taking VAT out of a gross price is the calculation people get wrong most often, in Excel and on paper. The temptation is to take 20 percent off the gross price, and that gives the wrong answer, because VAT at 20 percent is 20 percent of the net price, not 20 percent of the gross price. The correct way is to divide the gross price by 1.2, which gives the net price, and then subtract the net price from the gross price to get the VAT.

With the gross price in B2, the net price is =B2/1.2. A gross price of 120 pounds gives =120/1.2, which is 100 pounds net. The VAT inside that gross price is =B2-B2/1.2, which is 120 pounds less 100 pounds, or 20 pounds of VAT. Written with a rate cell, the same two formulas are =B2/(1+C2) for the net price and =B2*C2/(1+C2) for the VAT. Both work for any rate you put in C2.

What you wantFormulaExample (120 pounds gross, 20%)Result
Net price=B2/1.2=120/1.2100.00 pounds
VAT inside the gross price=B2-B2/1.2=120-120/1.220.00 pounds
VAT inside, any rate=B2*C2/(1+C2)=120*0.2/(1+0.2)20.00 pounds

A quick check for the 20 percent rate is the divide by 6 rule. The VAT inside a gross price at 20 percent is one sixth of the gross price, because 20 divided by 120 is one sixth. A gross price of 120 pounds divided by 6 is 20 pounds of VAT, and a gross price of 240 pounds divided by 6 is 40 pounds of VAT. Use it to check a formula result, not to replace the formula, because the divide by 6 rule only works at 20 percent, while the formula works at any rate.

Take the worked example backwards. The three gross prices are 120 pounds, 210 pounds and 50 pounds. Divide 120 pounds by 1.2 and you get 100 pounds net, with 20 pounds of VAT. Divide 210 pounds by 1.05 and you get 200 pounds net, with 10 pounds of VAT. Divide 50 pounds by 1, or leave it as it is, and you get 50 pounds net with 0 pounds of VAT. The totals are the same as before: 350 pounds net, 30 pounds of VAT, 380 pounds gross. If you build both directions in your sheet, the add VAT formulas and the take VAT out formulas, the two directions should agree exactly, and that agreement is a good check that the sheet is right.

For a single gross price you want to work backwards from, our reverse VAT calculator does the same job without a spreadsheet.

Hands typing on a laptop keyboard beside a window

The reduced rate and zero rated sales in Excel

Not every sale is at 20 percent, and a VAT spreadsheet has to handle the other rates without breaking. The reduced rate is 5 percent, and zero rated sales carry 0 percent VAT. Both are simple in Excel once the rate sits in its own cell, because the same formulas work at any rate.

At the 5 percent reduced rate, add VAT with =A2*1.05 and take it out with =B2/1.05. A net price of 200 pounds at 5 percent gives a gross price of =200*1.05, which is 210 pounds, and the VAT is 10 pounds. A gross price of 210 pounds at 5 percent gives a net price of =210/1.05, which is 200 pounds, and the VAT inside is 10 pounds. The VAT amount on a net price at 5 percent is =A2*0.05, which gives 10 pounds on a 200 pound net price.

Zero rated sales are simpler still. The VAT is 0 pounds and the gross price equals the net price. A net price of 50 pounds at 0 percent gives a gross price of 50 pounds, and the VAT is 0 pounds. The same formulas still work if the rate cell holds 0: =A2*(1+C2) with C2 equal to 0 gives =A2*1, which is the net price, and =B2*C2/(1+C2) with C2 equal to 0 gives 0 pounds of VAT. That is why the rate cell matters. One set of formulas handles 20 percent, 5 percent and 0 percent, and the only thing that changes from row to row is the rate in column C.

RateNet priceAdd VAT formulaGross priceVAT
20%100 pounds=A2*1.2120.00 pounds20.00 pounds
5%200 pounds=A2*1.05210.00 pounds10.00 pounds
0%50 pounds=A2*150.00 pounds0.00 pounds

The mistake to avoid is leaving a zero rated sale out of the sheet altogether. A zero rated sale carries no VAT, but it is still a taxable sale, and it still counts towards the 90,000 pound VAT registration threshold. Keep it in the sheet with a rate of 0, so the net total and the gross total are both right, and the VAT total is right too. The same applies to the worked example: leave out the 50 pound zero rated sale and the gross total drops from 380 pounds to 330 pounds, which is wrong even though the VAT total stays at 30 pounds.

If you are not sure whether a sale is zero rated or reduced rated, check our UK VAT rates page before you set the rate in the sheet. Getting the rate right in the spreadsheet is the same job as getting it right on an invoice, and the rates page lists what qualifies for 5 percent and what is zero rated.

Build the template

A VAT template is a simple table with six columns, one row per sale, and totals at the bottom. The columns are Date, Description, Net, VAT rate, VAT amount and Gross. Every row is one sale, and the VAT amount and Gross columns are formulas, not typed numbers, so the sheet updates itself when you change a price or a rate.

Set it up like this, with the first sale in row 2. Column A is the date, column B is a short description of the sale, column C is the net price, column D is the VAT rate as a decimal, column E is the VAT amount, and column F is the gross price. In cell E2, type =C2*D2. In cell F2, type =C2*(1+D2). Then copy both formulas down the column for every sale. The rate in column D is typed as 0.2 for 20 percent, 0.05 for 5 percent, and 0 for zero rated, and it is the only number in the row that describes the rate, so the VAT and gross formulas always use the right one.

DateDescriptionNetVAT rateVAT amountGross
1 Dec 2026Website design100.00 pounds0.2=C2*D2=C2*(1+D2)
1 Dec 2026Energy saving materials200.00 pounds0.05=C3*D3=C3*(1+D3)
1 Dec 2026Children’s books50.00 pounds0=C4*D4=C4*(1+D4)
Totals=SUM(C2:C4)=SUM(E2:E4)=SUM(F2:F4)

The totals row uses =SUM() on each money column. The net total is =SUM(C2:C4), which gives 350 pounds. The VAT total is =SUM(E2:E4), which gives 30 pounds. The gross total is =SUM(F2:F4), which gives 380 pounds. The three totals should agree with each other: net plus VAT equals gross, so 350 pounds plus 30 pounds equals 380 pounds. If they do not agree, a formula is wrong somewhere, and the row where net plus VAT does not equal gross is the row to check.

A second small table turns the sales totals into a VAT return figure. Output VAT is the VAT you charged on your sales, which is the 30 pound total from the template above. Input VAT is the VAT you paid on your own purchases, which you total the same way on a second sheet or in a second table. The VAT you owe HMRC is your output VAT less your input VAT. Here is the same idea with a bigger quarter, to show the return maths at full scale: output VAT of 380 pounds, input VAT of 120 pounds, and VAT owed of 260 pounds. The formula is =output-input, and if the result is negative, HMRC owes you the difference and you claim a repayment on your return.

Amount
Output VAT (VAT on sales)380.00 pounds
Input VAT (VAT on purchases)120.00 pounds
VAT owed to HMRC=380-120, which is 260.00 pounds

For a day of sales with many lines, the same template works with more rows, and our sales VAT calculator does the same totalling for a list of sales if you would rather not build the sheet yourself.

A desk with a laptop, a calculator, an open notebook with handwritten notes and a pen, in sunlight

Common mistakes

Typing 20 instead of 0.2 in the rate cell is the most common mistake in a VAT spreadsheet, and it is also the most expensive. A rate cell holding 20 instead of 0.2 turns =A2*(1+C2) into =A2*21, so a 100 pound net price becomes 2,100 pounds gross instead of 120 pounds. Type the rate as a decimal, 0.2 for 20 percent and 0.05 for 5 percent, and format the cell as a percentage if you want it to show as 20 percent on screen. A cell formatted as a percentage holds 0.2 underneath, so the formulas still work, and the display is easier to read.

Using the gross price as the net price is the second mistake. If a customer agrees a price of 120 pounds including VAT, the net sale is 100 pounds and the VAT is 20 pounds, not a net sale of 120 pounds with 24 pounds of VAT on top. In the template, the gross price goes in column F, which is a formula, and the net price goes in column C, which is typed. If you type a gross price into column C, every figure in that row is wrong. Always check whether a quoted price includes VAT before you type it into the net column.

Rounding too early is the third mistake. Round the result, never the rate, and round at the end, not in the middle. The formula to round money to pence is =ROUND(A2*0.2,2), which rounds the VAT amount to two decimal places. If you round each line to the nearest pound before totalling, the total can be a pound or two out, and the error is hard to find. Keep full precision in the working columns and round only the totals, or use the ROUND formula on the VAT amount column and leave the net column unrounded.

Forgetting the reduced rate is the fourth mistake. If part of what you sell qualifies for 5 percent, such as energy saving materials, and you put 0.2 in the rate cell for the whole column, you overstate the VAT and overcharge the customer. Set the rate row by row, one rate per sale, and check the rate for what you sell on our UK VAT rates page before you fill the sheet in.

Hard coding the rate in every formula instead of using one rate cell is the fifth mistake. A formula that says =A2*1.2 works today, but when the rate changes, or when a row needs 5 percent instead of 20 percent, you have to edit every formula by hand. A formula that says =A2*(1+C2) works at any rate, because the rate lives in column D. One rate cell per row, and the formulas refer to it, is the habit that keeps a VAT spreadsheet working for years.

Hands with a pen over charts and papers on a wooden desk, with a laptop, a cup of coffee and a calendar page

Working with a whole column

Once the formulas are set up on one row, copy them down the column to cover every sale. Click the cell with the formula, drag the small square at the bottom right corner down as far as you need, and Excel copies the formula with the row references updated. The VAT amount formula in E2 becomes =C3*D3 in row 3, =C4*D4 in row 4, and so on, with each row using its own net price and its own rate. That is the whole point of the template: one row of formulas, copied down, covers a hundred sales.

To total a whole column, use =SUM() over the full range, and extend the range when you add rows. If your sales run from row 2 to row 51, the VAT total is =SUM(E2:E51). If you add a sale in row 52, extend the range to =SUM(E2:E52), or build the total with a range that already covers more rows than you need, such as =SUM(E2:E200), so new rows fall inside it automatically. Empty rows add nothing to a SUM, so a generous range is safe.

If you want the totals to update without thinking about ranges at all, format the table as an Excel Table with Ctrl and T. A Table extends its formulas and its total row automatically when you add a row, and the total row gives you a SUM for each money column at the click of a dropdown. It is the simplest way to keep a VAT sheet correct as it grows through the year.

Sort and filter are worth using too. Filter column D by rate to see all the 5 percent sales together, or filter column B by description to find one invoice. A filtered view does not change the totals, because SUM ignores hidden rows only if you use SUBTOTAL, so use =SUBTOTAL(9,E2:E51) for the VAT total if you want the total to follow the filter. For a VAT return, use the plain SUM over the full column, because HMRC wants the total for the whole period, not for a filtered view of it.

A person writing in a notebook with a pen beside a laptop on a wooden desk

FAQ

Multiply the net price by one plus the rate. With the net price in A2 and the rate as a decimal in C2, the formula is =A2*(1+C2). At 20 percent, that is =A2*1.2, and a net price of 100 pounds gives a gross price of 120 pounds. The VAT itself is =A2*C2, which is 20 pounds on a 100 pound net price at 20 percent.

Divide the gross price by one plus the rate. With the gross price in B2, the net price is =B2/1.2 at 20 percent, and a gross price of 120 pounds gives a net price of 100 pounds. The VAT inside the gross price is =B2-B2/1.2, which is 20 pounds. With a rate cell, the same formulas are =B2/(1+C2) for the net price and =B2*C2/(1+C2) for the VAT.

The VAT amount on a net price is =A2*0.2, and the gross price is =A2*1.2. The VAT inside a gross price is =B2*0.2/1.2, which is the same as dividing the gross price by 6. A net price of 100 pounds at 20 percent carries 20 pounds of VAT and a gross price of 120 pounds, and a gross price of 120 pounds carries 20 pounds of VAT and a net price of 100 pounds.

Put one sale per row, with the net price in one column and the rate in another, then put the VAT formula in a third column and copy it down. With the net price in column C, the rate in column D and the VAT amount in column E, the formula in E2 is =C2*D2, copied down to every row. Total the column with =SUM(E2:E51) over the rows you have, and the total is the VAT on the whole column.

Total the VAT on your sales to get output VAT, total the VAT on your purchases to get input VAT, then subtract input VAT from output VAT. If output VAT is 380 pounds and input VAT is 120 pounds, the VAT owed is =380-120, which is 260 pounds. If the result is negative, HMRC owes you the difference and you claim a repayment on your return.

No. Excel has no built-in VAT function, and there is no VAT button or VAT formula in the function list. You build VAT with ordinary arithmetic: multiply by the rate to add VAT, divide by one plus the rate to take VAT out, and use SUM to total a column. The formulas on this page are all you need, and they work in Excel, Google Sheets and LibreOffice Calc.

Use the same formulas with 0.05 in the rate cell instead of 0.2. Add VAT with =A2*1.05 and take it out with =B2/1.05. A net price of 200 pounds at 5 percent gives a gross price of 210 pounds and 10 pounds of VAT. A gross price of 210 pounds at 5 percent gives a net price of 200 pounds and 10 pounds of VAT. Zero rated sales use 0 in the rate cell, so the VAT is 0 pounds and the gross price equals the net price.

Final Thoughts

A VAT spreadsheet is worth building once and using for years. Set the rate in its own cell, use =A2*(1+C2) to add VAT and =B2/(1+C2) to take it out, copy the formulas down the column, and total with SUM. The worked example on this page is your check: three sales, net 100 pounds at 20 percent, net 200 pounds at 5 percent and net 50 pounds at 0 percent, should give 30 pounds of VAT, 350 pounds net and 380 pounds gross, and a VAT return of 380 pounds output less 120 pounds input leaves 260 pounds owed. If your sheet gives those numbers, it is right, and you can trust it with a hundred rows as easily as with three. For a single sum, skip the spreadsheet and use our UK VAT calculator, and for a day of sales, our sales VAT calculator does the same totalling in the browser. Our VAT calculator homepage has the full set of free VAT tools if you need a different calculation. Keep the rate in its own cell, round the result and never the rate, and the maths will look after itself.