Home › Templates › House affordability spreadsheet

House Affordability Spreadsheet

A free "how much house can I afford" calculator for Excel and Google Sheets. Enter income, debts, down payment, rate, term, property tax rate, insurance, HOA and PMI, and it shows the highest home price under the 28/36 rule, a 36% or 43% debt-to-income limit and your lender's own limits, with the full monthly payment, a ±1-point rate table and the cash you need at closing.

Download Excel template (.xlsx) 29 KB · no macros · Excel 2016+ and Google Sheets · v1.0, 7 Nov 2026 · fixed-rate loans

Use it in Google Sheets: choose File → Import → Upload in Sheets and pick the .xlsx, or upload it to Google Drive and open it with Google Sheets. No sign-up and no paid tier: taxes, insurance, HOA, PMI, rate scenarios and closing costs are all in the free file.

Preview: the Example tab. The household, home and costs are fictional; the 7.18% rate matches the Freddie Mac 30-year average for the week of 5 Nov 2026.
$367,654max price, 28/36 rule
$2,800monthly housing payment (PITI + HOA + PMI)
$71,030cash to close ($60,000 down + 3%)
$471,426max price at a 43% back-end DTI
Example tab28/36 rule28% housing36% total debt43% total debtYour limit (45%)
Max monthly housing payment$2,800$2,800$2,950$3,650$3,850
Max home price$367,654$367,654$385,967$471,426$495,843
Loan amount$307,654$307,654$325,967$411,426$435,843
Loan-to-value83.7%83.7%84.5%87.3%87.9%
Principal and interest$2,084$2,084$2,208$2,787$2,953
Property tax$337$337$354$432$455
Insurance + HOA$225$225$225$225$225
PMI$154$154$163$206$218
Back-end DTI34.5%34.5%36.0%43.0%45.0%
Cash to close$71,030$71,030$71,579$74,143$74,875
$0$100,000$200,000$300,000$400,000$394,7336.18%$380,7666.68%$367,6547.18%$355,3427.68%$343,7788.18%Mortgage rate

Max price under the 28/36 rule at the example rate ± 1 point. The $2,800 monthly budget stays the same; only the price it buys changes.

What's inside the spreadsheet

TabWhat you typeWhat it calculates
Start hereNothingSteps, the DTI rules and where they come from, the formulas in plain words, colour key, limits, disclaimer
CalculatorGross income, other monthly debts, down payment, rate, term, property tax rate, insurance per year, HOA per month, PMI rate, closing costs %; optional: your own front-end and back-end limits, a price to check, your total cashAn input check; for each of 5 rules (28/36, 28% housing, 36% total debt, 43% total debt, your limits): max housing payment, max price, down payment, loan, LTV, PMI yes/no, principal and interest, tax, insurance, HOA, PMI, total payment, front-end and back-end DTI, closing costs, cash to close, cash left; a rate table at −1, −0.5, 0, +0.5 and +1 point; a pass/fail check of one price
ExampleAlready filled with fictional numbers (change any of them)The same calculator, so you can see a full result before entering your own
SummaryPick Example or Calculator in B4Key numbers, max price by rule, max price by rate, two native bar charts

How to use it

  1. Open Calculator. Enter gross annual income for everyone on the loan and the minimum monthly payments on other debts (car, student loans, credit cards, support). Leave out rent, utilities and the mortgage you are shopping for.
  2. Enter your down payment, the rate from a lender quote (or the weekly average below) and the term.
  3. Enter the property tax rate for the area, a yearly insurance quote, monthly HOA dues, the PMI rate a lender quotes, and closing costs as a % of the price.
  4. Optional: type a lender's limits into B16 and B17, a listing price into B19 and your total cash into B20.
  5. Check that Status (F5) says OK. Row 9 shows the max price for each rule; rows 14–19 break down the payment. The rate table starts at row 40 and the price check at row 48.
  6. Open Summary and switch B4 to Calculator to see your numbers in the charts.

Rate context: Freddie Mac's Primary Mortgage Market Survey shows U.S. weekly averages "as of 11/05/2026" of 7.18% for the 30-year fixed-rate mortgage (7.24% the week before, 6.22% a year earlier) and 6.57% for the 15-year. Your own quote depends on credit score, down payment and points.

The debt-to-income rules, from the source

A DTI limit is the most a lender may accept, not a budget. It is based on income before tax and ignores savings, childcare, repairs, utilities and commuting. Many buyers aim below it.

The formulas, explained

Max housing payment H = the lower of front-end limit × monthly income and back-end limit × monthly income − other debts. Monthly cost of a home at price P with down payment D:

(P − D) × f + P × tax rate ÷ 12 + insurance ÷ 12 + HOA + PMI, with f = i ÷ (1 − (1 + i)^−n), i = rate ÷ 12, n = years × 12, and PMI = loan × PMI rate ÷ 12 while the loan is more than 80% of the price.

Set the cost equal to H and solve for P. Without PMI: P = (H − insurance ÷ 12 − HOA + D × f) ÷ (f + tax rate ÷ 12). With PMI, add PMI rate ÷ 12 to f in both places. The sheet picks the no-PMI price when your down payment is at least 20% of it; otherwise the PMI price, or 5 × the down payment (exactly 80% LTV) if that is higher, because just below 80% LTV PMI drops away. No goal seek or iteration needed. The check script finds the same prices a different way, by bisection on the cost, to the cent.

Exact formulas from the Calculator tab (column F = 28/36 rule). In the file each one is also wrapped in IF($F$5="OK", …, "") (and a per-rule status check) so cells stay blank until the inputs are valid.

FieldFormula
Monthly income (F33)=$B$5/12
Payment factor f, P&I per $1 of loan (F36)=IF($F$34=0,1/$F$35,$F$34/(1-(1+$F$34)^(-$F$35)))
Max housing payment, 28/36 rule (F8)=MIN(0.28*$F$33,0.36*$F$33-N($B$6))
Max housing payment, 43% back-end (I8)=0.43*$F$33-N($B$6)
Budget left for P&I, tax and PMI (F27)=IF(F8="","",F8-$F$37)
Price if no PMI (F28)=(F27+N($B$7)*$F$36)/($F$36+N($B$10)/12)
Price if PMI applies (F29)=(F27+N($B$7)*($F$36+N($B$13)/12))/($F$36+N($B$13)/12+N($B$10)/12)
Max home price (F9)=IF(F28<N($B$7),F30,IF(0.2*F28<=N($B$7),F28,MAX(F29,5*N($B$7))))
PMI (F18)=IF(F13="Yes",F11*N($B$13)/12,0)
Back-end DTI (F21)=(F19+N($B$6))/$F$33
Cash to close (F23)=F10+F22

Worked example from the sample data

The Example tab uses a fictional household and home: $120,000 income, $650 of monthly debts, $60,000 down, 7.18% for 30 years, 1.1% property tax, $1,800 a year insurance, $75 HOA, 0.6% PMI and 3% closing costs.

Rate scenarios

The same 28/36 budget at five rates. In this example each half-point move shifts the max price by roughly $12,712.

RateMax price (28/36)LoanPrincipal and interestTotal monthly housingCash to close
6.18%$394,733$334,733$2,046$2,800$71,842
6.68%$380,766$320,766$2,066$2,800$71,423
7.18% (example)$367,654$307,654$2,084$2,800$71,030
7.68%$355,342$295,342$2,102$2,800$70,660
8.18%$343,778$283,778$2,118$2,800$70,313

How the down payment changes the answer

The fictional example with only the down payment changed (computed with the Python model that is checked against the spreadsheet cell by cell). A bigger down payment adds to the price directly and, once it reaches 20%, removes PMI.

Down paymentMax price (28/36)LTVPMI per monthCash to close
$20,000$332,13194.0%$156$29,964
$40,000$349,89288.6%$155$50,497
$60,000 (example)$367,65483.7%$154$71,030
$80,000$400,00080.0%$0$92,000
$100,000$422,88876.4%$0$112,687

How other debts change the answer

Below a certain level of debt the 28% housing limit binds; above it the 36% total-debt limit takes over and every extra dollar of debt payment cuts the housing budget by a dollar. The switch comes when other debts pass 36% − 28% = 8% of gross income: $800 a month in this example.

Other monthly debtsMax housing (28/36)Max price (28/36)Max price (43%)Binding limit in 28/36
$0$2,800$367,654$550,78228% housing
$300$2,800$367,654$514,15628% housing
$650 (example)$2,800$367,654$471,42628% housing
$1,000$2,600$343,237$428,69736% total debt
$1,500$2,100$296,640$367,65436% total debt

Cash to close and PMI

Common mistakes

Limits

FAQ

How much house can I afford?

Lenders start from your debt-to-income ratio (DTI): monthly debts divided by gross monthly income. Under the common 28/36 rule your housing payment (principal, interest, property tax, insurance, HOA and PMI) stays at or below 28% of gross monthly income and all debts at or below 36%. The spreadsheet turns that payment limit into a home price using your down payment, rate, term, tax rate, insurance, HOA and PMI, and shows the result under 28/36, 36%, 43% and your own limits.

How much house can I afford on a $100,000 salary?

It depends on your debts, down payment, rate and local costs. With $100,000 of gross income, no other debts and the rest of the fictional example ($60,000 down, 7.18% for 30 years, 1.1% property tax, $1,800 a year insurance, $75 HOA, 0.6% PMI), the 28/36 rule allows $2,333 a month for housing and a price of about $310,681. At a 43% back-end limit it is about $463,287. Every $100 of monthly debt lowers the back-end figures.

What is the 28/36 rule?

A rule of thumb: spend no more than 28% of gross monthly income on housing (the front-end ratio) and no more than 36% on housing plus all other debt payments (the back-end ratio). It is not a law. Fannie Mae's Selling Guide sets 36% as the maximum total DTI for manually underwritten loans, which can go up to 45% if the borrower meets credit score and reserve requirements, and 50% for loans underwritten through its Desktop Underwriter system.

Is 43% still the maximum debt-to-income ratio for a mortgage?

Not as a federal rule. The CFPB's 2013 ability-to-repay rule gave Qualified Mortgage status generally to loans with DTI of 43% or less. A December 2020 rule "replaces the existing 43 percent DTI limit with a price-based limit", with mandatory compliance from July 1, 2021. Lenders must still consider your DTI or residual income under 12 CFR 1026.43(c), and each lender and loan program sets its own maximum.

Does the max price include property taxes, insurance, HOA and PMI?

Yes. The payment limit covers principal and interest plus property tax (a % of the price), homeowners insurance, HOA dues and PMI while the loan is above 80% of the price. Because tax and PMI grow with the price, the sheet solves for the price in one closed-form step instead of using goal seek.

Can I use this house affordability spreadsheet in Google Sheets?

Yes. In Google Sheets choose File → Import → Upload and pick the .xlsx, or upload it to Google Drive and open it with Google Sheets. It uses only IF, AND, OR, NOT, MIN, MAX, N, COUNT, ISNUMBER, INT, TEXT, which work in Excel 2016 and later, Google Sheets and LibreOffice. No macros.

Related tools and templates

Educational template only, not mortgage, financial or legal advice. Example data is fictional: the household, home, costs and lender limit are made up to show the formulas and are not a recommendation. Rate context is from Freddie Mac, DTI rules from the CFPB, Regulation Z (eCFR) and the Fannie Mae Selling Guide, and closing cost and PMI notes from the CFPB, all retrieved on 7 November 2026. Rules, rates and loan programs change; a lender's pre-approval is the real answer.