Skip to main content

Free mortgage and loan calculator widgets for your website

Put a working mortgage calculator, loan calculator, or any of our 47 financial calculators on your own website for free. Copy the embed code below, paste it into WordPress, Squarespace, Wix, Shopify, Webflow, or any HTML page, and your visitors can run their numbers without leaving your site.

There is no signup, API key, or view limit. Set the widget to your brand color and a light or dark theme, and it resizes itself to fit your layout. It runs entirely in your visitor's browser with no cookies, ads, or tracking. The only thing we ask is that you keep the one-line credit link that comes with the code.

Try it: mortgage calculator widget

This is the live embed your visitors would see. Change the width, color, or theme and the code updates. Every calculator in the full list below has the same code generator on its own page.

Embed type

Recommended. The widget grows and shrinks to fit its content, so there are never inner scrollbars.

Brand color

Your site's main brand color, for example #1d4ed8.

If a color is too light to read on white, the widget darkens it just enough to stay readable.

Theme

Your embed code

<div class="qlc-widget">
<script src="https://quickloancalculators.com/embed.js" data-qlc="mortgage-calculator" async></script>
<p style="margin:6px 0 0;font:12px/1.4 system-ui,sans-serif;">Mortgage Calculator by <a href="https://quickloancalculators.com/mortgage-calculator">Quick Loan Calculators</a></p>
</div>

Live preview

This is the exact widget your visitors will see.

How to embed a calculator on your website

It takes about two minutes and no coding. If you can paste text into your site editor, you can install the widget.

  1. Copy the snippet

    Pick a calculator, set the width, brand color and theme if you want to, and copy the embed code with one click.

  2. Paste it into your site

    Use an HTML block in your site editor: a WordPress Custom HTML block, a Squarespace Code block, a Wix Embed Code element, or any HTML page.

  3. Publish

    The calculator appears where you pasted the code, sizes itself to your layout, and stays up to date on its own.

The HTML embed code, line by line

There is nothing hidden in the snippet. Here is the mortgage calculator embed code exactly as the generator produces it, and what each part does.

Auto-resizing script (recommended)

<div class="qlc-widget">
<script src="https://quickloancalculators.com/embed.js" data-qlc="mortgage-calculator" async></script>
<p style="margin:6px 0 0;font:12px/1.4 system-ui,sans-serif;">Mortgage Calculator by <a href="https://quickloancalculators.com/mortgage-calculator">Quick Loan Calculators</a></p>
</div>
  • The outer div holds the widget and its credit line together, and carries the width cap when you choose one.
  • The script tag loads a small loader that puts the calculator in an iframe right where you pasted it, then grows or shrinks that iframe to fit, so there is never an inner scrollbar.
  • data-qlc names the calculator. Swap it for any slug in the list below, such as auto-loan-calculator.
  • The p is the credit line: plain HTML on your page that links to the full calculator.

Plain iframe (no script)

<div class="qlc-widget">
<iframe src="https://quickloancalculators.com/embed/mortgage-calculator" title="Mortgage Calculator" style="width:100%;border:0;" height="560" loading="lazy"></iframe>
<p style="margin:6px 0 0;font:12px/1.4 system-ui,sans-serif;">Mortgage Calculator by <a href="https://quickloancalculators.com/mortgage-calculator">Quick Loan Calculators</a></p>
</div>

Use this on platforms that strip script tags or put embeds in a fixed box, such as Wix and Google Sites. It does the same job at a set height; raise the height in the generator until nothing is cut off, since the mortgage calculator is taller than most.

With your brand color

<div class="qlc-widget">
<script src="https://quickloancalculators.com/embed.js" data-qlc="mortgage-calculator" data-qlc-accent="1d4ed8" data-qlc-theme="light" async></script>
<p style="margin:6px 0 0;font:12px/1.4 system-ui,sans-serif;">Mortgage Calculator by <a href="https://quickloancalculators.com/mortgage-calculator">Quick Loan Calculators</a></p>
</div>

The generator adds data-qlc-accent for your color and data-qlc-theme for a fixed light or dark theme. In the iframe version the same settings travel as accent and theme in the URL.

Script or iframe: which embed to use
FeatureAuto-resizing scriptPlain iframe
HeightFits the content automaticallyFixed; you set it
Works where scripts are strippedNoYes
Brand color and themeYesYes
Lazy-loadedYesYes
Best forWordPress, Squarespace, Webflow, Shopify, HTMLWix, Google Sites, locked-down builders

How to add a calculator to WordPress, Squarespace, Wix and more

The embed works anywhere you can paste HTML. The auto-resizing script is the best choice on most platforms. A few builders strip third-party scripts or wrap embeds in a fixed box, and for those the plain iframe does the same job at a set height. Both options are in the code generator above.

  • WordPress (no plugin needed)

    A Custom HTML block is all it takes, so there is no calculator plugin to install, update, or vet. Use the auto-resizing script.

    1. Open the page or post in the block editor and click where the calculator should go.
    2. Add a Custom HTML block: click the + inserter and search "Custom HTML", or type /html on an empty line.
    3. Paste the embed code into the block, click Preview to check it, then Update or Publish.

    Classic editor: switch to the Text tab (not Visual) before pasting. Sidebar or footer: Appearance, then Widgets, then add a Custom HTML block there. On WordPress.com, plans without plugin support may strip script tags; if the widget does not appear, use the plain iframe version.

  • Squarespace

    Use a Code block. Try the auto-resizing script first.

    1. Edit the page and click an insert point (Add Block in 7.1 sections).
    2. Choose Code from the block menu.
    3. Paste the embed code, leave the mode set to HTML, turn off "Display source", and save.

    Some Squarespace plans do not run scripts in Code blocks, and scripts often do not run inside the editor preview. Check the live page; if the widget does not show there, switch to the plain iframe version.

  • Wix

    Use the plain iframe version. Wix puts embedded code in a box you size yourself, so the auto-resizing script cannot grow it.

    1. In the editor, click Add Elements, then Embed Code, then Embed HTML.
    2. Click Enter Code, choose the Code option, paste the plain iframe snippet, and click Update.
    3. Drag the box to full width and make it a little taller than the iframe height in the snippet, so the credit line under the widget shows. Publish.
  • Webflow

    Use an Embed element. The auto-resizing script works on published sites.

    1. Drag a Code Embed element from the Add panel onto the page.
    2. Paste the embed code into the code editor and click Save and Close.
    3. Publish. Embeds render on the published site, not in the Designer canvas.
  • Shopify

    Use a Custom Liquid section in the theme editor, or the HTML view of a page.

    1. Theme editor: go to Online Store, then Themes, then Customize, and open the page template.
    2. Add a section, choose Custom Liquid, and paste the embed code into it.
    3. Save. For a single page instead, open the page under Online Store, then Pages, click the Show HTML button in the editor, paste, and save.
  • Google Sites

    Use the plain iframe version. Google Sites runs embed code in a box of its own.

    1. Click Insert, then Embed, then the Embed code tab.
    2. Paste the plain iframe snippet, click Next, then Insert.
    3. Drag the box taller until the whole calculator and the credit line show.
  • Plain HTML and other site builders

    Anywhere you can edit the HTML, paste the auto-resizing script where the widget should appear.

    1. Open the HTML file or template where the calculator should go.
    2. Paste the embed code at that spot. No extra CSS, framework, or library is needed.
    3. If your builder strips script tags, use the plain iframe version instead.

Building a React or Next.js app, prefilling a calculator from your own data (a listing price, a vehicle price), or working under a Content Security Policy? The developer embed docs cover every option and list each calculator's field names.

Which calculator widget fits your website

Most sites need one or two calculators, placed on the pages where readers already have the question. These are the ones each kind of site gets the most from.

Illustration of a browser window with a calculator widget embedded inside it

What you get, and what you don't

Many free calculator widgets come with a signup, a monthly view cap, ads, or a lead form. These have none of that.

  • Calculator widgets

    Every calculator on the site, from mortgage and auto loans to SBA, DSCR and student loan repayment.

    47

  • No signup, no view limits

    No account, API key or paid tier, and no cap on how many visitors use a widget. Commercial sites are welcome.

    $0

  • Loader script

    It loads asynchronously and the iframe is lazy-loaded, so nothing blocks your page from rendering.

    2 KB

  • Cookies, ads or trackers

    The widget loads no analytics or ads and sends nothing your visitors type to anyone.

    0

  • Brand color

    Pick a hex color and a light, dark or automatic theme. Colors too light to read are adjusted to stay legible.

    Any

  • Line of credit

    A short "by Quick Loan Calculators" link under the widget is the only thing we ask you to keep.

    1

All 47 calculator widgets

Each widget page has a live preview, the embed code with color and theme options, and notes on what that calculator shows inside an article.

Mortgage & Home widgets(11)

Mortgage Calculator Widget

Estimate a full monthly mortgage payment, with property tax, homeowners insurance, and PMI counted alongside principal and interest.

Refinance Calculator Widget

Weigh your current mortgage against a new one. See the monthly savings, the break-even month on closing costs, and lifetime interest on both loans.

FHA Loan Calculator Widget

See what an FHA loan costs per month once both insurance premiums are counted: the 1.75 percent upfront charge and the annual MIP on every payment.

VA Loan Calculator Widget

Model a VA home loan with nothing down and no monthly mortgage insurance. The one-time funding fee is calculated and financed into the balance for you.

HELOC Calculator Widget

Work out both HELOC payments: the interest-only amount during the draw years, and the larger principal-and-interest payment once repayment begins.

Home Equity Loan Calculator Widget

Get the fixed monthly payment on a home equity loan, plus your combined loan-to-value ratio and the equity cushion left after you borrow.

USDA Loan Calculator Widget

Estimate a zero-down USDA loan payment with the 1% guarantee fee financed into the balance and the 0.35% annual fee included month by month.

Jumbo Loan Calculator Widget

Price a mortgage too large for Fannie Mae or Freddie Mac to buy: principal, interest, property tax, and insurance sized for a jumbo balance.

ARM Calculator Widget

Compare an adjustable-rate mortgage payment during its fixed years against the payment after the rate resets, using your own rate assumptions.

First-Time Homebuyer Calculator Widget

Turn your income, debts, and savings into a realistic price range, then see which loan programs fit the down payment you actually have.

Manufactured Home Loan Calculator Widget

Estimate the payment on a manufactured home loan, whether the home is financed as personal property on a chattel loan or as real estate with a mortgage.

Auto & Vehicle widgets(7)

Student Loan widgets(6)

Business Loan widgets(6)

Credit & Debt widgets(5)

Real Estate Investing widgets(5)

Calculator widget questions

Pick a widget and paste it in

Each widget page has the embed code, a live preview, and color and theme options. If an embed will not size itself on your template, or your platform strips the code, send the page URL and it gets looked at.