Smekys
Ad Space

Invoice Total Calculator

Free invoice total calculator: add subtotal, sales tax, trade discount and shipping to get the grand total your client owes. Fast, no sign-up.

Enter Values

$

Sum of all line items (goods or services) before any discount, tax or shipping.

%

Trade discount or early-payment discount, e.g. 10% off for paying now. Use 0 for none.

%

Your combined state and local sales tax rate; 0 if the sale is tax-exempt.

$

Flat shipping or delivery charge added to the invoice; 0 for pickup or digital delivery.

Result

Discount Amount
$100.00
Taxable Subtotal
$900.00
Sales Tax
$72.00
Shipping & Handling
$25.00
Invoice Grand Total
$997.00

Sending an invoice that undercharges tax and shipping, or that applies a discount at the wrong step, costs real money on every single billing cycle. This invoice total calculator walks the whole stack in the order real accounting software uses: start from the subtotal, knock off the discount, charge sales tax on what is left, then add shipping and handling. The result is the exact grand total your client should transfer — and a clean breakdown you can copy straight onto the invoice line items.

Type the four numbers and the grand total updates instantly. Slide the discount up and down to see how much a trade deal or an early-payment offer changes what is actually collected.

How to Use

  1. Enter the Invoice Subtotal — the sum of every line item on the bill, before anything else is applied. If you invoiced for 10 hours of consulting at $100, the subtotal is $1,000.
  2. Set the Discount as a percentage. A 10% trade discount, a 5% loyalty discount, or a 2% early-pay discount all go here as a plain percent. Leave it at 0 if the price is fixed.
  3. Type your Sales Tax Rate. Use the combined state and local rate that applies at the buyer's location, not just the state rate. If the sale is exempt (nonprofit resale, out-of-state digital services), enter 0.
  4. Add the Shipping & Handling flat charge. Use 0 for local pickup, digital products, or services with no delivery cost.
  5. Read the result card from top to bottom: discount amount, taxable subtotal, sales tax, shipping, and finally the highlighted Invoice Grand Total — the number the client actually owes.

The engine applies the discount to the subtotal first, then charges tax on the discounted base. That matches how most accounting software (and most sales-tax jurisdictions) treat a trade discount: you only collect tax on the amount actually paid.

The Invoice Total Formula

The grand total follows one closed-form equation used by small-business accounting packages:

Grand Total = Subtotal × (1 − Discount%) × (1 + Tax Rate%) + Shipping

Breaking it down:

  • Discount Amount = Subtotal × Discount% — the money the customer saves.
  • Taxable Subtotal = Subtotal − Discount Amount — the figure tax is charged on.
  • Sales Tax = Taxable Subtotal × Tax Rate% — tax is never charged on the discount.
  • Grand Total = Taxable Subtotal + Sales Tax + Shipping & Handling.

Worked example on a $1,000 subtotal with an 8% tax rate, a 10% discount, and $25 shipping: the discount is $100, the taxable base drops to $900, sales tax is $72, and the grand total is $997.00. Notice the tax ($72) is lower than it would be on the full $1,000 ($80) — that is the discount-before-tax order working correctly, and it is worth about $8 of collected tax on this invoice alone.

Why Discount-Before-Tax Matters

Some sellers apply tax to the full subtotal and subtract the discount afterward. That usually overstates the tax bill. US sales-tax rules generally say tax is due on the actual selling price after a genuine trade discount, not on the list price. Charging tax on the pre-discount base can make your invoice look wrong to a careful buyer and, in an audit, can overstate taxable revenue.

When in doubt, match the order on your previous invoices. The math is simple either way — what matters is that you and your client agree on the order once and never change it mid-year.

Examples

Example 1 — The standard invoice (the numbers above). A freelancer bills $1,000 of work, offers a 10% early-payment discount, collects 8% sales tax, and adds $25 shipping. Discount $100, tax $72, shipping $25 → grand total $997.00. The result card shows exactly the four lines a bookkeeper expects to see.

Example 2 — Tax-exempt resale. A shop buys $4,500 of wholesale goods for resale, qualifies for a resale certificate, and qualifies for a 5% volume discount. Tax rate 0, shipping $120. Discount $225, tax $0 → grand total $4,395.00. The calculator confirms no sales tax should appear on the invoice at all.

Example 3 — A large bulk order. A café operator orders $250,000 of equipment at a 5% trade discount, with a 6.25% combined sales tax rate and $350 freight. Discount $125,000, taxable base $2,375,000, tax $148,437.50, freight $350 → grand total $2,523,787.50. Running these numbers before issuing a purchase order prevents a six-figure invoice from going out with a rounding slip.

FAQ

How do you calculate the total amount of an invoice?

Start with the subtotal (sum of all line items). Subtract the discount, multiply the discounted subtotal by the sales tax rate to get tax, then add shipping. In one line: Grand Total = Subtotal × (1 − Discount%) × (1 + Tax%) + Shipping. On a $1,000 subtotal with 8% tax, 10% discount and $25 shipping, the grand total is $997.

Should sales tax be calculated before or after a discount?

After. A genuine trade or early-payment discount reduces the actual selling price, and sales tax is due on the price the customer actually pays. Charging tax on the pre-discount subtotal usually overstates the tax due. This calculator applies the discount first and taxes the discounted base, which is the standard treatment in most accounting software.

Is shipping taxable on an invoice?

It depends on your state or country. In about half of US states, standard shipping is taxable when the sale itself is taxable; in the others, separately stated shipping is exempt. This calculator adds shipping as a flat line without taxing it — if your jurisdiction taxes shipping, fold the shipping tax into your tax rate or add the tax to the shipping figure manually.

What is the difference between a trade discount and an early-payment discount?

A trade discount is a permanent price reduction (wholesale, volume, loyalty) built into the sale. An early-payment discount is a temporary incentive (e.g. "2% off if paid within 10 days"). This calculator treats any discount as a percentage of the subtotal; for payment-terms scenarios like 2/10 Net 30, enter the discount percent and tell the client the due date separately.

How do I calculate invoice total for freelancers?

Use the subtotal as hours times rate (or project fee), set discount to 0 unless you promised one, enter your local sales tax rate if your service is taxable, and set shipping to 0 since services are digital. The grand total is what you invoice. For example, 15 hours at $80 with 6% tax gives a $1,272 invoice.

Why does my invoice grand total not match the subtotal?

The subtotal is only the line-item sum. The grand total adds sales tax, subtracts discounts, and adds shipping. A $1,000 subtotal can easily become $997 after a 10% early-pay discount, or $1,105 after 8% tax and $25 shipping. Read the result card line by line to see exactly where the difference comes from.

Disclaimer

This invoice total calculator is provided for informational purposes only and does not constitute accounting, tax, or legal advice. Figures are based on the inputs you enter and the discount-before-tax formula described above; actual sales-tax treatment, shipping taxability, and resale exemptions vary by jurisdiction. Always confirm rates with your accountant or local tax authority before issuing invoices to clients.

Related Calculators

Disclaimer

Results are estimates for illustration only. Verify important figures independently.