House Affordability Calculator (Max Home Price + Payment)

Use this house affordability calculator to estimate the highest home price you can afford and the monthly housing payment it would create, including taxes, insurance, HOA, and mortgage insurance. It also shows what rule limits you most (DTI, housing ratio, budget, or cash to close) so you know what to change.

Total income for the household before taxes and paycheck deductions. If two people will be on the loan, add both incomes.
Units: USD per year
Minimum required monthly payments for loans and debts, like car loans, student loans, and credit cards. Do not include groceries, utilities, or savings.
Units: USD per month
Money you pay up front at closing. A bigger down payment usually lowers the loan amount and can reduce mortgage insurance.
Units: USD
The yearly interest rate for the loan. Example: 6.5 means 6.5% per year.
Units: percent per year
How long you will take to pay back the loan. Common terms are 30 years and 15 years.
DTI (debt-to-income) is your total monthly debt payments divided by your gross monthly income. This limit includes the new housing payment plus your other monthly debts.
Units: percent of gross monthly income
Advanced options
Front-end ratio is the percent of gross monthly income spent on housing. Housing usually means PITI: principal, interest, property taxes, and homeowners insurance (and often HOA and mortgage insurance too).
Units: percent of gross monthly income
Estimated monthly property taxes. If you only know annual taxes, divide by 12.
Units: USD per month
Estimated monthly homeowners insurance premium.
Units: USD per month
Monthly homeowners association dues. Enter 0 if none.
Units: USD per month
Mortgage insurance may be required with low down payments. Auto uses a simple estimate; choose None for 20%+ down or VA; choose FHA MIP if you want an FHA-style estimate.
If you choose conventional PMI, this is an estimated yearly percent of the loan amount. The calculator converts it to a monthly cost.
Units: percent of loan per year
FHA loans commonly charge an upfront mortgage insurance premium that is often financed into the loan.
Units: percent of base loan
FHA loans commonly charge an annual mortgage insurance premium that is paid monthly. The exact rate can depend on term, loan amount, and LTV.
Units: percent of base loan per year
If Yes, the upfront FHA mortgage insurance is added to the loan balance, which increases the monthly principal and interest payment.
Optional. If you want a cash-to-close check, include estimated closing costs you will pay out of pocket (not financed).
Units: USD
Optional. If you do not want to spend all your cash, enter the amount you want to keep after closing. The calculator assumes you have this reserve in addition to your down payment and closing cost estimate.
Units: USD
Optional. If you set this, the calculator will also ensure the estimated monthly housing payment does not exceed your own budget, even if DTI limits would allow more.
Units: USD per month
Max home price you can afford (estimate)
–
This is an estimate, not a loan approval. If taxes, insurance, or interest rate change, your max price can change a lot.
Estimated monthly housing payment (PITI + extras)
–
Use this to compare to your comfort level and budget. This is the number that must fit your monthly cash flow.
Monthly payment breakdown (stacked bar)
Principal and interest (P and I)–
Property taxes–
Homeowners insurance–
HOA dues–
Mortgage insurance (PMI or MIP)–
Monthly principal and interest (P and I)
–
This is only part of the monthly cost. Many people forget taxes and insurance.
Monthly property taxes (used)
–
If you used a guess, update it when you know the area and tax rate.
Monthly homeowners insurance (used)
–
Insurance prices vary by home, location, and coverage.
Monthly HOA dues (used)
–
HOA dues can change over time and may include other services.
Monthly mortgage insurance (PMI or MIP)
–
If you have 20%+ down or a VA loan, this may be $0. FHA may have MIP for many years.
Base loan amount (before upfront MIP)
–
This is the amount you are borrowing for the home purchase itself.
Total starting loan balance (after financed upfront MIP, if any)
–
A higher starting balance increases the monthly payment and total interest paid.
Front-end ratio (housing percent of gross income)
–
If this is above your limit, the home price is too high under that guideline.
Back-end DTI (total debt percent of gross income)
–
If this is above your limit, you likely will not qualify under that DTI setting.
What limits the max price (most important reason)
–
This tells you what to change first (for example: lower rate, lower debts, larger down payment, or lower taxes or HOA).
Estimated cash needed at closing
–
Real cash-to-close depends on lender fees, prepaid items, escrow, and credits. Use this as a planning number.
Estimated cash left after closing (if you set a reserve)
–
If this is negative, you may need a cheaper home, a smaller closing cost estimate, or more savings.
Sensitivity check (how max price changes)
–
If rate sensitivity is huge, shopping rates or buying down the rate may matter more than small expense changes.

How to use this calculator

  1. Enter your Annual household income (before taxes). This tool uses gross income because common lender ratios are based on gross pay.
  2. Enter Monthly debt payments (not including rent), like car loans, student loans, and minimum credit card payments.
  3. Enter your Down payment (cash you will put down).
  4. Enter the Mortgage interest rate and choose the Loan term (like 30 years).
  5. Set your DTI limit (back-end ratio). DTI means total monthly debt divided by gross monthly income.
  6. Open Advanced options and enter monthly Property taxes, Homeowners insurance, and HOA dues so the monthly payment estimate is realistic.
  7. Choose a Mortgage insurance type (Auto, None, Conventional PMI, or FHA MIP). If you pick PMI or FHA MIP, confirm the rates shown.
  8. (Optional) Enter a Max monthly housing budget to cap the payment based on your own comfort, even if ratios allow more.
  9. (Optional) Enter Closing costs and a Cash reserve to check if you would still have enough cash after closing.
  10. Click Calculate. Read the binding constraint and the sensitivity check to see whether rate, down payment, or monthly costs matter most.

Methodology

What this calculator is solving: It estimates the maximum home price that keeps your monthly housing payment under the limits you set, then shows the matching payment breakdown and ratios.

Key definitions

Gross monthly income: your annual income divided by 12.
DTI (debt-to-income): total monthly debt divided by gross monthly income.
Back-end DTI: includes housing plus your other monthly debts.
Front-end ratio: housing cost divided by gross monthly income.
PITI: principal, interest, property taxes, and homeowners insurance (many budgets also include HOA and mortgage insurance in the same monthly total).
28/36 guideline: the commonly used affordability rule based on front-end and back-end ratios. [1]

Calculation Steps

Step 1: Convert income to gross monthly income. gross_monthly_income = annual_gross_income / 12.

Step 2: Turn your ratio limits into a maximum allowed housing payment. max_housing_by_front_end = (housing_front_end_limit/100) * gross_monthly_income. max_housing_by_back_end = (dti_back_end_limit/100) * gross_monthly_income - monthly_debts. If you entered a personal budget, max_housing_by_budget = max_monthly_housing_budget; otherwise it is treated as Infinity (no budget cap). The calculator uses max_housing_allowed = the smallest of those values. If max_housing_by_back_end is 0 or less, there is no room left under your DTI limit for a mortgage payment, so affordability is effectively $0.

Step 3: For a given home price guess, compute the monthly housing payment. First compute the base loan amount: loan_amount_base = max(home_price - down_payment_amount, 0). Then compute mortgage insurance (if used): for conventional PMI, monthly_mortgage_insurance = (pmi_rate_annual/100) * loan_amount_base / 12; for FHA MIP, monthly_mortgage_insurance = (fha_annual_mip_rate/100) * loan_amount_base / 12. If FHA upfront MIP (UFMIP) is financed, add ufmip_amount = (fha_ufmip_rate/100) * loan_amount_base to the starting loan balance; otherwise keep the loan balance as the base loan amount and treat UFMIP as extra cash needed at closing. The tool then calculates the monthly principal and interest for a fixed-rate mortgage using the standard amortization payment formula (often called PMT). If interest_rate is 0%, it uses payment_PI = loan_amount_total / number_of_months to avoid divide-by-zero.

Step 4: Add monthly non-loan costs to get the full housing payment. housing_payment = payment_PI + monthly_property_tax + monthly_homeowners_insurance + monthly_hoa + monthly_mortgage_insurance. This is the number compared to the front-end limit and your optional budget cap.

Step 5: Compute ratios for the final answer. front_end_ratio_result = housing_payment / gross_monthly_income. back_end_dti_result = (housing_payment + monthly_debts) / gross_monthly_income. These are shown as percentages so you can compare them to your limits. [1]

Step 6: Find the maximum home price with a safe numeric search. Because mortgage insurance and financed FHA UFMIP can change the payment in ways that are hard to solve with one clean algebra equation, the calculator uses a bisection search: it starts with a low price and a high price cap, then repeatedly tests the midpoint. If the midpoint fits the payment limits (and fits the cash-to-close rule when you use a reserve), it moves the low bound up; otherwise it moves the high bound down. After enough iterations, the low bound is the maximum affordable home price estimate.

Cash-to-close check (optional): cash_to_close_estimate = down_payment_amount + closing_costs_amount (and if FHA UFMIP is not financed, add UFMIP here). If you entered a cash reserve, the tool enforces cash_left_after_close = available_cash - cash_to_close_estimate to be at least 0. If you did not enter a reserve, the cash constraint is skipped.

Binding constraint: After solving, the tool identifies which rule was tightest at the maximum price: housing ratio limit (front-end), DTI limit (back-end), your personal budget cap, or cash needed at closing. This helps you see what change would increase affordability the most (for example: lower rate, pay down debts, increase down payment, or lower taxes/HOA).

Sensitivity check: The calculator repeats the solve a few times with small changes (interest rate up/down by 0.5%, and down payment up/down by 10%) and summarizes how the max home price changes. This is meant to show which input matters most for your situation.

Sources

Did we solve your problem today?