dett.io

Methodology & Data Sources

Every number our calculators produce comes from a documented formula and a cited assumption. This page explains the math, where the data comes from, and how we keep it current.

How the calculators work

All calculations run locally in your browser. Nothing you type is sent to our servers, and results appear instantly. Each calculator also includes a “Show Me the Math” panel that walks through the exact formula behind every number on the page, with your own inputs plugged in.

Core formulas

Monthly principal & interest uses the standard amortization formula that lenders use:

M = P × r × (1 + r)ⁿ ÷ [(1 + r)ⁿ − 1]
  • M — monthly principal & interest payment
  • P — loan principal
  • r — monthly interest rate (annual rate ÷ 12 ÷ 100)
  • n — total number of monthly payments (term in years × 12)

Amortization schedules, payoff timelines, break-even points, and refinance comparisons are all derived from this same formula — we recompute the remaining balance month by month rather than approximating. Affordability estimates apply the 28%/36% debt-to-income guideline and solve the amortization formula for principal.

Data sources and assumptions

Where a calculator relies on a rate table or guideline rather than your inputs, this is where the numbers come from:

WhatHow we model itSource
Mortgage interest ratesYou enter the rate you were quoted. We never guess your rate for you.For a market reference point, see the Freddie Mac Primary Mortgage Market Survey (PMMS), published weekly. (freddiemac.com/pmms)
Conforming & FHA loan limitsThe FHA calculator checks your base loan against the 2026 FHA floor ($541,287) and ceiling ($1,249,125). Conventional loans above the conforming baseline ($832,750) are flagged as jumbo. Limits vary by county.FHFA conforming loan limits and HUD FHA mortgage limits. (fhfa.gov)
FHA mortgage insurance (MIP)Upfront MIP of 1.75% of the base loan, plus annual MIP of 0.15%–0.75% depending on loan term, LTV, and amount.HUD FHA annual MIP schedule (Mortgagee Letter 2023-05). (hud.gov)
VA funding feeRates from 1.25% to 3.3% based on down payment, first vs. subsequent use, and service type; waived with a qualifying disability rating.Official VA funding fee rate tables. (va.gov)
Private mortgage insurance (PMI)Estimated annual rates of roughly 0.2%–1.5% of the loan amount, scaled by LTV and credit score band.Modeled on published rate cards from major private mortgage insurers (e.g., MGIC, Radian). Your actual quote will vary. (mgic.com/rates)
Debt-to-income thresholdsThe 28%/36% housing and total-debt guideline, the 43% qualified-mortgage benchmark, and FHA allowances up to ~50% with compensating factors.CFPB qualified mortgage rule and HUD Handbook 4000.1 underwriting guidelines. (consumerfinance.gov)
Closing costsItemized estimates that total the commonly cited 2%–5% of the home price, broken into lender, third-party, and prepaid items. State selection switches attorney-closing vs title/escrow custom and the statewide transfer-tax rate.CFPB closing cost guidance and industry averages; state transfer-tax and attorney-closing customs from published state tables. (consumerfinance.gov)
Property tax (by state / ZIP)A State/ZIP input prefills an effective annual tax rate as a percent of home value. ZIP prefixes refine a few large metros where local rates diverge from the statewide average. You can always override the number.Tax Foundation effective property tax rates on owner-occupied housing, latest published figures. (taxfoundation.org)
Homeowners insurance (by state / ZIP)Typical annual HO-3 premiums as a percent of dwelling value. Hurricane, hail, and wildfire states are higher than the inland band. Scaled to the home price you enter.NAIC / Insurance Information Institute average homeowners premium by state, expressed as a percent of value. (iii.org)
ARM index scenariosNamed paths hold the index at expected -2 / 0 / +2 points. Monte Carlo draws 400 seeded mean-reverting index paths (σ = 1.25% / year, κ = 0.35). Caps still bind every path. Worst case is the cap-driven upper bound, not a random draw.Modeled on historical SOFR / Treasury-bill volatility; not a forecast. Caps follow typical CFPB ARM disclosures (initial / periodic / lifetime). (consumerfinance.gov)
Rent vs buy scenario rangeNamed paths jointly shift appreciation, rent inflation, and investment return. Monte Carlo draws 400 seeded truncated-normal samples (σ = 2 / 1.5 / 4 pts). Results are shown as P10–P90 bands and the share of paths where buying ends ahead.Illustrative long-run dispersion around your inputs — not a prediction of local housing, rents, or market returns. (fhfa.gov/data/hpi)

Rate-path and Monte Carlo scenarios

Two calculators — Best Loan for My Timeline (ARM option) and Rent vs Buy — no longer rest on a single expected line plus a best/base/worst trio. They show a range of paths, with every assumption on the page and here.

ARM (Best Loan for My Timeline)

  • Named index paths. After the fixed period, we hold the index at your expected rate, -2 percentage points, and +2 percentage points (floored at 0%), then apply the same initial / periodic / lifetime caps as the loan.
  • Monte Carlo. 400 seeded draws of a mean-reverting index: x ← x + κ(μ − x)Δt + σ√Δt · Z, with μ = your expected index, σ = 1.25% per year, κ = 0.35, and Δt equal to the adjustment period. The index cannot go negative. The PRNG is deterministic (seed 34901) so the same inputs always produce the same percentiles.
  • Worst case is not sampled. It is the cap-driven path: every adjustment hits its cap until the lifetime cap. That is an upper bound, not a probability.

Rent vs Buy

  • Named joint paths. Optimistic (buying-friendly) and pessimistic (renting-friendly) shift appreciation, rent inflation, and investment return together — not appreciation alone, which used to be the entire best/base/worst story.
  • Monte Carlo. 400 seeded draws from truncated normals around your three inputs (appreciation σ = 2 pts, rent inflation σ = 1.5 pts, investment return σ = 4 pts). We report P10 / P50 / P90 of the buy-minus-rent net-worth gap and the share of paths where buying ends ahead.
  • This is a sensitivity range, not a forecast. Local housing, rent, and market returns can move together in ways a simple independent-draw model misses. Use the band to see how fragile the base-path verdict is.

How often everything is reviewed

Every calculator page shows a “Last updated” date — the last time we reviewed that calculator's formulas, rate tables, and assumptions. We re-review whenever the underlying guidelines change (for example, annual FHFA loan-limit announcements or HUD MIP schedule updates), and we correct errors as soon as they are reported.

Limitations

Our results are estimates for education and comparison, not loan offers. Actual rates, mortgage insurance premiums, taxes, and fees depend on your full financial profile, the property, and the lender. Always compare official Loan Estimates from multiple lenders before committing.

Found a mistake?

If you spot an error in a formula or an outdated assumption, email legal@dett.io and we'll fix it. You can read more about who builds and maintains these tools on our About page.