Invoice Calculator — Build Invoice Totals with Tax in Seconds
Last reviewed:
Build an invoice from up to 5 line items. Adds VAT, GST or sales tax automatically based on your region. One-click copy of the result.
An invoice total is the subtotal of line items, minus any discount, plus tax: Total = (Subtotal − Discount) × (1 + Tax ÷ 100). On £500 with 10% discount and 20% UK VAT: discounted subtotal £450, VAT £90, total £540. Each line item is quantity × unit rate.
How it works
Add up to five line items with a description, quantity, and unit rate. The calculator multiplies quantity × rate for each line, sums them to a subtotal, applies any discount, then adds tax. Tax pre-fills based on your region: VAT 20% (UK), VAT 15% (SA), or 0% (USA — sales tax usually added at checkout).
Common mistakes
- Applying tax before the discount — the correct order is discount first, then tax on the discounted subtotal. A $1,000 invoice with a 10% discount and 20% VAT should total $1,080 (= $900 × 1.20), not $1,100. Tax-first arithmetic overcharges the client and creates a VAT remittance mismatch with HMRC or SARS.
- Non-sequential invoice numbers — UK and SA VAT rules require strictly sequential invoice numbering for audit purposes. Random or restarted numbering (jumping from INV-042 to INV-100, or restarting at INV-001 each quarter) is a flag in a VAT inspection. Use one continuous series across the business.
- Vague payment terms — "net-30" or "payable on receipt" without an explicit due date leads to late payment. Always print the actual due date on the invoice (e.g. "Due 14 June 2026") and the payment method/details. Invoices with explicit due dates and bank details get paid 7–10 days faster on average.
When to use this calculator
Use this for one-off invoices when you do not have an accounting platform open, when you need to quote a total with tax for a client over email, or when verifying that your invoicing software calculated the right number. Region tax pre-fills cover the three most common setups.
For ongoing client billing, a proper invoicing tool with templates and reminders pays for itself. If you are setting your hourly rate before quoting, run the numbers through the Freelance Rate Calculator first.
See the formula
Line Total = Quantity × Unit Rate Subtotal = Sum of all Line Totals Tax Amount = (Subtotal − Discount Amount) × (Tax Rate / 100) Invoice Total = Subtotal − Discount Amount + Tax Amount
Worked example
A UK consultant invoices a client for 18 hours of work at £85 per hour. The line total is 18 × £85 = £1,530 (the net amount, before VAT). The consultant is VAT-registered because annual turnover exceeds the UK's £90,000 threshold, so 20% VAT applies to the invoice: £1,530 × 0.20 = £306. The invoice total payable by the client is £1,530 + £306 = £1,836.
The consultant must remit the £306 to HMRC at the next VAT return; this is not earned income — it is collected on behalf of HMRC. The client's position depends on whether they can reclaim input VAT. A VAT-registered business client reclaims the £306 on their own return, so the effective cost to them is still £1,530. A consumer client, a non-VAT- registered sole trader, or a charity cannot reclaim — the £306 is genuine cost.
The regional differences matter: South Africa uses 15% VAT and a R1 million annual-turnover registration threshold, so the same R1,530 invoice would attract R229.50 of VAT and total R1,759.50. The United States has no federal VAT; sales tax rules are set state-by-state, generally do not apply to services purchased by another business, and rates range from 0% (Oregon, Delaware) to over 10% in some metropolitan areas. This calculator switches automatically when the region toggle changes.
Frequently Asked Questions
How do I calculate an invoice total with VAT?
How do I add a discount to an invoice?
What is the difference between VAT and sales tax?
Do I need to charge VAT on my invoices?
What should an invoice include?
How is invoicing different in the US, UK, and SA?
What is the most common invoicing mistake?
What if my client is in a different country — do I still charge VAT?
What if my quantity or rate is zero on a line item?
I have my invoice total — what should I do before sending?
Glossary
- Net Amount
- The invoice subtotal before tax — what you actually earn from the sale.
- Gross Amount
- The total payable by the client, including tax. This is the figure that lands in your bank account.
- VAT and GST
- Consumption taxes charged on the sale, collected by the seller, and remitted to the tax authority. Not revenue.
Related calculators
Methodology & sources
Rates last verified: May 2026Tax pre-fills at headline rates (UK VAT 20%, SA VAT 15%, US 0%). UK businesses must register for VAT above £90,000 turnover; SA threshold is R1M. Verify your registration status before issuing VAT invoices.
Primary sources
Rates are reviewed annually or when a region changes its headline rate. If you spot one that's out of date, email [email protected].
For information only. This calculator does not constitute financial, accounting, or tax advice. Consult a qualified professional before making business decisions.
Try these scenarios
Pre-filled examples — click any chip to load the inputs and result.
How to build an invoice total with tax
- Add each line itemEnter a description, quantity, and unit rate for each line. Add up to 5 lines.
- Set the tax ratePre-filled at 20% (UK VAT), 15% (SA VAT), or 0% (US — sales tax added at checkout). Override if needed.
- Optionally add a discountA percentage discount applied to the subtotal before tax is calculated.
- Read subtotal, tax, and invoice totalCopy the result block to paste into your invoice template.
Found this calculator useful?
Save it to a Pinterest board for later, or share with your team.
Written by
James BlanckenbergFounder, BusCalcTools
Founder of BusCalcTools and FinnCalc. Builds practical financial calculators for small business owners and freelancers across the US, UK, and South Africa.
Editorial review by: James Blanckenberg, Founder & Editor
More about James →