How to add a calculator to your website

  1. Pick the calculator. Open its page on simplemath.online, in your visitors' language.
  2. Copy the code. Below the result, press “Embed on your site”, then “Copy code”.
  3. Paste it into your page. In WordPress use a “Custom HTML” block; in other editors, HTML mode or the embed-code block. The calculator shows up at once.

Example: Mortgage payment

This is the calculator as it appears on a host site: no menu, no ads, and the link to simplemath.online at the bottom. Try changing the figures.

The code to paste

This is the code of the example. For any other calculator only the address changes: the “Embed on your site” button on each page gives it ready-made, at the right height.

<iframe data-simplemath src="https://simplemath.online/embed/en/mortgages/monthly-payment"
        width="100%" height="1380" loading="lazy" style="border:0"
        title="Mortgage payment"></iframe>
<p><a href="https://simplemath.online/en/mortgages/monthly-payment">Calculator by simplemath.online</a></p>
<script async src="https://simplemath.online/embed.js"></script>

The iframe and the link below the frame are required. The embed.js script is optional: it fits the frame's height to its content, weighs about 1 KB and reads nothing from your page.

The 145 calculators you can embed

Every page has the “Embed on your site” button. For finance and real estate sites the most useful are the mortgage payment, amortization schedule, compound interest and VAT calculators; for schools, equations, percentages, fractions and the periodic table.

Prefilled figures

The mortgage payment, bond yield and balance-sheet ratio calculators accept figures in the iframe's address: the price, rate and term of a property listing's mortgage, say, or a company's balance-sheet items.

A missing or invalid figure is left blank: the calculator never shows a result built on a made-up number.

Terms of use

  • Free, for personal and commercial sites, with no sign-up.
  • The link to simplemath.online below the frame is required: it must stay visible and clickable. You may style it to match your site.
  • The link inside the frame stays visible too: it must not be covered or cut off with CSS or the iframe's height.
  • The calculator must not be presented as your own. If a link is removed or hidden, we may turn the calculator off on that site.
  • Results are estimates, as on the site, and the service may change or be suspended.

Privacy: no cookies

  • No cookies, localStorage or sessionStorage: history and saved results are turned off in the widget.
  • No third-party scripts, no Google Analytics, no ads.
  • Calculations run in the visitor's browser: the figures typed in are not sent to any server.
  • So, as a rule, the widget needs no change to your site's cookie banner.

Frequently asked questions

How much does it cost to add a calculator to my website?

Nothing. The widget is free for commercial sites too; the only condition is that the link to simplemath.online below the frame stays visible and clickable.

How do I embed a calculator in WordPress?

Copy the code from the “Embed on your site” button, add a “Custom HTML” block to the page and paste it in. In the classic editor use the “Text” tab. In Wix, Squarespace and other builders, use their embed-code block.

Will the widget slow down my site?

No. The iframe loads only when it scrolls into view and the sizing script weighs about 1 KB. The calculator runs in a separate frame, so it does not touch your page's styles or scripts.

Do I need to change my cookie banner?

As a rule, no: the widget sets no cookies, stores nothing in the browser and loads no third-party services. The simplemath.online server logs requests like any website.

Can I change the colors or remove the branding?

No: the widget looks the same, plain and neutral, on every site and fits the width of its frame. The link to simplemath.online is part of the terms of use.