foundercalc

Invoice Calculator

Calculate an invoice total from the subtotal, a discount, and a tax rate.

Reviewed for accuracy

Quick Answer

Calculate an invoice total from the subtotal, a discount, and a tax rate.

Invoice Calculator Live
Email

Educational estimates only.

What this invoice calculator does

The invoice calculator above computes the final amount a client owes from three inputs: the subtotal, an optional discount, and a tax rate. It handles the part of invoicing that trips people up — the order in which discount and tax are applied — so the total is correct and defensible. Getting this right matters: a mistake in the wrong direction either shortchanges you or overcharges the client, and both damage trust.

For freelancers and small businesses without accounting software, a quick, correct total is exactly what’s needed when drafting an invoice or quoting a client on the spot. This calculator does the arithmetic the standard way and shows the discount and tax amounts separately so you can drop them straight onto the invoice line items.

The formula

Discount amount   = Subtotal × (Discount % / 100)
Discounted total  = Subtotal − Discount amount
Tax amount        = Discounted total × (Tax rate / 100)
Invoice total     = Discounted total + Tax amount
  • Subtotal — the pre-tax, pre-discount amount for your goods or services.
  • Discount — any percentage discount applied before tax.
  • Tax rate — the applicable sales tax, VAT, or GST rate as a percentage.

The crucial detail is the order of operations: discount first, then tax on the discounted amount. This calculator follows that convention.

Worked example

A $5,000 subtotal with a 10% discount and 8% tax:

Discount amount  = $5,000 × 10% = $500
Discounted total = $5,000 − $500 = $4,500
Tax amount       = $4,500 × 8% = $360
Invoice total    = $4,500 + $360 = $4,860

The client owes $4,860. Note why the order matters: if you mistakenly taxed the full $5,000 first ($400 tax) and then discounted, you’d get a different — and in most jurisdictions, incorrect — total. Tax is almost always calculated on the amount the customer actually pays, which is the post-discount figure.

With no discount and no tax, the total simply equals the subtotal — useful for a clean services invoice where you’re billing a flat fee.

Benchmarks and conventions

There aren’t “benchmarks” for an invoice total, but there are conventions worth following:

  • Tax after discount is the standard treatment in most sales-tax and VAT systems — tax applies to the consideration actually paid.
  • Show line items separately. List the subtotal, the discount, the tax, and the total as distinct lines. Clients (and tax authorities) expect to see the breakdown, not just a final number.
  • State the tax rate explicitly on the invoice, especially for cross-border work where the client may need it for their own filings.

How to use it and what it doesn’t cover

Use the separated outputs directly on your invoice: the discount amount becomes a discount line, the tax amount becomes a tax line, and the total is what you request. This keeps your invoice transparent and easy for the client’s finance team to process — which, in practice, means you get paid faster.

A few things this calculator deliberately keeps simple. It applies a single discount and a single tax rate to one subtotal; it does not handle multiple line items with different tax treatments, compound or tiered taxes, withholding tax, or currency conversion. For most freelance and small- business invoices — a project fee or a block of billable hours with one tax rate — that’s all you need. For complex multi-jurisdiction billing, dedicated invoicing software will manage the edge cases.

Also remember that sales tax rules vary by location and by what you’re selling. Whether you must charge tax at all, and at what rate, depends on your jurisdiction and sometimes the client’s. This calculator does the math once you know your rate; it doesn’t determine what that rate should be.

Frequently asked questions

How is an invoice total calculated? Start from the subtotal, subtract any discount to get the discounted amount, then apply the tax rate to that discounted amount. The invoice total is the discounted subtotal plus the tax. This calculator applies tax after the discount, which is the standard order.

Should tax be applied before or after a discount? In most jurisdictions, tax is calculated on the discounted price — the amount the customer actually pays — not the original subtotal. This calculator follows that convention by applying the discount first, then tax.

Did this calculator help you?