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.
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.
- List the line itemsWrite item, unit price, quantity, e.g. Printer paper, 4.50, 10; add a fourth value for a different rate.
- Set rate and discountThe default tax rate is 20%; add an overall discount in % and tick Prices include tax if needed.
- 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.
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 toolsPayPal fees, amount received and the amount to charge for a target.
Stripe fees, net amount and the price to charge for a target payout.
How long to reach a savings goal, or the monthly amount you need.
Simple interest, total and reverse solving for principal, rate or term.
Payoff time, total interest and debt-free date for any debt.
Project your retirement pot, income and its value in today's money.