Skip to content

Invoice VAT calculator

Add up an invoice with lines at different VAT rates: net, VAT and gross per rate and in total, with discounts and a check of rounding differences.

One per line, separated by semicolons, e.g. 1; 2; 1.

In the same order.

In the same order; one value applies to all lines. Use 0 for exempt items.

More options

Per line or one value for all lines, e.g. 0; 10; 0.

Result

—

    How the calculation works

    • Line amount = quantity × unit price × (1 − discount), rounded to the cent.
    • Prices without VAT: VAT = net × rate. Prices with VAT: net = gross ÷ (1 + rate), VAT = gross − net.
    • VAT is rounded either for each line or once per rate on the total of that rate.

    Example

    Two lines — 100 at 20% and 100 at 0% — give 200 net, 20 VAT and 220 in total.

    Small amounts show the rounding effect: three lines totalling 17.35 net at 23% carry 3.98 VAT when each line is rounded, but 3.99 when VAT is rounded once on the total.

    Frequently asked questions

    Should VAT be rounded per line or on the total?

    It depends on the country and sometimes on the invoicing software. The two methods can differ by a cent or more; the calculator shows both so you can see the difference.

    How do I enter exempt items?

    Use a rate of 0. The calculator does not distinguish exempt, zero-rated and reverse-charge items — all are 0% for the totals.

    Can I enter prices that already include VAT?

    Yes: choose 'With VAT'. The calculator then works out the net amount and the VAT contained in each price.

    Checked November 22, 2026 · Method 1.0.0

    Found an error? Tell us

    Please do not include personal or financial details.

    Embed this calculator on your site

    Free to use: paste the code into your page. The calculator runs on your site in a frame; keep the link to the source under it.

    Preview the widget