Home/Calculator Tools/Invoice Calculator
🧾

Invoice Calculator

Add line items, quantities and tax to get an invoice total

Free · No sign-up required

What this calculator does

Add line items with a quantity and a unit price, an optional tax rate, and get a correct subtotal, tax amount and total — the arithmetic that goes wrong most often when it is done by hand across several lines, especially once a discount or a tax rate that only applies to some lines gets involved.

Line total = quantity × unit priceSubtotal = sum of all line totalsTotal = subtotal × (1 + tax rate)

Where tax is applied, and why it matters

Tax is calculated on the subtotal, after every line is summed, not on each line individually and then added up. For a clean flat tax rate the two approaches give the same answer, but they diverge the moment rounding enters the picture: rounding tax to the cent on each of ten lines and adding the results can land a cent or two away from rounding the tax once on the combined subtotal. Invoices, receipts and accounting software consistently use the second method — tax the subtotal once — because it is the one that reconciles cleanly, and this tool follows the same convention.

A worked example

ItemQuantityUnit priceLine total
Consulting hours12$85.00$1,020.00
Software licence1$240.00$240.00
Onboarding session3$60.00$180.00

Subtotal: $1,440.00. At an 8% tax rate, tax is $115.20, and the total due is $1,555.20.

When to leave tax at zero

  • Business-to-business invoices in many countries where VAT or GST is reverse-charged to the buyer rather than added by the seller.
  • Tax-exempt clients such as registered charities or government bodies in jurisdictions that exempt them.
  • Quotes and estimates where the final tax treatment has not been determined yet — better to leave it blank than guess.

When tax genuinely does apply, check the correct rate for your jurisdiction and category of goods or services — rates commonly differ between standard goods, services, and specific categories like food or children's items. If the tax itself needs working out from a total that already includes it, rather than added on top, Sales Tax Calculator and VAT Calculator handle that reverse case directly.

What this tool does not replace

It produces the numbers, not a compliant document. A real invoice generally needs a sequential invoice number, both parties' details, an issue date and a payment due date, and in many jurisdictions a specific tax registration number and wording. Use this to get the totals right, then place them into whatever template or accounting software your business actually issues invoices from.

Frequently asked questions

Can I apply a different tax rate to different lines?

Not in one pass here — calculate the taxed and untaxed groups separately, or use a rate of 0 for the exempt lines and add their subtotal back manually.

How do I apply a discount?

Enter the already-discounted unit price on the line, or reduce the subtotal by the discount amount before applying tax, matching however your business normally sequences discounts against tax.

Why is my tax total a cent different from doing it by hand?

Rounding. Tax calculated once on the summed subtotal, as this tool does, can differ by a cent or two from tax rounded and summed line by line. The subtotal method is the one accounting systems use.

Does this calculate currency conversion?

No — all figures are assumed to be in one currency.

Can I export this as a PDF invoice?

Not directly from here. Bring the totals into HTML to PDF or your invoicing software to produce the finished document.

Is my data uploaded anywhere?

No. Every line item and the calculation stay in your browser.

More tools in this category

🏠
Mortgage Calculator
Calculate monthly mortgage payments and amortization
🏦
Loan Calculator
Calculate monthly loan payments and total interest
🚗
Auto Loan Calculator
Calculate monthly car loan payments with down payment
📈
Compound Interest Calculator
Calculate compound interest and investment growth
📊
Investment Calculator
Project the future value of a lump sum plus regular contributions
🏖
Retirement Calculator
Estimate your savings at retirement age and how much is growth