Invoice Total Calculator guide
Add line items, apply a discount, sales tax, and shipping, subtract any deposit, and get the exact balance due for a quote, estimate, or freelance invoice.
The order of operations on an invoice
Every invoice total is built in the same five steps, and getting the order wrong is how people end up a few dollars off. First, multiply each line's quantity by its unit price. Second, add the lines to get the subtotal. Third, subtract the discount. Fourth, charge sales tax on what is left (plus shipping, if your state taxes it). Fifth, add shipping and any other non-taxable charges.
Then, if the client already paid a deposit or retainer, subtract it to get the balance due. The invoice total and the balance due are different numbers, and both should appear on the document so the client can match them against their records.
Worked example: a freelance web project
Lines: website design, 1 × $1,200 = $1,200. Hosting setup, 3 hours × $75 = $225. Subtotal: $1,425.
Apply a 10% loyalty discount: $1,425 × 0.10 = $142.50, leaving $1,282.50. Say the work includes taxable deliverables at an 8.25% rate: $1,282.50 × 0.0825 = $105.806, which rounds to $105.81. Add $15 shipping for a printed brand kit. Invoice total: $1,403.31.
If your state also taxes the shipping charge, the tax base becomes $1,297.50, tax becomes $107.04, and the total becomes $1,404.54. It is a small difference, but auditors care about small differences, which is why the calculator makes shipping tax an explicit checkbox.
Finally, if the client paid a $500 deposit up front, the balance due is $903.31.
Rounding: do it at every step
Money only exists in whole cents, so round each line and each tax amount to two decimals as you go. Rounding only at the end can produce totals that do not match the lines printed above them. This calculator rounds every line, the discount, and the tax to the cent, the same way QuickBooks, FreshBooks, and most invoicing apps do.
One subtle case: some point-of-sale systems calculate tax per line instead of on the subtotal. Usually the answers match, but with many small items they can drift by a cent or two. Either method is acceptable as long as you are consistent.
Sales tax on US invoices
The US has no national sales tax. 45 states and Washington, D.C. levy a statewide sales tax, and many cities and counties add their own on top, so the combined rate on an invoice can exceed 10% in places like Chicago, Seattle, and parts of Louisiana, Alabama, and Arkansas. Alaska, Delaware, Montana, New Hampshire, and Oregon have no statewide sales tax, though some Alaska localities do.
Services are the confusing part. Most states tax physical goods by default and only tax specific services. Design, consulting, and software development are often exempt, but a few states tax a broad range of services. If you sell across state lines, economic nexus rules from the 2018 South Dakota v. Wayfair decision may require you to collect tax in states where you pass a sales threshold, commonly $100,000 a year.
When in doubt, check your state's department of revenue. Charging tax you do not owe irritates clients; failing to charge tax you do owe means paying it yourself later.
What a professional invoice should include
Your business name and contact details, the client's name, a unique invoice number, the invoice date, the due date or payment terms (Net 15, Net 30), itemized lines with quantities and rates, the subtotal, discount, tax rate and amount, shipping, the total, any payments received, and the balance due. Add accepted payment methods and your late fee policy, for example 1.5% per month on overdue balances, where state law allows it.
Clear line items get you paid faster. A single line reading Services: $1,425 invites questions; three itemized lines with hours and rates rarely do.
Common invoicing mistakes
Applying tax before the discount, which overcharges the client. Taxing items that are exempt in your state. Forgetting to subtract a deposit, so the client is billed twice. Reusing an invoice number. And the most expensive one: vague due dates. Due on receipt tends to mean whenever; a specific date gets paid.
How we calculate: sources
Frequently asked questions
How do I calculate an invoice total?
Add each line (quantity × unit price) to get the subtotal, subtract any discount, add sales tax on the taxable amount, then add shipping. $1,425 minus 10% is $1,282.50; 8.25% tax adds $105.81; $15 shipping makes $1,403.31.
Is the discount applied before or after tax?
Before. A seller-funded discount reduces the price, so in most US states sales tax is charged on the discounted amount. That is how this calculator works.
Should I charge sales tax on shipping?
It depends on the state. Some states tax shipping when the goods are taxable, others exempt separately stated delivery charges. Tick the shipping tax box only if your state requires it.
Do freelancers charge sales tax on services?
Usually not, but it varies. Most states tax goods and only some services. Five states (Alaska, Delaware, Montana, New Hampshire, and Oregon) have no statewide sales tax. Check your state revenue department.
What does Net 30 mean on an invoice?
Payment is due 30 days after the invoice date. Net 15 and Net 60 work the same way. Terms like 2/10 Net 30 offer a 2% discount if paid within 10 days.
Does it create PDF invoices?
No. It calculates totals and copies a plain-text summary you can paste into an email, invoice template, or accounting app.
Is my data uploaded?
Everything runs in your browser. Nothing you enter is uploaded to a server or stored by us.
How do I calculate a late fee on an overdue invoice?
Multiply the overdue balance by your monthly late rate. A $1,500 balance at 1.5% per month adds $22.50 for each month it is late. State laws cap late fees, so check the limit where your client is located.
What is the difference between an invoice total and balance due?
The invoice total is the full amount for the work, including tax and shipping. The balance due is what remains after deposits or partial payments are subtracted.