Embed Our UK Salary Calculator (Free)

Add the 2026/27 UK take-home pay calculator to your blog or website with one line of HTML. Always-current HMRC rates, auto-resizing, mobile-friendly, no signup required.

Live Preview

Customise

1. Basic embed (fixed height)

Simplest option. Works in any HTML page or blog editor that accepts raw HTML.

<iframe
  src="https://mypaycalculator.co.uk/embed?accent=111827"
  title="UK Salary Calculator"
  width="100%"
  height="640"
  frameborder="0"
  loading="lazy"
  style="border:0;max-width:480px;display:block;margin:0 auto;"
></iframe>

2. Auto-resizing embed (recommended)

Adds a tiny script so the iframe expands to fit results — no inner scrollbar.

<iframe
  id="mpc-embed"
  src="https://mypaycalculator.co.uk/embed?accent=111827"
  title="UK Salary Calculator"
  width="100%"
  height="640"
  frameborder="0"
  loading="lazy"
  style="border:0;max-width:480px;display:block;margin:0 auto;"
></iframe>
<script>
  window.addEventListener("message", function (e) {
    if (e.origin !== "https://mypaycalculator.co.uk") return;
    if (!e.data || e.data.type !== "mypaycalculator:resize") return;
    var f = document.getElementById("mpc-embed");
    if (f && typeof e.data.height === "number") {
      f.style.height = e.data.height + 20 + "px";
    }
  });
</script>

3. WordPress shortcode (requires iframe plugin)

For WordPress.org sites using the 'iframe' plugin by Webvitaly.

[iframe src="https://mypaycalculator.co.uk/embed?accent=111827" width="100%" height="640"]

License & attribution

Free for all uses (personal, commercial, editorial). The only requirement is to keep the "Powered by mypaycalculator.co.uk" link visible at the bottom of the widget. If you embed the widget on your site, we'd love to hear about it — drop us a note via the feedback form.

Frequently Asked Questions

Is it really free?

Yes — 100% free, no signup, no API key. We only ask that the small attribution link at the bottom of the widget stays visible. That link is what keeps the calculator free for everyone.

Will it stay accurate next tax year?

Yes. The widget is loaded live from mypaycalculator.co.uk, so when HMRC announces new tax bands, NI thresholds, or student loan rates, the widget updates automatically. You never need to touch the embed code.

Will it slow down my site?

No. The iframe is sandboxed and loads independently of your page — it does not block your page render. The resize script is ~1KB.

Can I customise the look?

Yes. Append ?theme=dark for a dark theme, and ?accent=005eb8 (any 6-digit hex without the #) to match your brand colour. Example: https://mypaycalculator.co.uk/embed?theme=dark&accent=005eb8.

Can I track who embedded it?

Add ?ref=yoursite to the iframe URL and we will see the referrer in our analytics. It is not required but helps us know where the widget is being used so we can collaborate on future features.

What does the "Powered by" link give me?

The widget bundles a small attribution link to mypaycalculator.co.uk and a "Full calculator →" link. Both are standard rel="noopener" links — no nofollow — so by embedding the widget you are also helping your readers reach the full tool with all its features (NHS, Teacher, pension, mortgages, etc.).

Got feedback or feature requests?

We'd love to hear from you. Tell us what you need at our feedback form.

© 2026 My Pay Calculator. All rights reserved.