Invoice Calculator
Add line items, discount and tax to calculate an invoice total.
This tool runs entirely in your browser. Your files are never uploaded to a server.
| Description | Qty | Unit price | Line total | |
|---|---|---|---|---|
| 500.00 | ||||
| 30.00 |
530.00
Subtotal
0.00
Discount
53.00
Tax
583.00
Total due
What this calculator does
Adds up any number of line items into a subtotal, applies one shared percentage discount, then calculates tax on the discounted amount and shows the final total due.
How to use it
Enter a quantity and unit price for each line item, click "Add line item" for as many rows as you need, then set an overall discount percentage and tax rate. Every field updates the totals immediately.
Worked example
Two line items — 3 units at 50 each and 1 unit at 200 — give a subtotal of 350. A 10% discount brings that to 315, and a 20% tax on the discounted amount adds 63, for a total due of 378.
Discount and tax order
The discount is applied to the subtotal first, and tax is calculated on the already-discounted amount, not the original subtotal — this matches how most invoicing software computes tax-after-discount.
Formulas used
Subtotal is the sum of quantity × unit price across all rows. Discounted amount equals subtotal × (1 − discount / 100). Total due equals the discounted amount × (1 + tax / 100).
Limitations
This tool only calculates totals — it doesn't save, number, send or export an invoice, and it doesn't handle per-line tax rates, rounding rules, multiple currencies or partial payments.
Privacy
All line items and totals are calculated locally in your browser; nothing you enter is uploaded or stored.
Frequently Asked Questions
- Does this save or send invoices?
- No, this tool only calculates totals in your browser — use the numbers in your own invoicing or accounting software.
- Is discount applied before or after tax?
- Discount is applied to the subtotal first, then tax is calculated on the discounted amount.
- Can I add more than two line items?
- Yes — click 'Add line item' to add as many rows as you need.
Related Tools
Commission Calculator
Calculate commission earned on a sale amount.
Salary Cost Calculator
Calculate the true total cost of employing someone.
Markup Calculator
Calculate markup percentage from cost and selling price.
Break-even ROAS & ACOS Calculator
Convert contribution margin into break-even and target-profit ROAS and ACOS thresholds.
Burn Rate & Runway Calculator
Calculate monthly cash burn and how long your runway will last.
CAC Calculator
Calculate how much it costs to acquire one new customer.