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.
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.
| Example tab | 28/36 rule | 28% housing | 36% total debt | 43% total debt | Your 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-value | 83.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 DTI | 34.5% | 34.5% | 36.0% | 43.0% | 45.0% |
| Cash to close | $71,030 | $71,030 | $71,579 | $74,143 | $74,875 |
What's inside the spreadsheet
| Tab | What you type | What it calculates |
|---|---|---|
| Start here | Nothing | Steps, the DTI rules and where they come from, the formulas in plain words, colour key, limits, disclaimer |
| Calculator | Gross 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 cash | An 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 |
| Example | Already filled with fictional numbers (change any of them) | The same calculator, so you can see a full result before entering your own |
| Summary | Pick Example or Calculator in B4 | Key numbers, max price by rule, max price by rate, two native bar charts |
How to use it
- 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.
- Enter your down payment, the rate from a lender quote (or the weekly average below) and the term.
- 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.
- Optional: type a lender's limits into B16 and B17, a listing price into B19 and your total cash into B20.
- 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.
- 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
- What DTI is. The CFPB defines it as "all your monthly debt payments divided by your gross monthly income", and notes that "different loan products and lenders will have different DTI limits."
- 28/36. A long-used rule of thumb: housing up to 28% of gross income (front-end), all debts up to 36% (back-end). No federal rule sets the 28%.
- Fannie Mae. The Selling Guide, B3-6-02 (04/02/2025): "For manually underwritten loans, Fannie Mae's maximum total DTI ratio is 36% of the borrower's stable monthly income. The maximum can be exceeded up to 45% if the borrower meets the credit score and reserve requirements". "For loan casefiles underwritten through DU, the maximum allowable DTI ratio is 50%."
- 43%: history. When the CFPB issued the ability-to-repay rule on 10 Jan 2013, Qualified Mortgages went generally to borrowers with "debt-to-income ratios less than or equal to 43 percent." The December 2020 General QM rule "replaces the existing 43 percent DTI limit with a price-based limit"; the mandatory compliance date was July 1, 2021. The 43% column stays in the sheet as a common benchmark, not a legal cap.
- Ability to repay today. 12 CFR 1026.43(c)(2)(vii) requires the creditor to consider "the consumer's monthly debt-to-income ratio or residual income", where the ratio is total monthly debt obligations (including the new mortgage payment and mortgage-related obligations) to total monthly income.
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.
| Field | Formula |
|---|---|
| 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.
- Income and debts: $120,000 a year is $10,000 a month. Other debts are $650 a month.
- Housing limit: 28% × $10,000 = $2,800; 36% × $10,000 − $650 = $2,950. The lower one, $2,800, is the 28/36 budget for principal, interest, tax, insurance, HOA and PMI.
- Fixed costs: insurance $1,800 ÷ 12 = $150 plus $75 HOA leaves $2,575 for principal, interest, property tax and PMI.
- Price: without PMI the budget would reach $387,655, but $60,000 down is only 15.5% of that, so PMI applies. With PMI the max price is $367,654: loan $307,654, LTV 83.7%.
- Payment: principal and interest $2,084.16 + property tax $337.02 + insurance $150.00 + HOA $75.00 + PMI $153.83 = $2,800.00. Back-end DTI: ($2,800 + $650) ÷ $10,000 = 34.5%.
- Cash to close: $60,000 down + 3% closing costs ($11,030) = $71,030. With $85,000 of fictional savings, $13,970 is left for reserves and moving.
- Other rules: 43% back-end allows $471,426; the fictional lender limit of 45% allows $495,843. Same income, same debts: the rule you choose moves the answer by $128,189.
- Price check: a $400,000 home would cost $3,064.95 a month (front-end 30.6%, back-end 37.1%). Within 28/36: No. Within 43%: Yes.
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.
| Rate | Max price (28/36) | Loan | Principal and interest | Total monthly housing | Cash 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 payment | Max price (28/36) | LTV | PMI per month | Cash to close |
|---|---|---|---|---|
| $20,000 | $332,131 | 94.0% | $156 | $29,964 |
| $40,000 | $349,892 | 88.6% | $155 | $50,497 |
| $60,000 (example) | $367,654 | 83.7% | $154 | $71,030 |
| $80,000 | $400,000 | 80.0% | $0 | $92,000 |
| $100,000 | $422,888 | 76.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 debts | Max housing (28/36) | Max price (28/36) | Max price (43%) | Binding limit in 28/36 |
|---|---|---|---|---|
| $0 | $2,800 | $367,654 | $550,782 | 28% housing |
| $300 | $2,800 | $367,654 | $514,156 | 28% housing |
| $650 (example) | $2,800 | $367,654 | $471,426 | 28% housing |
| $1,000 | $2,600 | $343,237 | $428,697 | 36% total debt |
| $1,500 | $2,100 | $296,640 | $367,654 | 36% total debt |
Cash to close and PMI
- Closing costs. The CFPB suggests you "add another 2–5 percent of the home price for closing costs." The sheet adds your % to the down payment as cash to close, and shows what is left of the cash you enter.
- When PMI applies. The same CFPB post: "Typically, conventional loans require PMI when you put down less than 20 percent." Ask lenders for a PMI quote; it depends on credit score and LTV, and the sheet uses one flat yearly % of the loan.
- When PMI ends. The CFPB: you can ask to cancel PMI when the balance "is scheduled to fall to 80 percent of the original value of your home", and the servicer "must automatically terminate PMI" when it "is scheduled to reach 78 percent". The sheet shows the payment at purchase, with PMI.
Common mistakes
- Using take-home pay. DTI rules use gross income. If your budget is tight on net pay, aim below the limit.
- Leaving out tax, insurance or HOA. They come out of the same housing limit, so ignoring them overstates the price.
- Forgetting PMI below 20% down. PMI comes out of the same monthly limit and lowers the price you can afford; see the down payment table.
- Counting the whole down payment as cash available. Closing costs come on top; the sheet shows both.
- Treating the 43% or 50% maximum as a target. A higher DTI buys more house but leaves less room for savings and surprises.
- Using a national average rate. Get a quote. The rate table shows how much a point moves the price.
Limits
- Fixed-rate loans only. No ARMs, FHA/VA-specific rules, upfront mortgage insurance premiums or points.
- Lenders count income and debts by their own rules (variable income, student loans, rental income) and also look at credit, reserves and the property.
- Property tax is one % of the price; insurance and HOA are fixed amounts. Your local rates and reassessment rules may differ.
- PMI is a flat % of the loan and closing costs a flat % of the price; real quotes vary.
- Recalculation was tested in LibreOffice. The file uses only functions that exist in Excel 2016+ and Google Sheets.
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
- Rent vs buy spreadsheetNet worth of owning vs renting
- Mortgage payoff spreadsheetExtra payments and interest saved
- Mortgage refinance spreadsheetBreak-even on a new loan
- Budget spreadsheetSee what a payment leaves for the rest
- Loan amortization scheduleEvery payment, interest and balance
- APR calculatorCompare loan offers by rate and fees
- All templatesFree spreadsheets
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.