An invoice total looks like simple multiplication, but once you add a discount and a tax rate it’s easy to apply them in the wrong order or to the wrong base amount — and that mistake either shortchanges you or overcharges your client. This page shows exactly how the total is built, in order, so you can check your own invoice in seconds.
How the invoice total is calculated
The calculator works through four numbers in a fixed order: quantity, rate, discount and tax.
Subtotal = Quantity × Rate
Discount = Subtotal × (Discount % ÷ 100)
After discount = Subtotal − Discount
Tax = After discount × (Tax % ÷ 100)
Total due = After discount + Tax
The key detail is the order of operations. The discount is taken off the subtotal first. Tax is then calculated on what’s left — the after-discount amount — not on the original subtotal. If you calculate tax before applying the discount, your total will come out higher than it should.
A worked example
Scenario 1 — no discount, no tax. You bill 10 hours at $75 an hour, with no discount and no sales tax.
Subtotal: 10 × $75 = $750. With a 0% discount, the discount is $0, so the after-discount amount is still $750. With a 0% tax rate, tax is $0, so the total due is $750.
Scenario 2 — with a discount and tax. Same job — 10 hours at $75 — but this time you offer the client a 10% discount and you need to add 8% sales tax.
Start with the same subtotal: 10 × $75 = $750.
Apply the discount: $750 × 10% = $75 discount, leaving an after-discount amount of $750 − $75 = $675.
Apply tax to that after-discount figure: $675 × 8% = $54 tax.
Total due: $675 + $54 = $729.
Notice the tax is calculated on $675, not on the original $750 — that’s the step people most often get wrong when doing this by hand.
The common mistake: taxing the wrong amount
The most frequent error is calculating tax on the subtotal and applying the discount separately, rather than taxing the discounted amount. In the example above, taxing the full $750 instead of the discounted $675 would add $60 of tax instead of $54 — a $6 difference that compounds on every invoice you send. It’s a small gap on one line, but it adds up fast across a year of invoices, and it can leave your numbers not matching what your accounting software calculates if it applies tax to the post-discount total (which is standard practice). Always discount first, then tax what’s left.
What else affects your invoice total
The calculator covers the core math, but a few other things can change what actually shows up on the document or in your bank account:
- Multiple line items. If your invoice has several products or services at different rates, total each line separately before applying a single overall discount or tax rate, or run each line through the calculator individually.
- Payment processing fees. If a client pays by card or through a platform, the processor’s fee is typically deducted after the invoice is paid, not built into the invoice total itself.
- Currency conversion. Invoicing in a currency different from your own bank account introduces exchange rate movement between the invoice date and the payment date.
- Tax rules that vary by location. Sales tax and VAT rates, and whether tax applies at all, depend on where you and your client are based and what’s being sold. This calculator lets you enter any rate, but confirm the correct one for your situation with an accountant rather than guessing.
Try it with your own numbers
Enter your own quantity, rate, discount and tax rate into the calculator at the top of this page. It’s the same arithmetic shown above — subtotal, discount, after-discount, tax, total — so you can check it against your invoicing software or a quote before you send it to a client. Remember the result is an estimate based on what you enter, not a confirmation of what’s owed or what tax applies.