mortgage
Mortgage Calculator
Estimate a full monthly mortgage payment including principal, interest, tax, insurance, PMI, HOA, and other recurring costs.
mortgage calculator
The House Affordability Calculator estimates a maximum home price using either income-DTI mode or fixed-budget mode. Income-DTI mode starts with annual household income, existing monthly debt, and a selected front-end and back-end debt-to-income profile. Fixed-budget mode starts with the monthly housing budget you enter. Both modes then solve the home price that fits principal and interest, property tax, insurance, PMI when the down payment is below 20 percent, HOA dues, and maintenance.
Your scenario
Working scenario
Not saved yet
Saved scenarios
Save this result, then use saved scenarios to switch between assumptions.
Use this calculator before comparing mortgage payments, a Debt-to-Income Calculator result, Down Payment Calculator scenarios, or a Rent vs. Buy Calculator estimate. It is useful for testing how income, debts, rates, down payment size, tax assumptions, insurance, PMI, HOA dues, and maintenance can change an illustrative price ceiling. It is not a lender pre-approval, Loan Estimate, underwriting decision, appraisal, property tax bill, insurance quote, or advice to buy a particular home.
The calculator first computes monthly income as annualHouseholdIncome / 12. For income-DTI mode, frontEndBudget equals monthly income times the selected front-end ratio, while backEndBudget equals monthly income times the selected back-end ratio minus monthlyDebtPayment. The usable housing budget is Math.min(frontEndBudget, backEndBudget), floored at zero. For fixed-budget mode, the calculator uses monthlyHousingBudget directly. The mortgage payment factor uses annualRate / 100 / 12 over termYears * 12 payments. The down payment share is downPaymentPercent / 100, and PMI is included only when downPaymentPercent < 20. HOA is converted with hoaPerYear / 12. After adding the per-dollar costs for loan payment, tax, insurance, PMI, and maintenance, maxHomePrice is solved as (monthlyHousingBudget - monthlyHoa) / perDollarMonthlyCost. The calculator then reports loan amount, down payment, monthly cost parts, frontEndDti, and backEndDti.
This formula page covers the app's House Affordability Calculator: income-DTI and fixed-budget home-price solves, selected front-end and back-end DTI limits, existing monthly debt, mortgage principal-and-interest, property tax, home insurance, PMI, HOA, maintenance, and output DTI ratios. It does not calculate lender pre-approval, an Ability-to-Repay or Qualified Mortgage determination, FHA or VA underwriting, a Loan Estimate, closing costs, tax bills, insurance quotes, HOA statements, rate locks, or personalised borrowing advice.
MI = Income / 12; FB = MI * FER / 100; BB = MI * BER / 100 - Debt; HB = mode == fixedBudget ? Budget : max(0, min(FB, BB)); r = APR / 100 / 12; n = Years * 12; LF = r == 0 ? 1 / n : r / (1 - (1 + r)^(-n)); Ls = max(0, 1 - DownPct / 100); PMIa = DownPct < 20 ? PMI / 100 / 12 : 0; HOA_m = HOA / 12; CostPerDollar = Ls * LF + (Tax + Ins + Maint) / 100 / 12 + Ls * PMIa; Price = CostPerDollar <= 0 ? 0 : max(0, (HB - HOA_m) / CostPerDollar); Loan = Price * Ls; Down = Price * DownPct / 100; PI = Loan * LF; Tax_m = Price * Tax / 100 / 12; Ins_m = Price * Ins / 100 / 12; PMI_m = Loan * PMIa; Maint_m = Price * Maint / 100 / 12; TotalHousing = PI + Tax_m + Ins_m + PMI_m + HOA_m + Maint_m; FrontDTI = MI > 0 ? TotalHousing / MI * 100 : 0; BackDTI = MI > 0 ? (TotalHousing + Debt) / MI * 100 : 0
The calculator first chooses a monthly housing budget from the income-DTI profile or the entered fixed budget. It then solves the highest home price whose per-dollar monthly cost fits inside that budget after monthly HOA, and derives the loan, down payment, payment components, and DTI ratios from the solved price.| Symbol | Meaning | How this page uses it |
|---|---|---|
| Income | Annual household income | The annual income entered on the calculator before any monthly conversion. |
| Debt | Monthly debt payments | Existing monthly debt payments entered on the calculator and included in the back-end DTI budget and output. |
| Budget | Entered monthly housing budget | The monthly housing budget used directly in fixed-budget mode. |
| MI | Monthly income | Annual household income divided by 12. |
| FER | Front-end ratio | The selected housing-cost DTI limit from the conventional, FHA, VA, or custom profile. |
| BER | Back-end ratio | The selected total-debt DTI limit from the conventional, FHA, VA, or custom profile. |
| FB | Front-end budget | Monthly income multiplied by the selected front-end ratio. |
| BB | Back-end budget | Monthly income multiplied by the selected back-end ratio, minus existing monthly debt payments. |
| HB | Selected housing budget | The lower income-DTI budget in income mode, clamped at 0, or the entered housing budget in fixed-budget mode. |
| APR | Annual interest-rate input | The entered mortgage interest rate. The app treats it as a simple annual rate for monthly amortization math. |
| r | Monthly rate | The annual rate divided by 100 and by 12. |
| n | Payment count | The mortgage term in years multiplied by 12. |
| LF | Loan payment factor | The monthly payment per dollar of loan principal. A zero-rate loan uses 1 divided by the payment count. |
| DownPct | Down payment percent | The entered down-payment percentage. |
| Ls | Loan share | One minus the down-payment share, clamped at 0. |
| Tax | Property tax rate | The entered annual property-tax percentage of home price, converted to a monthly cost in the solve. |
| Ins | Home insurance rate | The entered annual homeowners-insurance percentage of home price, converted to a monthly cost. |
| PMI | PMI rate | The entered annual private mortgage insurance rate. It is active only when the down payment is below 20 percent. |
| PMIa | Active monthly PMI rate | PMI divided by 100 and 12 when the down payment is below 20 percent; otherwise 0. |
| HOA_m | Monthly HOA or co-op fee | Annual HOA or co-op fees divided by 12. |
| Maint | Maintenance rate | The entered annual maintenance percentage of home price, converted to a monthly cost. |
| CostPerDollar | Per-dollar monthly cost | The monthly housing cost created by one dollar of home price before the fixed monthly HOA amount. |
| Price | Maximum home price | The solved home price after subtracting monthly HOA from the selected budget and dividing by per-dollar monthly cost. |
| Loan | Loan amount | Maximum home price multiplied by loan share. |
| Down | Down payment amount | Maximum home price multiplied by the down-payment percentage. |
| PI | Monthly principal and interest | Loan amount multiplied by the loan payment factor. |
| Tax_m | Monthly property tax | Maximum home price multiplied by the property-tax rate, divided by 12. |
| Ins_m | Monthly insurance | Maximum home price multiplied by the insurance rate, divided by 12. |
| PMI_m | Monthly PMI | Loan amount multiplied by the active monthly PMI rate. |
| Maint_m | Monthly maintenance | Maximum home price multiplied by the maintenance rate, divided by 12. |
| TotalHousing | Monthly housing payment | Principal and interest, property tax, insurance, PMI, monthly HOA, and maintenance added together. |
| FrontDTI | Housing DTI | Monthly housing payment divided by monthly income and multiplied by 100 when income is greater than 0. |
| BackDTI | Total DTI | Monthly housing payment plus existing monthly debt, divided by monthly income and multiplied by 100 when income is greater than 0. |
The examples use the app's package fixtures so the numbers match the calculator implementation rather than a generic affordability rule.
The examples show how the app turns entered assumptions into a maximum home-price estimate and payment breakdown. They do not show whether any lender, FHA, VA, insurer, tax authority, HOA, or property-specific review would accept the scenario.
Geographic scope: works globally. The math is currency-agnostic, so enter amounts in your own currency; local taxes, fees, and product rules are not included.
Income-DTI mode computes your monthly housing budget from front-end and back-end ratio limits (28/36 conventional by default, minus existing debt), then solves the home price whose complete monthly cost - principal and interest, property tax, insurance, PMI, HOA, and maintenance - fits that budget. The default $120,000 income with $650 of debt supports roughly a $375,000 price. Fixed-budget mode skips the ratios and prices a dollar budget directly.
Because this one charges the house its full carrying cost. Many calculators fit only principal and interest to your budget; this model also deducts property tax, insurance, PMI under 20 percent down, HOA, and a maintenance allowance before sizing the loan - so the same budget buys a smaller price but a more honest one. The output itemizes each monthly component so you can see what consumed the budget.
Conventional 28/36 is the standard planning baseline and the default. The aggressive profile mirrors the higher ratios some programs tolerate, and the custom profile lets you set both ratios directly - useful for testing a personal comfort level stricter than any lender's. The result reports the front-end and back-end DTI your solved price actually implies, so you can sanity-check against the profile you chose.
This calculator is an original affordability solver converting income-DTI limits or a fixed budget into a maximum home price by charging the full carrying cost - P&I, tax, insurance, PMI under 20 percent down, HOA, and maintenance - per dollar of price, validated by deterministic fixtures. It is not copied from a single source.
Fixtures pin the cost-per-dollar solve, the binding-constraint selection between front-end and back-end limits, and the resulting DTI outputs. The result remains an educational estimate, not a pre-approval or an ability-to-repay determination.
Formula version 2026.05.22-generic-house-affordability. The version marks the calculation logic and validation fixture set used for this estimate.
Results are educational estimates, not advice. Read the full disclaimer.
mortgage
Estimate a full monthly mortgage payment including principal, interest, tax, insurance, PMI, HOA, and other recurring costs.
mortgage
Estimate principal-and-interest mortgage payments from home price, down payment, rate, and term.
debt
Estimate housing-cost and total-debt ratios from before-tax income, housing obligations, and recurring monthly debt payments.
mortgage
Estimate home price, cash needed, or down payment percentage from upfront cash, home price, closing costs, interest rate, and loan term.
loan
Estimate monthly payment, total paid, and total interest for an amortizing loan at a fixed rate.
mortgage
Compare the long-term financial cost of buying a home with renting by modeling mortgage payments, transaction costs, ownership costs, rent growth, taxes, appreciation, and investment opportunity cost.
mortgage
Estimate an affordable monthly rent range from gross income and recurring monthly debt payments.