Embed the A1 VAT Calculator

Offer your visitors instant VAT calculations — free and easy. Copy the code below and paste it into your page’s HTML where you want the calculator to appear.

<!-- A1 VAT Calculator Embed -->
<iframe
  src="https://a1vatcalculator.com/embed/calculator/?rate=20&theme=dark&utm_source=embed&utm_medium=referral"
  loading="lazy"
  style="width:100%;border:0;overflow:hidden;height:420px"
  title="A1 VAT Calculator"></iframe>
<script>
  // Auto-resize support (no scrollbars)
  window.addEventListener('message', function (e) {
    try {
      if (!e.data || !e.data.a1vat) return;
      const d = e.data.a1vat;
      if (d.type === 'height') {
        document.querySelectorAll('iframe[src*="a1vatcalculator.com/embed/calculator/"]').forEach(function (i) {
          i.style.height = Math.max(300, Number(d.value) || 0) + 'px';
        });
      }
    } catch (_) {}
  });
</script>

How to use

  • Paste the code above into your website’s HTML where you want the calculator to appear.
  • The calculator will automatically resize to fit your content area — no scrollbars.
  • It includes a small credit link back to A1 VAT Calculator.

Optional settings

  • VAT rate: change ?rate=20 to another number (e.g., ?rate=5).
  • Theme: set &theme=dark or &theme=light.

Need help adding this to your site? Contact us and we’ll guide you through it.