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.
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.
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.
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.
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
divholds the widget and its credit line together, and carries the width cap when you choose one. - The
scripttag 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-qlcnames the calculator. Swap it for any slug in the list below, such asauto-loan-calculator.- The
pis 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.
| Feature | Auto-resizing script | Plain iframe |
|---|---|---|
| Height | Fits the content automatically | Fixed; you set it |
| Works where scripts are stripped | No | Yes |
| Brand color and theme | Yes | Yes |
| Lazy-loaded | Yes | Yes |
| Best for | WordPress, Squarespace, Webflow, Shopify, HTML | Wix, 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.
- Open the page or post in the block editor and click where the calculator should go.
- Add a Custom HTML block: click the + inserter and search "Custom HTML", or type /html on an empty line.
- 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.
- Edit the page and click an insert point (Add Block in 7.1 sections).
- Choose Code from the block menu.
- 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.
- In the editor, click Add Elements, then Embed Code, then Embed HTML.
- Click Enter Code, choose the Code option, paste the plain iframe snippet, and click Update.
- 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.
- Drag a Code Embed element from the Add panel onto the page.
- Paste the embed code into the code editor and click Save and Close.
- 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.
- Theme editor: go to Online Store, then Themes, then Customize, and open the page template.
- Add a section, choose Custom Liquid, and paste the embed code into it.
- 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.
- Click Insert, then Embed, then the Embed code tab.
- Paste the plain iframe snippet, click Next, then Insert.
- 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.
- Open the HTML file or template where the calculator should go.
- Paste the embed code at that spot. No extra CSS, framework, or library is needed.
- 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.

Real estate agents and listing sites
Buyers on a listing want the monthly payment, not the price. The mortgage widget adds property tax, insurance, and PMI, so the figure is close to what they will actually pay. First-time buyer and FHA pages fit agents who work with smaller down payments.
Mortgage brokers and loan officers
Put the payment next to your rate sheet, the break-even month next to your refinance pitch, and the DTI ratio on your pre-approval page so borrowers can check where they stand before they call.
Banks and credit unions
One calculator per product page: a member can type your posted rate straight in. The loan payment widget covers any installment loan, and the auto, personal, and HELOC widgets handle the details that generic calculators skip.
Car dealers and auto blogs
The auto loan widget handles trade-in, down payment, and sales tax, so the payment a shopper sees on your inventory page is honest. Affordability and lease vs buy fit buying guides.
Personal finance bloggers and educators
Let readers test your advice with their own numbers. The amortization widget shows how extra payments shorten a loan, and the debt consolidation and student loan widgets fit payoff articles.
Accountants and small-business advisers
Owners deciding whether a financing offer is survivable need the payment and the cash that actually lands after fees. These widgets show both.
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.
General Loan widgets(3)
Loan Payment Calculator Widget
Work out the monthly payment on a fixed-rate loan, see what the interest adds up to over the full term, and test how extra payments move the payoff date.
Amortization Calculator Widget
Build a payment-by-payment schedule for any fixed-rate loan and see how the split between interest and principal shifts from the first payment to the last.
Loan Comparison Calculator Widget
Line up two loan offers and see the gap in monthly payment, total interest, and lifetime cost before you commit to either one.
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)
Auto Loan Calculator Widget
Turn a vehicle price, down payment, trade-in, sales tax, and APR into a monthly payment, and see what the loan costs in interest before you sign anything.
Car Affordability Calculator Widget
Solve backward from the payment you can carry each month to a maximum car price, with the down payment, rate, term, and sales tax folded into the answer.
Auto Refinance Calculator Widget
Put your current car loan next to a refinance offer and see the change in monthly payment and lifetime interest before you commit to anything.
Lease vs Buy Calculator Widget
Compare leasing and buying the same car over one window: cash out of pocket, monthly payments, and the equity that only exists on the buying side.
Car Loan Interest Deduction Calculator Widget
Estimate the new federal car loan interest deduction for 2025 through 2028: deductible interest each year after the $10,000 cap and the income phase-out, and the tax it saves.
RV Loan Calculator Widget
Estimate the monthly payment on a motorhome or trailer, where terms reaching 20 years keep the payment small while the interest quietly compounds the cost.
Boat Loan Calculator Widget
Work out the payment on a new or used boat over marine terms as long as 20 years, and see the interest total before slips and storage start their own tab.
Personal Loan widgets(4)
Personal Loan Calculator Widget
Estimate the monthly payment on an unsecured personal loan, see what the origination fee takes off the top, and compare total interest over 2 to 7 years.
Debt Consolidation Calculator Widget
Compare your current card balances against one consolidation loan at a lower rate and see the change in monthly payment, payoff date, and total interest.
Medical Loan Calculator Widget
Spread a hospital, dental, or fertility bill over fixed monthly payments and see what a 0% promotional offer really costs if the balance outlives the promotion.
Solar Loan Calculator Widget
Price a solar loan against your current electric bill, compare interest across 10 to 25 year terms, and model the system with or without a tax credit.
Student Loan widgets(6)
Student Loan Repayment Calculator Widget
Work out a student loan payment over 10 to 25 years, then see how much an extra monthly payment cuts from total interest and the payoff date.
Parent PLUS Loan Calculator Widget
Estimate the monthly bill on a Parent PLUS loan, including the origination fee that comes off the top before the school ever sees the money.
Income-Driven Repayment (IDR) Calculator Widget
Compare your monthly payment under RAP, IBR, PAYE and ICR against the standard 10-year plan, based on your income, family size and tax filing status.
RAP Calculator (Repayment Assistance Plan) Widget
Project the Repayment Assistance Plan over up to 30 years: your payment each year as income grows, the interest the government waives, the $50 principal match, and whether you pay off or reach forgiveness.
Student Loan Forgiveness Calculator Widget
Project the balance left to forgive after 10 years of PSLF, 20 to 25 years of IBR, PAYE or ICR, or 30 years on RAP, plus the total paid along the way.
Student Loan Refinance Calculator Widget
Compare your student loan with a refinance offer: the change in monthly payment and lifetime interest, and the federal protections refinancing gives up.
Business Loan widgets(6)
Business Loan Calculator Widget
Work out the monthly payment and total interest on a business term loan, and see how much cash reaches your account after the origination fee.
SBA Loan Calculator Widget
Estimate the monthly payment on an SBA 7(a) loan up to $5 million, with the tiered guarantee fee rolled into the balance and total interest for the term.
SBA 504 Loan Calculator Widget
Price an SBA 504 project the way the program splits it: a bank loan for half, a CDC debenture for 40 percent, and your 10 percent down.
Equipment Financing Calculator Widget
Figure the monthly payment on financed business equipment after a down payment, with an optional residual buyout for modeling lease structures.
Farm Loan Calculator Widget
Estimate the payment on a farm loan for land, equipment, livestock or operating costs, with term presets based on common FSA and farm lender structures.
Startup Loan Calculator Widget
Estimate payments on startup capital from an SBA microloan, an online lender, or a personal loan, and see what the rate you qualify for does to total cost.
Credit & Debt widgets(5)
Debt-to-Income (DTI) Calculator Widget
Add up your monthly debts, divide by gross income, and see both DTI ratios lenders check, with the limits Fannie Mae, FHA, VA and USDA set for each.
Loan-to-Value (LTV) Calculator Widget
Loan balance divided by property value gives your LTV, the ratio that decides whether you pay PMI, which rate tier you land in, and what refinances are open.
Title Loan Calculator Widget
A 25 percent monthly fee on a title loan is a 300 percent APR. Total the fees, the payback, and the repossession risk before you sign over a car title.
Payday Loan Calculator Widget
That flat $15 per $100 fee is a 391 percent APR. Convert any payday quote to an annual rate and see what each rollover adds while the balance stands still.
Credit-Builder Loan Calculator Widget
Price a credit-builder loan: fixed monthly payments the lender reports to the bureaus while your principal sits in locked savings until the term ends.
Real Estate Investing widgets(5)
DSCR Loan Calculator Widget
Check whether a rental qualifies on its own income. Enter rent, expenses and loan terms to see the DSCR, the monthly payment and the cash flow left over.
Bridge Loan Calculator Widget
Price a bridge loan before you commit. The tool totals the interest only monthly carry, origination points, and the balloon that comes due when the term ends.
Hard Money Loan Calculator Widget
Work out what a hard money loan costs. The loan is sized off value or ARV at your chosen LTV, with monthly interest, points and the term total itemized.
Construction Loan Calculator Widget
See both halves of a construction-to-permanent loan: interest-only payments on the draw balance during the build, then the full payment after conversion.
Land Loan Calculator Widget
Estimate the payment on a lot or acreage purchase. Expect 20 to 50 percent down and rates above home mortgages, since vacant land is hard to resell.
Calculator widget questions
Yes, for personal and commercial sites alike. There is no signup, API key, paid tier, or cap on how many visitors can use a widget. The embed code includes a one-line credit under the widget, such as "Mortgage Calculator by Quick Loan Calculators", and keeping that link is the entire cost.
Copy the embed code from this page, then in the WordPress block editor add a Custom HTML block (type /html on an empty line), paste the code, and update the page. No plugin and no coding are needed. In the classic editor, paste into the Text tab instead of Visual. On WordPress.com plans that strip script tags, use the plain iframe version.
Yes. On Squarespace, paste the code into a Code block. On Wix, use Embed Code, then Embed HTML, with the plain iframe version, and drag the box tall enough to show the whole calculator. On Shopify, paste it into a Custom Liquid section or the HTML view of a page. The install steps on this page cover Webflow, Google Sites, and plain HTML too.
Yes. Pick your brand color in the code generator, by color picker, hex code, or one of the preset swatches, and choose a light, dark, or automatic theme that follows each visitor's system setting. If a color is too light to read on white, the widget darkens it just enough to stay readable, and button text switches between white and dark to match. You can also cap the width at 700, 500, or 400 pixels. Fonts, layout, and the starting numbers are fixed.
No. The loader script is about 2 KB and loads asynchronously, and the calculator iframe it creates is lazy-loaded, so the browser does not fetch it until a visitor scrolls near it. Nothing blocks your page from rendering, and all the math runs in the visitor's browser.
Nothing. Calculations run entirely in the browser, so the numbers your visitors type are never sent to our servers or anyone else's. The widget sets no cookies, loads no analytics or ads, and never asks for an email address, so it adds nothing to your cookie banner.
Yes. The free license in section 7 of our terms asks that the credit line stay visible, linked, and next to the widget, and that the widget itself is not modified. That link is how the calculators stay free: it tells your readers where the tool comes from and lets them reach the full calculator, with its method and amortization schedule, if they want more than the widget shows.
Yes. Paste one snippet for each calculator. The loader script sizes each widget on its own, so a bank page can show a mortgage calculator and an auto loan calculator side by side, each in its own brand color if you like.
Every input has a visible label, every slider has a number box beside it so values can be typed, choices such as loan terms are real buttons that report which is selected, and screen readers announce the updated payment after a change. The widget follows the visitor's light or dark setting unless you fix the theme.
Yes. Embeds load the live calculator from our servers, so formula updates and fixes reach your site automatically. Every calculator documents its formula and assumptions on its full page, along with the date it was last reviewed.
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.