Tax Calculation: \(\text{Tax} = \text{Net} \times \frac{\text{Rate}}{100}, \quad \text{Gross} = \text{Net} + \text{Tax}\)
VAT at any rate: adding and removing tax from any price
Not every sale carries 20% VAT. Some goods are charged at 5%, some are zero-rated, and if you trade internationally you will meet rates from 7% to 27% depending on the country. This calculator does not assume a rate — you set it, and it works out the tax either way round: add VAT to a net price to get the gross, or strip VAT out of a gross price to find the net. That flexibility is what separates it from the UK VAT calculator on this site, which is built around the fixed UK rates of 20%, 5% and 0%.
The maths is the same in both directions, but the direction matters. To add VAT, multiply the net price by the rate: a net price of £800 with a custom rate of 17.5% carries £140 of VAT, giving a gross price of £940. To remove VAT, divide the gross price by one plus the rate: a gross price of £1,150 that includes 15% VAT has a net price of £1,000, because £1,150 divided by 1.15 is £1,000, and the VAT element is the remaining £150. The mistake people make is subtracting 15% from £1,150, which gives £977.50 — that is wrong, because the 15% was charged on the net £1,000, not on the gross £1,150. Dividing by 1.15 is the only correct way to strip VAT out.
Businesses need both directions constantly. You add VAT when you invoice a customer, because the invoice must show the net, the VAT and the gross separately. You remove VAT when a supplier quotes you a gross price and you need to know what the goods actually cost you before tax, or when you are checking whether a price you have been given already includes VAT. If you are VAT-registered, the VAT you charge customers is not your money — you hand it to HMRC, less the VAT you paid on your own purchases — so the net figure is the one that belongs in your accounts, not the gross one.
Rates vary more than most people expect. The UK standard rate is 20% and the reduced rate is 5%, but Germany charges 19%, France 20%, Ireland 23% and Hungary 27%. Some countries have several rates for different goods, and some zero-rate essentials like food and children's clothing. If you are invoicing across borders, the rate that applies is usually the rate of the country where the customer is, not where you are, and the reverse charge can apply for business-to-business sales inside the EU. Check the rate for the specific transaction rather than assuming the UK rate travels with you.
Frequently Asked Questions (FAQ)
How do I add VAT to an invoice?
Multiply the net subtotal by the VAT percentage (e.g. 0.20 for 20%), add this VAT amount to the subtotal, and state both clearly on your VAT invoice.
What rate should I use for a customer in another country?
It depends on that country's rules and on where the supply is treated as taking place, which varies by what you sell. This calculator does the arithmetic once you know the rate; it cannot tell you which rate applies in a given country.
How do I extract tax when I only know the gross price?
Divide the gross price by one plus the rate as a decimal. For a 25% rate, divide by 1.25; for 20%, divide by 1.2. The difference between the gross and the result is the tax inside the price.
Can I use this calculator for US sales tax?
Yes, as arithmetic. Type the state or local rate as a percentage and add it to the net price. Sales tax rules, exemptions and whether tax applies at all vary by state, so the rate itself is your responsibility.


