By Ziv Shay | Updated April 2026
A complete, step-by-step guide to adding free calculator widgets to your WordPress website. No plugins needed — works with the Block Editor, Classic Editor, Elementor, and all page builders.
The Block Editor is the default WordPress editor since version 5.0. This is the recommended method for most WordPress users.
Here is an example embed code for the mortgage calculator:
<iframe src="https://aihowtoinvest.com/embed/mortgage?theme=light&accent=4f46e5"
width="100%" height="520" frameborder="0"
style="border-radius:12px;border:1px solid #e5e7eb;"
title="Mortgage Calculator"></iframe>
If you are using the WordPress Classic Editor (either by preference or plugin), you can still embed calculators easily.
You can also add calculators to your WordPress sidebar, footer, or any widget area.
width="100%") to fit the sidebar.Every calculator widget supports the following URL parameters for customization:
Add ?theme=light or ?theme=dark to the iframe URL to match your website design.
<!-- Light theme (default) -->
<iframe src="https://aihowtoinvest.com/embed/mortgage?theme=light" ...></iframe>
<!-- Dark theme -->
<iframe src="https://aihowtoinvest.com/embed/mortgage?theme=dark" ...></iframe>Set the accent color to match your brand using the accent parameter (hex color without the #):
<!-- Blue accent (default) -->
<iframe src="https://aihowtoinvest.com/embed/mortgage?accent=4f46e5" ...></iframe>
<!-- Green accent -->
<iframe src="https://aihowtoinvest.com/embed/mortgage?accent=10b981" ...></iframe>
<!-- Red accent -->
<iframe src="https://aihowtoinvest.com/embed/mortgage?accent=ef4444" ...></iframe>Pro subscribers can remove the "Powered by" footer link by adding branding=none:
<iframe src="https://aihowtoinvest.com/embed/mortgage?branding=none" ...></iframe>Set the width and height attributes on the iframe to control the calculator size. Using width="100%" makes it responsive.
Make sure you pasted the code in the Text/HTML view, not the Visual editor. Some WordPress themes strip iframe tags in the Visual editor. Also check that your security plugins (like Wordfence or Sucuri) are not blocking iframes from external sources.
Adjust the height attribute in the iframe tag. Each calculator has a recommended height listed on the embed page. Use width="100%" for responsive width.
Some ad blockers or privacy extensions may block third-party iframes. Test in a private/incognito browser window without extensions to confirm.
Email us at hello@aihowtoinvest.com and we will help you get set up.
All 11 calculators are free to embed on your WordPress site:
The average American could save $5,000/year by optimizing their tax strategy. Try our tax calculator →
Paying an extra $100/month on your mortgage saves $30,000+ in interest over the life of the loan. Calculate your savings →
Starting to invest at 25 vs 35 can mean $500,000+ more at retirement thanks to compound interest. See the difference →
Refinancing student loans at a 2% lower rate saves $10,000–$20,000 over the loan term. Check your rate →
AI How To Invest provides 175+ free financial calculators and tools to help you make smarter money decisions. From mortgage and retirement planning to debt payoff strategies and investment analysis, our tools are designed to be fast, accurate, and easy to use. All calculator data stays in your browser — we never sell your personal information.
Trusted by tens of thousands of users for financial planning, tax optimization, and investment research. Learn more about us →
© 2024–1970 AIHowToInvest.com — 175+ Free Financial Tools | About | Contact | Privacy | Terms | Disclaimer