Invoice Line Total Calculator
Line total with quantity, unit price, a discount and VAT, showing each step.
Results
Gross amount (with VAT)
604.42
Net amount (without VAT)
491.40
VAT amount
113.02
You save
54.60
What this tool does
The order matters: the discount comes off the net amount and VAT is applied afterwards, which is how invoices are legally built almost everywhere. Doing it the other way round changes the total and will not match your accounting software.
Formula
total = qty × price × (1 − discount) × (1 + VAT)
Variables
| Symbol | Meaning | Unit |
|---|---|---|
q | Quantity | — |
p | Unit price | — |
d | Discount | % |
v | VAT rate | % |
T | Gross amount (with VAT) | — |
N | Net amount (without VAT) | — |
VA | VAT amount | — |
DS | You save | — |
Worked example
- Quantity12
- Unit price45.5
- Discount10 %
- VAT rate23 %
- Gross amount (with VAT)604.42
- Net amount (without VAT)491.40
- VAT amount113.02
- You save54.60
Limitations
- Tax rates and rounding rules differ between countries and sometimes between regions. Use the rate that applies to your invoice.
- The tool works with whatever currency you use for the inputs; it does not convert between currencies.
- The calculation runs at full precision and only the display is rounded. If you copy an intermediate value and retype it, small differences can appear.