We Are Calculator logoWe Are Calculator
Free calculator widget

Free mortgage calculator widget for your website

This mortgage calculator widget shows a full monthly payment (principal, interest, property tax, insurance, PMI and HOA) and an amortization schedule, and it can sit on your own website under your logo.

By Robinjit Singh. Updated . Checked against IRS, CFPB, and SSA data, see our sources.

Key facts

Price

Free plan, or $89/month for 5 calculators

Install

Copy and paste one embed code

Branding

Your logo and colors, no ads

Leads

Dashboard, email, webhook, HubSpot or Zapier

What does it calculate?

PITI, Extra Payments, and PMI.

What visitors enter

  • Home Price
  • Down Payment Mode
  • Down Payment
  • Down Payment
  • Interest Rate
  • Loan Term
  • Payment Frequency
  • Mortgage Type
  • Property Taxes (Yearly)
  • Home Insurance (Yearly)
  • HOA Fees (Monthly)
  • Include PMI (if <20% down)
  • PMI Rate
  • Extra Monthly Payment
  • One-Time Lump Sum

Worked example

Example inputs and results for the Advanced Mortgage Calculator
Home Price$400,000
Down Payment20%
Interest Rate7.18%
Loan Term30 Years
Payment FrequencyMonthly
Mortgage TypeFixed Rate
Property Taxes (Yearly)$4,000
Home Insurance (Yearly)$1,200
HOA Fees (Monthly)$0
Include PMI (if <20% down)Yes
Periodic Payment$2,601
Principal & Interest$2,168
Property Taxes$333
Home Insurance$100
Total Interest$460,405

Worked out by the calculator’s own code with its default inputs. An example, not advice.

Live demo

This is the same calculator your visitors would use. On your site it carries your logo and colors, and a form under the result lets visitors send you their numbers.

Who puts a mortgage calculator on their website?

Buyers want the whole monthly number, not just principal and interest. Showing taxes, insurance and PMI next to the payment answers the question they would otherwise call you about, and the visitors who ask for their results become leads.

  • Mortgage brokers and loan officers
  • Real estate agents
  • Credit unions and community banks

What should I put next to the mortgage calculator?

The calculator answers the number. The page around it should say what the number means at your business and what to do next. This is guidance, not legal advice.

  • A disclosure

    A line that the payment is an estimate, not a rate quote or a commitment to lend, plus the licensing details your state requires (for example your NMLS ID).

  • One clear next step

    One next step that matches the result: “Get pre-approved”, “Talk to a loan officer” or a link to your application.

  • Your own figures

    The rate you are quoting today and the date, so buyers know which number to type in. The calculator has no live rate feed.

How is it calculated, and is it accurate?

The Math Behind Every Line Item

The core of any mortgage calculation is the standard amortization formula, which the CFPB and every regulated lender in the US use to disclose your monthly P&I payment:

Monthly P&I Payment

M = P × [r(1 + r)ⁿ] / [(1 + r)ⁿ − 1]


Where:

P = Principal loan amount

r = Monthly interest rate (annual rate ÷ 12)

n = Total number of monthly payments (years × 12)


Example: $400,000 loan at 6.5% for 30 years

r = 6.5% ÷ 12 = 0.5417% per month

n = 30 × 12 = 360 payments

M = 400,000 × [0.005417 × (1.005417)³⁶⁰] / [(1.005417)³⁶⁰ − 1]

M = $2,528/month P&I

Each payment then adds the other cost layers:

Total Monthly Payment

Total = P&I + (Annual Property Tax ÷ 12) + (Annual Insurance ÷ 12) + PMI + HOA


PMI (conventional) = Loan Balance × Annual PMI Rate ÷ 12

Typical PMI rates (Urban Institute 2025): 0.46%–1.50% of original loan

Credit score ≥760 → ~0.46%; score 620–639 → ~1.50%


FHA MIP = Loan Balance × 0.55% ÷ 12 (for >15-year loans, LTV >90%)

FHA Upfront MIP = Loan Amount × 1.75% (financed into loan)


VA Funding Fee = Loan Amount × 1.25%–2.15% (first use, >5% down → 1.25%)

Biweekly payment math: Instead of 12 monthly payments, you make 26 half-payments per year — the equivalent of 13 monthly payments. That extra payment per year attacks principal directly.

Biweekly Savings Example ($400,000 at 6.5%, 30-year)

Monthly payment: $2,528 × 12 = $30,336/year

Biweekly payment: $1,264 × 26 = $32,864/year (extra ~$2,528)

Payoff acceleration: ~4.5 years early

Total interest saved: ~$58,000

Extra payment impact: Each dollar of extra principal reduces future interest on the remaining balance. On a new $400,000 loan at 6.5%, an extra $200/month from day one saves approximately $62,000 in interest and cuts 6 years off the payoff. Even modest prepayments add up over a 30-year loan, because every extra dollar of principal stops accruing interest for the rest of the term.

The embedded version runs the same code as the Advanced Mortgage Calculator on wearecalculator.com. See our sources and changelog.

How do I add it to my website?

Most businesses are live in under ten minutes. If you can paste a YouTube video into your site, you can add a calculator.

  1. Step 1: Create a free account

    Pick the calculator you want and the website it will run on.
  2. Step 2: Add your logo and colors

    The calculator matches your brand, with a small “Powered by We Are Calculator” credit at the bottom.
  3. Step 3: Paste one line of code

    It works in WordPress, Squarespace, Webflow, Shopify or any HTML page.
  4. Step 4: Leads arrive

    Visitors see their result first. If they send the form under it, the lead reaches your dashboard and inbox, and HubSpot, Zapier or a webhook if you connect one.
Step by step for each site builder: install guide.

The code you paste

Your dashboard gives you this code with your own account ID filled in.

<iframe src="https://wearecalculator.com/embed/advanced-mortgage-calculator?client=YOUR-ID" width="100%" height="760" scrolling="auto" style="border:0;" title="Advanced Mortgage Calculator" class="wac-embed" loading="lazy"></iframe>
<script>
(function(){
  if (window.__wacEmbedListenerAdded) return;
  window.__wacEmbedListenerAdded = true;
  window.addEventListener('message', function(e){
    if (e.origin !== 'https://wearecalculator.com') return;
    var d = e.data || {};
    if (typeof d.wacEvent === 'string') {
      var params = { calculator_id: d.calculatorId, calculator_name: d.calculatorTitle };
      window.dataLayer = window.dataLayer || [];
      window.dataLayer.push(Object.assign({ event: 'wac_' + d.wacEvent }, params));
      if (typeof window.gtag === 'function') window.gtag('event', 'wac_' + d.wacEvent, params);
      return;
    }
    if (typeof d.wacEmbedHeight !== 'number') return;
    var frames = document.querySelectorAll('iframe.wac-embed');
    for (var i = 0; i < frames.length; i++) {
      if (frames[i].contentWindow === e.source) {
        frames[i].style.height = d.wacEmbedHeight + 'px';
        break;
      }
    }
  });
})();
</script>

The short script resizes the calculator to fit; your dashboard also has a version without it. Wix and GoDaddy Website Builder are not supported yet.

Pricing

One flat monthly price with 50 leads included. Need more? Add a lead pack. No setup fees, cancel any time.

Free

$0

Free forever. No card required.

  • 1 active calculator
  • 1 website
  • 10 leads per month
  • Never lose a lead: extra leads are saved and wait for you
  • Your logo and brand colour
  • Lead emails with PDF report
  • Email, webhook, HubSpot + Zapier delivery
Start free

Starter

Most popular

$89 USD/month

Billed monthly. Cancel any time.

  • 5 active calculators
  • 1 website
  • 50 leads included, reset each month on your billing date
  • Need more? Lead packs from $25 USD
  • Never lose a lead: extra leads are saved and wait for you
  • Your logo and brand colour
  • Lead emails with PDF report
  • Email, webhook, HubSpot + Zapier delivery
  • Priority email support
Get started

Enterprise

Custom

Custom limits and invoice billing.

  • Custom calculator and lead limits
  • Multiple websites
  • Custom calculators
  • Invoice billing
  • Dedicated support
Contact us

Lead add-on packs

For Starter. Used only after your 50 included leads run out, and they never expire.

+25 leads

$25 USD

$1.00 USD per lead, one-time

+100 leads

$79 USD

$0.79 USD per lead, one-time

+500 leads

$299 USD

$0.60 USD per lead, one-time

Prices in USD. You're never billed for extra leads automatically; packs are only charged when you buy one. See what counts as a lead.

Questions businesses ask

Does the mortgage widget include PMI, taxes and HOA?

Yes. Visitors can enter yearly property tax, yearly home insurance, monthly HOA dues and a PMI rate. PMI is applied only while the down payment is under 20%.

Can visitors model extra payments?

Yes. There are fields for an extra monthly payment and a one-time lump sum, and the schedule shows how much sooner the loan is paid off.

Is the mortgage calculator widget free?

Yes. The Free plan includes 1 calculator on 1 website and up to 10 leads a month, with no card. Starter is $89/month for 5 calculators and 50 leads a month.

Will it show my branding?

Yes. Your logo and brand colors appear on the calculator, with no ads. A small "Powered by We Are Calculator" credit stays at the bottom on every plan.

Want to see it with your branding? Email Robinjit.

See every calculator you can embed →

Ready to try it?

Create your account and embed your first calculator within minutes. A free plan is available, no credit card needed.

Get started

See what counts as a lead, our accessibility statement, the data handling details, our Terms, the License Agreement and Privacy Policy.

Already a customer? See Help & FAQ.

Questions before signing up? Reach out via the contact page.