Free home affordability calculator widget for your website
This home affordability calculator widget turns a visitor's income, debts and down payment into a maximum home price, loan amount and monthly payment, based on a debt-to-income limit you can explain.
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?
Max price based on income.
What visitors enter
- Annual Gross Income
- Monthly Debts (Cars, Cards)
- Desired Down Payment %
- Interest Rate
- Loan Term
- Property Tax Rate (%)
- Yearly Insurance Est.
- Monthly HOA
- Max DTI Ratio (%)
- Emergency Reserve (Months of Payments)
Worked example
| Annual Gross Income | $100,000 |
|---|---|
| Monthly Debts (Cars, Cards) | $500 |
| Desired Down Payment % | 20% |
| Interest Rate | 7.18% |
| Loan Term | 30 Years |
| Property Tax Rate (%) | 1.2% |
| Yearly Insurance Est. | $1,000 |
| Monthly HOA | $0 |
| Max DTI Ratio (%) | 36% |
| Emergency Reserve (Months of Payments) | 3% |
| Max Home Price | $376,458 |
| Loan Amount | $301,167 |
| Down Payment | $75,292 |
| Max Monthly Payment | $2,500 |
| Conservative Estimate (28% DTI) | $272,608 |
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.
Your Home Affordability Analyzer Result
Generated from the inputs below — a record you can revisit, or share with anyone helping you plan.
Your detailsInput Parameters
Income
Loan Params
Default is 7.18%: Freddie Mac Primary Mortgage Market Survey, week of Nov 5, 2026. Enter the rate you were quoted.
Expenses
Risk Tolerance
Standard is 36-43%
Cash to keep on hand after closing, in months of PITI. 3-6 months is the common guideline.
At 36% DTI
Same math with housing plus your other debt payments capped at 28% of gross income, a stricter target than the limit you entered, if you want payment cushion.
Same figure as Max Home Price above, at your full 36% DTI.
3 months of PITI, kept in savings after closing.
Analysis
Who puts a home affordability calculator on their website?
"How much house can I afford?" is usually the first question a buyer has. Answering it on your own site, with the debt-to-income limit spelled out, starts a pre-approval conversation instead of sending them to a portal.
- Real estate agents
- Mortgage brokers
- Credit unions with first-time buyer programs
What should I put next to the home affordability 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 28/36 Rule and DTI Math
The 28/36 rule is the cornerstone of US mortgage affordability analysis, endorsed by Fannie Mae and incorporated into Freddie Mac's automated underwriting guidelines. It sets maximum ratios for two types of debt-to-income (DTI):
Front-End DTI (Housing Ratio)
Front-End DTI = (Monthly PITI + PMI + HOA) ÷ Gross Monthly Income
Target: ≤ 28%
FHA allows up to: 31% (standard), 40% with compensating factors
Back-End DTI (Total Debt Ratio)
Back-End DTI = (Monthly Housing + All Other Monthly Debts) ÷ Gross Monthly Income
Target: ≤ 36% (conventional guideline)
Fannie Mae / conventional: up to 45–50% with compensating factors
FHA: up to 43% (standard), 50% with compensating factors
VA: 41% guideline, flexible for strong residual income
Working backward from DTI to maximum home price:
Maximum PITI from Front-End DTI
Max PITI = Gross Monthly Income × 0.28
Max P&I = Max PITI − Monthly Tax Escrow − Monthly Insurance − PMI
Converting Max P&I to Loan Amount
Max Loan = Max P&I × [(1+r)ⁿ − 1] / [r × (1+r)ⁿ]
Where r = monthly rate, n = months
Back-End Constraint
Max Housing Payment = (Gross Monthly Income × 0.36) − Existing Monthly Debts
Take the lower of front-end and back-end max housing payments
Example — $95,000 household income, $500/month existing debts, 7.18% rate, 30 years, 10% down:
Gross monthly income: $7,917
Front-end max PITI: $7,917 × 28% = $2,217
Less: taxes ($350) + insurance ($110) + PMI ($160) = $620/month non-P&I
Max P&I from front-end: $2,217 − $620 = $1,597
Max loan from front-end: ~$236,000
Back-end max all debts: $7,917 × 36% = $2,850
Less existing debts: $500
Max housing from back-end: $2,350 → Max P&I: $1,730 → Max loan: ~$255,000
Binding constraint: front-end → Max loan ≈ $236,000
With 10% down ($26,000), max purchase price ≈ $262,000
The embedded version runs the same code as the Home Affordability Analyzer 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.
Step 1: Create a free account
Pick the calculator you want and the website it will run on.Step 2: Add your logo and colors
The calculator matches your brand, with a small “Powered by We Are Calculator” credit at the bottom.Step 3: Paste one line of code
It works in WordPress, Squarespace, Webflow, Shopify or any HTML page.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.
The code you paste
Your dashboard gives you this code with your own account ID filled in.
<iframe src="https://wearecalculator.com/embed/home-affordability-analyzer?client=YOUR-ID" width="100%" height="760" scrolling="auto" style="border:0;" title="Home Affordability Analyzer" 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
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
Enterprise
Custom
Custom limits and invoice billing.
- Custom calculator and lead limits
- Multiple websites
- Custom calculators
- Invoice billing
- Dedicated support
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
Which debt-to-income limit does it use?
The visitor sets the maximum DTI (36% by default). Lenders use different limits by loan type, so the result is an estimate, not a pre-approval.
Does it account for an emergency reserve?
Yes. Visitors can say how many months of payments they want to keep in reserve, and the down payment is worked out after that cushion.
Is the home affordability 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.
Other calculators businesses add with it
Ready to try it?
Create your account and embed your first calculator within minutes. A free plan is available, no credit card needed.
Get startedSee 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.
