VAT Calculator for Net and Gross Prices – Free

This VAT calculator works in both directions: enter a net price to add VAT, or a gross price to see how much VAT it already contains. The math runs in your browser.

How to use the VAT calculator tool

  1. Enter the amount in Price and the percentage in VAT rate %, for example 100 and 20.
  2. Under Price includes VAT, pick No · add VAT for a net price or Yes · remove VAT for a gross price.
  3. Pick the Currency used to format the result: EUR, GBP, USD, CHF or BRL.
  4. Select Calculate, or select Example to run the tool with a price of 100 at 20%.
  5. Read Net price, VAT and Gross price in the Result box, and select Copy to take all three lines.

How the VAT calculator adds and removes tax

Value added tax is charged as a percentage of the net price. Going from net to gross is a multiplication: gross = net × (1 + rate / 100). Going back is a division, not a subtraction: net = gross / (1 + rate / 100). In both modes the tool reports the VAT amount as gross minus net.

The most common mistake in hand calculations is to take the rate off the gross price. At 20%, a gross price of 120 contains 20 of VAT, which is 16.67% of the gross figure, not 20%. Subtracting 20% of 120 would give 96 and understate the net price by 4.

Worked example: extracting 19% VAT from a gross price

A shop price of 59.90 euros includes German VAT at 19%. Set Price to 59.90, VAT rate % to 19 and choose Yes · remove VAT. The tool divides 59.90 by 1.19 to get the net price, then subtracts to find the tax.

Net price: €50.34
VAT: €9.56
Gross price: €59.90

Inputs, ranges and rounding

The form is small, and each field follows a fixed rule in the code.

  • Price accepts any number from 0 to 1,000,000,000,000, including decimals. Negative prices are rejected.
  • VAT rate % accepts 0 to 100 and may be fractional, such as 8.1 or 5.5. There is no built-in table of country rates, so you enter the rate that applies.
  • Currency only changes the symbol and number formatting. No exchange rate is applied.
  • Each result line is rounded to two decimals on its own, so for tiny amounts net plus VAT can differ from the gross by one cent, for example 0.63 plus 0.13 for a gross of 0.75 at 20%.

Where VAT math shows up in development work

Checkout code, invoice generators and price import scripts all need this conversion. Use this tool to check a single figure against what your code produced.

Standard rates differ by country. At the time of writing Germany charges 19%, France and the United Kingdom 20%, Spain 21% and Italy 22%, and many countries add reduced rates. Rates change, so confirm the current one with the tax authority. The result here is arithmetic, not tax advice.

Frequently asked questions

How do I remove VAT from a price?

Divide the gross price by 1 plus the rate as a decimal. For 20% VAT, divide by 1.2. In this tool, enter the gross amount and the rate and choose Yes · remove VAT.

How do I add 20% VAT to a price?

Multiply the net price by 1.2. A net price of 100 becomes 120, of which 20 is VAT. Choose No · add VAT, enter 100 and 20, and the tool returns the same three figures.

Why is the VAT in a gross price not simply the rate times the price?

Because the rate applies to the net price. Inside a gross price the tax share is rate / (100 + rate). At 20% that is one sixth of the gross amount, about 16.67%, and at 19% it is about 15.97%.

Does the currency option convert the amount?

No. Choosing GBP, USD, CHF or BRL changes only the currency symbol and number format in the result. The numbers are the ones you entered, with no exchange rate involved.

Is the price I enter sent anywhere?

No. The calculation is a few lines of JavaScript that run on the page, and the amounts you type are not transmitted or saved by the tool.

Related tools