Finance CalculatorsA little help for every day

Search by name or task, such as JSON or percentage.

Finance Calculators

Invoice Total Calculator with VAT per Line

Add up invoice line items with quantities, a default VAT rate or a rate per line and an overall discount to get the net subtotal, VAT and invoice total.

View all tools
ResultUpdates as you type
Invoice total£689.97
Net subtotal£578.97
Tax£111.00
Lines3
ItemQtyUnit priceNetRateTaxGross
Consulting (hours)6£85.00£510.0020%£102.00£612.00
Printer paper10£4.50£45.0020%£9.00£54.00
Children's books3£7.99£23.970%£0.00£23.97
RateNetTaxGross
20%£555.00£111.00£666.00
0%£23.97£0.00£23.97

Tax = net × rate, rounded per line to the smallest currency unit. The discount is spread across lines before tax.

How to use Invoice Total Calculator with VAT per Line

Enter one line item per line as item, unit price, quantity and an optional VAT rate. Set the default rate and any discount, and tick Prices include tax if your prices already contain VAT.

  1. List the line itemsWrite item, unit price, quantity, e.g. Printer paper, 4.50, 10; add a fourth value for a different rate.
  2. Set rate and discountThe default tax rate is 20%; add an overall discount in % and tick Prices include tax if needed.
  3. Check the totalsRead the invoice total, net subtotal, tax, discount and line table, plus a summary per rate.

Example: an invoice with 20% and 0% VAT

The default lines are 6 hours of consulting at £85, 10 packs of printer paper at £4.50 and 3 children's books at £7.99, with 0 as a fourth value because books are zero-rated. VAT at 20% is £102.00 on £510 of consulting and £9.00 on £45 of paper, so the net subtotal is £578.97, the VAT £111.00 and the invoice total £689.97. Because two rates are used, a summary table shows £555.00 net at 20% and £23.97 at 0%. Add a 10% discount and every line is reduced before VAT, giving a total of £620.97.

VAT-inclusive prices and rounding

Tax is worked out for each line and rounded to the penny before the lines are added up, which matches how most invoicing software shows VAT per line. If you tick Prices include tax, each line total is treated as gross: net = gross ÷ (1 + rate) and the VAT is the difference, so the same three lines give £486.47 net and £92.50 of VAT within a £578.97 total. Names that contain commas must be wrapped in straight double quotes, as in "Design, logo and icons", 450, 1. Lines that cannot be read are skipped and listed in a note.

Accuracy and data handling

Money results depend on the inputs and rounding method and are not financial, tax or investment advice. The calculation runs in your current browser; the tool code does not send the input to a processing API.

Often Used Together

Next step

FAQ

Can one invoice have items at different VAT rates?

Yes. Add the rate as a fourth value on any line, for example Children's books, 7.99, 3, 0. Lines without it use the default rate, and a per-rate summary appears when more than one rate is used.

Is the discount applied before or after VAT?

Before. The discount percentage reduces each line's net amount, then VAT is calculated on what is left. With prices that include tax, the discount reduces the gross line amounts instead.

Can I use it for sales tax or GST?

Yes. The rate is simply a percentage, so enter your sales tax or GST rate as the default and pick a currency from the 14 available.

More Finance Calculators

Related tools