VAT Calculator Widget
Add a VAT calculator to your website. Visitors add VAT to a net amount or take it out of a VAT-inclusive price, using the UK standard, reduced or zero rate published by HMRC or any other country's rate they type, and see the net, VAT and gross figures together.
Live preview
Exactly what your visitors will seeUnder the widget on your page: Powered by A2Z Tools
Embed code
<iframe src="https://a2z.tools/embed/w/vat-calculator" title="VAT Calculator by A2Z Tools" width="100%" height="560" style="border:0;width:100%" loading="lazy" allow="clipboard-write"></iframe>
A plain iframe. Works everywhere, including site builders that strip scripts. Adjust height if your content needs more room.
<div data-a2z-widget="vat-calculator" data-height="560"></div> <script async src="https://a2z.tools/embed.js"></script>
Adds a small script (what it does) that sizes the widget to fit its content, loads it lazily and keeps it isolated from your page's CSS.
Works with
How it works
The widget uses the same A2zCalc tax engine as the A2Z VAT Calculator. Adding VAT multiplies the net amount by the rate. Extracting VAT divides the gross amount by (1 + rate), which is why the VAT inside a 20%-inclusive price is one sixth of it, not a fifth - the widget states that fraction whenever it extracts VAT. The only built-in rates are the three UK rates on GOV.UK: standard 20% (since 4 January 2011), reduced 5% and zero 0%. Which one applies depends on the goods or service, and exempt supplies are different from zero-rated ones. For any other country the visitor chooses Other and types the rate their tax authority publishes; no foreign rates are stored, so none can go stale.
Calculation method
- Add VAT: VAT = N x R / 100; gross = N + VAT (N = net amount, R = rate in %)
- Extract VAT: net = G / (1 + R / 100); VAT = G - net (G = gross amount)
- VAT share of a gross price = R / (100 + R) - 1/6 at 20%, 1/21 at 5%
- Rounding: calculated unrounded, displayed to 2 decimals
Worked examples
Taking VAT out of 250
Inputs: Gross 250; extract VAT; UK standard rate 20%
Result: Net 208.33; VAT 41.67
250 / 1.2; VAT is 16.6667% of the gross figure.
Reduced-rate energy bill
Inputs: Gross 105; extract VAT; UK reduced rate 5%
Result: Net 100.00; VAT 5.00
At 5% the VAT fraction is 1/21 of the gross.
VAT rates vary by country and product and change. Check the current rate with your tax authority; this is a calculator, not tax advice.
Limitations
- Does not decide whether a supply is standard-rated, reduced, zero-rated or exempt.
- No schemes such as the Flat Rate Scheme, margin schemes or reverse charge.
- Only the UK rates are built in, checked on GOV.UK on 2026-10-01; other rates must be typed.
Where publishers use it
- UK small-business and sole-trader blogs on VAT registration and invoicing
- Online shops showing trade customers the ex-VAT price
- Bookkeeping firms' resource pages
- Marketplace sellers checking the VAT inside a consumer price
- Hospitality and events pages quoting net and gross prices for corporate bookings that reclaim input VAT
Questions
How do I remove 20% VAT from a price?
Divide the price by 1.2. The VAT is one sixth of the VAT-inclusive price: 120 contains 20 of VAT, not 24, and 250 contains 41.67.
Which UK rate applies to my product?
HMRC's rates page lists the standard 20% rate for most goods and services, the 5% reduced rate for items such as children's car seats and home energy, and the zero rate for most food and children's clothes. The detailed HMRC guidance covers individual goods and services; check it before invoicing.
What about other countries?
Choose Other and type the rate. VAT rates differ by country and by product and change over time, so the widget deliberately holds no foreign rate table.
Can I set my country's rate as the default?
Yes. Preset v_rate=custom and v_custom with your rate, and set the currency in the builder.
Does it round like an invoice?
Figures are shown to two decimals. Invoice rounding rules (per line or per invoice) vary, so a long invoice can differ by a penny or two.
Is zero-rated the same as exempt?
No. A zero-rated sale is a taxable supply charged at 0%, whereas an exempt one - GOV.UK gives postage stamps, financial and property transactions as examples - is outside VAT altogether. Both show 0 in this widget, but they are treated differently when a business reclaims input VAT or counts turnover.
Why does my accounting software show a slightly different VAT?
It may round VAT per line and then add the lines, while this widget rounds once. On an invoice of many small lines the two methods can differ by a penny or two; follow the method your records already use.
Sources
- VAT rates - HM Revenue & Customs, GOV.UK . Standard 20% (from 4 January 2011), reduced 5%, zero 0%. Checked 2026-10-01.
- VAT rates on different goods and services - HM Revenue & Customs, GOV.UK . Which rate applies to which goods or services.
Cite or recommend this tool
If you reference this tool in an article, course or documentation, these formats are ready to copy. They are optional - nothing is added to your site unless you paste it.
A2Z Tools VAT Calculator https://a2z.tools/vat-calculator
<a href="https://a2z.tools/vat-calculator">A2Z Tools VAT Calculator</a>
[A2Z Tools VAT Calculator](https://a2z.tools/vat-calculator)
VAT Calculator by A2Z Tools - https://a2z.tools/vat-calculator
Related widgets
-
Add or remove Indian GST at the rate you choose, split into CGST + SGST or IGST.
-
US-style sales tax from the state and local rates you enter, or the tax hidden in a tax-inclusive total.
-
Build a quick price quote from up to 8 line items with discount and tax, then copy it as text.
-
Profit, gross margin and markup from cost and price - or the price for a target margin.
-
Selling price from cost plus markup, or work back to the cost or the markup you applied.
-
Sale price and savings, including stacked discounts and sales tax on the reduced price.