Embed Our Calculators on Your Website

Add free, always-up-to-date UK financial calculators to your website in seconds. Copy the embed code and paste it into your HTML. All widgets are responsive and auto-resize to fit their content.

Salary Calculator

Take-home pay after income tax, National Insurance, and student loan deductions.

Embed code

<iframe src="https://ukcalc.co.uk/embed/salary/" width="400" height="600" frameborder="0" title="Salary Calculator - UKCalc" style="border: 1px solid #e5e7eb; border-radius: 8px;"></iframe>

URL parameters

Parameter Description Default
salary Pre-filled annual salary in GBP 35000
region Tax region: england or scotland england

Example: https://ukcalc.co.uk/embed/salary/?salary=35000

Mortgage Calculator

Monthly repayments, total interest, and loan-to-value for UK mortgages.

Embed code

<iframe src="https://ukcalc.co.uk/embed/mortgage/" width="400" height="600" frameborder="0" title="Mortgage Calculator - UKCalc" style="border: 1px solid #e5e7eb; border-radius: 8px;"></iframe>

URL parameters

Parameter Description Default
price Property price in GBP 300000
deposit Deposit amount in GBP 60000
rate Interest rate (e.g. 4.5) 4.5
term Mortgage term in years 25

Example: https://ukcalc.co.uk/embed/mortgage/?price=300000

Stamp Duty Calculator

SDLT, LBTT, or LTT based on property price, region, and buyer type.

Embed code

<iframe src="https://ukcalc.co.uk/embed/stamp-duty/" width="400" height="600" frameborder="0" title="Stamp Duty Calculator - UKCalc" style="border: 1px solid #e5e7eb; border-radius: 8px;"></iframe>

URL parameters

Parameter Description Default
price Property price in GBP 300000
region Region: england, scotland, or wales england
buyer Buyer type: standard, first-time, or additional standard

Example: https://ukcalc.co.uk/embed/stamp-duty/?price=300000

How to embed

  1. Choose a calculator above and copy its embed code.
  2. Customise by adding URL parameters (e.g. ?salary=50000®ion=scotland).
  3. Paste the iframe into any HTML page, WordPress post, Notion page, or CMS.

Auto-resize (optional)

Each widget sends a postMessage with its content height whenever the layout changes. Add this script below your iframe to eliminate scrollbars:

<script>
window.addEventListener("message", function(e) {
  if (e.data && e.data.type === "ukcalc-resize") {
    var iframes = document.querySelectorAll('iframe[src*="ukcalc.co.uk"]');
    iframes.forEach(function(iframe) {
      iframe.style.height = e.data.height + "px";
    });
  }
});
</script>

Use cases

  • HR departments — Help employees understand take-home pay during salary reviews.
  • Recruitment agencies — Let candidates see what a role is worth after tax.
  • Property websites — Show mortgage repayments and stamp duty alongside listings.
  • Finance blogs — Add interactive tools to articles about tax planning, property buying, or salary negotiation.

Terms of use

All embed widgets are free to use on any website. Please keep the "Powered by UKCalc" attribution visible. Calculators are updated each April when HMRC publishes new tax rates for the upcoming tax year.