Calculator
Invoice Tax Calculator
Enter a subtotal, a discount, a tax rate and any shipping charge to see the taxable amount, the tax and the total due. The calculation order is the same one the invoice generator uses.
Calculate invoice tax and total
Need the invoice itself?
The invoice generator uses this exact calculation and exports a PDF.
How do you calculate tax on an invoice?
Add the line totals to get the subtotal, deduct any discount, apply the tax rate to what remains, then add shipping. Tax is charged on the discounted amount, not the original subtotal.
Written as a formula: tax = (subtotal − discount) × rate, and total = (subtotal − discount) + tax + shipping. Getting the order wrong overstates the tax whenever a discount is involved, which is the most common arithmetic error on hand-made invoices.
The formula
- Subtotal = sum of (quantity × rate) for every line item
- Discount amount = subtotal × discount rate, or a fixed figure you set
- Taxable amount = subtotal − discount amount
- Tax = taxable amount × tax rate
- Total due = taxable amount + tax + shipping
Worked example
An invoice has three lines totalling 1,790.00. A 10% trade discount applies, the tax rate is 20%, and pallet delivery costs 85.00.
| Step | Calculation | Result |
|---|---|---|
| Subtotal | 720.00 + 750.00 + 320.00 | 1,790.00 |
| Discount | 1,790.00 × 10% | 179.00 |
| Taxable amount | 1,790.00 − 179.00 | 1,611.00 |
| Tax | 1,611.00 × 20% | 322.20 |
| Shipping | added after tax | 85.00 |
| Total due | 1,611.00 + 322.20 + 85.00 | 2,018.20 |
Things the calculator cannot decide for you
It applies the rate you enter. It does not know which rate is correct for your goods, your customer's location or your registration status, and rules differ between countries and sometimes between product categories in the same country. Shipping is a particular trap: in some jurisdictions delivery charges are taxable and in others they are not, which is why it is kept as a separate line rather than blended into the goods.
If you are unsure which rate applies, confirm it with an accountant or your national tax authority before you send the invoice. Correcting a tax rate afterwards means a credit note and a reissue.
Frequently asked questions
Published 18 September 2026. Last updated 18 September 2026. Written by the Free Invoice Generator team. General invoicing information, not tax or legal advice.
Related
- Invoice Discount CalculatorCalculate a percentage or fixed discount on an invoice and see how it changes the taxable amount.
- Free Invoice GeneratorCreate professional invoices online for free.
- Invoice vs ReceiptAn invoice requests payment; a receipt confirms payment was made.
- How to Write an InvoiceHow to write an invoice that gets paid: the required details, the order they belong in, how to number and date it, how to set terms, and a full worked example..
Put these totals on a real invoice
Add your details, list your work and download a professional PDF invoice. Free forever, no signup required.