Smart Calculations, Smarter Decisions

Add a Calculator to WordPress

Two minutes, one Custom HTML block, zero plugins. Works with Gutenberg, Elementor, Divi, and the Classic Editor.

The short version

WordPress can embed a calculator natively — you do not need a plugin. Copy an iframe snippet from the embed library, drop it into a Custom HTML block, and publish. The calculator renders inside your post, styled and responsive, without touching your theme or database.

Step-by-step (Block Editor / Gutenberg)

1Copy an embed code

Open the CalcIQ embed library and pick a calculator — EMI, SIP, FD, mortgage affordability, BMI, and 14 more. Click Copy on the card. You now have an iframe snippet on your clipboard that looks like this:

<iframe src="https://calciq.app/app?calc=emi" width="100%" height="500" style="border:none;border-radius:8px;" title="EMI Calculator - CalcIQ"></iframe> <p style="font-size:12px;text-align:center;margin:8px 0 0">Powered by <a href="https://calciq.app" target="_blank" rel="noopener" style="color:#10b981;font-weight:600;text-decoration:none">CalcIQ</a></p>

2Add a Custom HTML block

In the WordPress editor, place your cursor where you want the calculator, then click the + button. Search for Custom HTML and select it.

Keyboard shortcut: type /html on a new line and press Enter.

3Paste the iframe code

Paste directly into the block. WordPress will not strip the iframe — Custom HTML blocks are designed to pass markup through untouched.

If you are on WordPress.com's free plan, iframe embeds are restricted. Self-hosted WordPress (WordPress.org) and Business plans and above work fine.

4Preview, then publish

Click the Preview tab inside the block, or use Preview in new tab. The calculator will not render inside the editor canvas in some themes — that is normal. Always confirm on the front end before assuming something is broken.

Page builders

Every major builder has an HTML element. Use these:

BuilderElement to use
ElementorHTML widget
DiviCode module
Beaver BuilderHTML module
WPBakeryRaw HTML element
OxygenCode Block → HTML tab
Classic EditorSwitch to the Text tab, then paste

Sizing and layout

The default snippet uses width="100%" so it fills whatever container you drop it into. Height is fixed at 500px, which suits most calculators.

SituationRecommended height
Simple calculators (tip, age, BMI)450–500px
Financial calculators (EMI, SIP, FD)550–650px
Narrow sidebar placement700px+ (fields stack vertically)
Mobile-heavy audience650–700px

If you see an internal scrollbar, increase the height by 100px and re-check. Nothing breaks — the calculator just needs more vertical room at narrow widths.

Why not use a calculator plugin?

Calculator plugins are a reasonable choice if you need to build fully custom formulas. For standard financial calculators, an iframe is lighter on every axis:

Pluginiframe embed
Install requiredYesNo
Database tables addedUsuallyNone
Breaks on core updatePossibleNo
Affects your page speedYes (loads with your site)No (loads separately)
Ongoing maintenancePlugin updatesNone
CostOften $49–199/yrFree

The tradeoff: an iframe cannot inherit your theme's fonts and colours. If pixel-perfect brand matching matters more than setup speed, a plugin or custom build is the better fit.

Troubleshooting

Popular calculators for WordPress sites

FAQ

Do I need a plugin to add a calculator to WordPress?

No. The built-in Custom HTML block handles iframe embeds natively. Plugins add database tables, admin menus, and update overhead that an embed avoids entirely.

Does this work with Elementor and Divi?

Yes. Use Elementor's HTML widget or Divi's Code module. Any builder with an HTML or code element works.

Will it slow down my site?

No. The iframe loads from a separate CDN and does not block your page render or add server load, so your Core Web Vitals stay unaffected.

Is it really free?

Yes — no registration, API key, or monthly fee. Each embed includes 3 free calculations per day per visitor and keeps a small "Powered by CalcIQ" attribution link.

Do embedded calculators track my visitors?

No. Zero tracking, no cookies, no data collection. Calculations run in the visitor's browser and the numbers they enter never leave their device — so no privacy policy update is needed on your end.

Browse all 19 calculators

Financial, lifestyle, regional, and utility calculators — all free to embed.

Open the embed library →

Other platforms

Webflow

Embed element

Squarespace

Code block

Wix

Embed HTML

All platforms

Full library