Free tool
Invoice total calculator
Type up to five lines, a discount, a tax rate and shipping. The calculator does the sums in the order an invoice does.
This calculator finds an invoice total from its parts. Each line is quantity times price. The lines add up to the subtotal. The discount is a percent of the subtotal. Tax is charged on the subtotal after the discount. Shipping is added last and is not taxed. Total = subtotal minus discount, plus tax, plus shipping.
Last updated
- Subtotal
- $385.50
- Discount
- $38.55
- Tax
- $27.76
- Shipping
- $15.00
- Total
- $389.71
Tax is charged on the subtotal after the discount, and shipping is not taxed. Whether shipping or a discount is taxed depends on your state. This is an estimate and general information, not tax, legal or financial advice.
How to use it
- Type a quantity and a price for each line. Leave unused lines blank.
- Type a discount percent, or leave it blank for none.
- Type the tax rate for the sale, or leave it blank if the sale is not taxed.
- Type the shipping charge, if any.
- Read the subtotal, discount, tax and total.
The formula
Subtotal = the sum of quantity times price for every line. Discount = subtotal times the discount percent. Tax = (subtotal minus discount) times the tax rate. Total = subtotal minus discount, plus tax, plus shipping. Each result is rounded to the cent.
Worked example: 2 items at $150.00 and 1 item at $85.50 make a subtotal of $385.50. A 10% discount is $38.55, leaving $346.95. Tax at 8% on $346.95 is $27.76. Shipping is $15.00. The total is $346.95 + $27.76 + $15.00 = $389.71.
The order matters
Taking the discount before the tax means the customer pays tax only on what they actually pay for the goods. Doing it the other way round gives a different, higher tax figure.
This calculator taxes every line and does not tax shipping. Real rules vary. Some states tax shipping, some tax labor and some do not, and some items are exempt. Check your state’s rules or ask an accountant. The result is an estimate, not tax, legal or financial advice.
| Step | What happens | In the example |
|---|---|---|
| 1 | Add up the lines | $385.50 |
| 2 | Take off the discount | $346.95 |
| 3 | Add tax on what is left | $374.71 |
| 4 | Add shipping | $389.71 |
Put it on an invoice
The invoice builder on the AnyInvoices home page and the free invoice generator do these sums for you as you type. An AnyInvoices invoice has line items, a discount, a tax rate, shipping and notes, and you can mark single lines as not taxable.
Questions
Is tax calculated before or after a discount?
This calculator charges tax after the discount, on the reduced amount, which is the common treatment for a discount the seller gives. Rules differ by state and by the kind of discount, so check yours.
Is shipping taxed?
It depends on the state and sometimes on how shipping is shown on the invoice. This calculator does not tax shipping. Check your state’s rules or ask an accountant.
How do I work out a line total?
Multiply the quantity by the price each and round to the cent. For example, 2.5 hours at $90.00 an hour is $225.00.
What is the difference between a subtotal and a total?
The subtotal is the sum of the lines before anything else. The total is what the customer pays after the discount, tax and shipping.
This page is general information, not legal, tax or financial advice. Rules differ by state and by contract; check yours or ask an accountant or a lawyer.