Invoicing & Payments

Invoice Calculator

Calculate an invoice total fast — quantity, rate, discount and sales tax/VAT, with the full breakdown shown.

Recommended hourly rate

    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.

    Frequently asked questions

    How do I calculate an invoice total?

    Multiply the quantity or hours billed by your rate to get the subtotal. Subtract any discount, then add sales tax or VAT on top of the discounted amount. The calculator above does this automatically — enter your quantity, rate, discount and tax rate and it shows every step.

    Should a discount be applied before or after tax?

    Apply the discount first, then calculate tax on the reduced amount. That's how the calculator works — subtotal minus discount gives you the after-discount figure, and tax is calculated on that figure, not on the original subtotal.

    What tax rate should I use on an invoice?

    That depends on where you and your client are based and what you're selling, and it can vary by location. This tool lets you enter any rate so you can see the total, but it doesn't tell you which rate applies to your situation — confirm the correct rate with an accountant before sending the invoice.

    Is this invoice total a guarantee of what I'll be paid?

    No. The calculator shows an estimate based on the numbers you enter — quantity, rate, discount and tax. It doesn't account for payment processing fees, currency conversion, partial payments or anything else that might change what actually lands in your account.

    Can I use this for a quote instead of an invoice?

    Yes. The math is the same whether you call it a quote, an estimate or an invoice — quantity times rate, less any discount, plus tax. Run your numbers here first, then carry the same figures onto whichever document you send the client.