How to calculate tax on an invoice
Adding tax to an invoice is straightforward once you know whether your prices already include it. This guide explains the two approaches, walks through the maths, and shows how SafeKit does it for you. It is general guidance, not tax advice — which taxes apply to you depends on your local rules.
Try the Free Invoice GeneratorFree, no sign-up — build a PDF in minutes.Tax-exclusive vs tax-inclusive
Tax-exclusive pricing means your listed prices do not include tax, so tax is added on top of the subtotal. Tax-inclusive pricing means your prices already contain the tax, so the invoice shows how much of the total is tax rather than adding more. Business-to-business invoices are commonly tax-exclusive; consumer prices are often tax-inclusive.
The calculation, step by step
- Add up the line totals to get the subtotal.
- Apply any invoice-level discount to the subtotal.
- Multiply the discounted subtotal by your tax rate to get the tax amount (for exclusive pricing).
- Add the tax to the discounted subtotal to get the total due.
A worked example
Subtotal $1,000, a 10% discount (−$100) leaves $900. Sales tax at 8% on $900 is $72. The total due is $972, and the invoice shows $72 as tax. SafeKit runs this calculation automatically as you type, and supports multiple taxes, tax-exempt items, and both inclusive and exclusive pricing.