Free embed widget

Free VAT Calculator Widget for Your Website

One line of HTML. Instant results. Works on any site — accountancy firms, e-commerce stores, business blogs.

Live preview & embed code

Widget preview

Copy & paste this code

<iframe
  src="https://thevatcalculator.io/embed/vat-calculator"
  width="400"
  height="480"
  frameborder="0"
  style="border:none;border-radius:16px;box-shadow:0 4px 24px rgba(0,0,0,0.08);max-width:100%;display:block"
  title="UK VAT Calculator"
  loading="lazy"
></iframe>

Paste the code anywhere in your page's HTML — inside a blog post, a sidebar, or a dedicated calculator page. The widget is self-contained and will not interfere with your site's styles.

Customising the size

The widget works best at width="400". For narrower sidebars, set max-width:100% on the iframe (already included) and reduce the fixed width to match your column. Height can be adjusted between 460 and 520 to suit your layout.

What the widget includes

Instant calculation

Results update as you type — no form submission or page reload needed.

Add and remove VAT

Toggle between adding VAT to a net price and stripping VAT from a gross price.

All three UK rates

Standard 20%, reduced 5%, and zero-rated 0% — selectable with one click.

Mobile friendly

Numeric keyboard on mobile, large tap targets, and a layout that works at any width.

Fast loading

No external dependencies — the widget loads in under one second on any connection.

Completely free

No sign-up, no API key, no attribution requirements beyond the small "Powered by" link.

Frequently asked questions

Will the widget slow down my website?

No. The widget loads inside an iframe with the loading="lazy" attribute, so the browser only fetches it when the user scrolls near it. The widget itself has no external dependencies — it uses no third-party scripts, no web fonts, and no analytics.

Do I need to update the code when VAT rates change?

No. The widget is served from thevatcalculator.io, so any updates to rates or functionality are picked up automatically. Your embed code stays the same.

Can I change the colours or branding?

Not at the moment — the widget uses a fixed design. If you need a custom-branded version, contact us.

Is there a usage limit?

No. The widget is free to embed on any number of pages and websites without restrictions.

Will it work inside a WordPress or Squarespace page?

Yes — any platform that allows pasting raw HTML into a page (via a Custom HTML block, HTML widget, or code embed component) will support the iframe embed.