How the home affordability calculator works
Lenders decide how much you can borrow mainly with two debt-to-income ratios. The housing ratio (also called the front-end ratio) compares your full monthly housing payment with your gross monthly income. The total debt ratio (the back-end ratio) adds your other monthly debt payments, such as a car loan or student loan, to the housing payment.
The calculator turns each ratio into a monthly dollar limit. It takes the lower of the two as your housing budget, then works backward to the highest home price whose payment fits inside it. The payment includes principal and interest, property tax, homeowners insurance, private mortgage insurance (PMI) when you put less than 20% down, and any HOA fee.
The result is the most a lender-style rule would allow. It is not a recommendation to spend that much. The comparison table shows the price under a stricter and a looser rule, so you can choose a range that fits your own budget.
The affordability formula in plain language
First, the calculator finds the monthly housing budget from your gross monthly income I and other monthly debts D:
Next, it writes the monthly housing payment as a function of the home price. For a price H and down payment DP, the loan is H − DP, and the payment is:
Here f is the principal-and-interest payment for each dollar borrowed at your rate and term, from the standard fixed-rate formula. PMI is the loan amount times the PMI rate divided by 12, and it applies only when the down payment is under 20% of the price. Because the payment rises in a straight line with the price on each side of the 20% line, the calculator solves for the price directly, rounds it down to whole dollars, and checks that the cent-rounded payment still fits.
Worked example: $90,000 income
Suppose your household earns $90,000 a year and pays $400 a month on a car loan. You have $40,000 for a down payment and expect a 6.5% rate on a 30-year mortgage. Property tax is 1.1% of the price a year, insurance is $1,800 a year, PMI is 0.5% a year, and there is no HOA. These are example figures, not current market rates.
Gross monthly income is $7,500. The housing ratio allows 28% of that, or $2,100. The total debt ratio allows 36%, or $2,700, minus the $400 car payment, which leaves $2,300. The lower limit is $2,100, so the housing ratio sets the budget.
| Item | Monthly |
|---|---|
| Principal and interest on $249,977 | $1,580.02 |
| Property tax (1.1% a year) | $265.81 |
| Home insurance | $150.00 |
| PMI (13.8% down) | $104.16 |
| Total housing payment | $2,099.99 |
The highest price that fits is $289,977, about 3.2 times income. The housing ratio is 28.0% and the total debt ratio, with the car loan, is 33.3%. If PMI were zero, the same budget would support $304,369, which shows how much PMI costs in buying power.
How the interest rate changes your budget
The rate does not change your monthly budget, but it changes how much loan that budget can carry. The table keeps every other figure from the example and changes only the rate.
| Rate (30-year fixed) | Home price you can afford |
|---|---|
| 5.5% | $312,895 |
| 6.0% | $301,069 |
| 6.5% | $289,977 |
| 7.0% | $279,575 |
| 7.5% | $269,816 |
Each half-point increase removes roughly $10,000 to $12,000 from the price in this example. A 15-year term at 6.5% would support only $230,487, because the principal is repaid twice as fast. Compare lender quotes before you set a search range, and use the mortgage calculator to check the payment on a specific home.
How monthly debts reduce what you can afford
Small debts often have no effect, because the housing ratio is the tighter limit. Once your debts are large enough that 36% minus debts falls below 28%, every extra dollar of monthly debt removes a dollar from the housing budget.
| Monthly debts | Housing budget | Limited by | Home price |
|---|---|---|---|
| $0 | $2,100 | Housing ratio | $289,977 |
| $600 | $2,100 | Both equal | $289,977 |
| $900 | $1,800 | Total debt ratio | $250,782 |
| $1,200 | $1,500 | Total debt ratio | $211,587 |
Above $600 of debts, each extra $100 a month costs about $13,000 of buying power. Paying off a car loan or a credit card before you apply can raise your price more than a larger down payment of the same size. The loan payoff calculator shows how fast extra payments can clear an existing loan.
Down payment, PMI, and the 20% line
A larger down payment raises the price in two ways: it adds cash directly, and the smaller loan lowers the payment. With the example budget, $20,000 down supports $272,372, $40,000 supports $289,977, $60,000 supports $307,582, and $70,000 supports $330,569. The last step is larger because $70,000 is more than 20% of the price, so PMI disappears.
Conventional loans usually require PMI when you put less than 20% down. PMI rates often fall between about 0.3% and 1.5% of the loan a year, depending on credit score and down payment. FHA loans charge their own mortgage insurance instead. Enter the rate from your lender quote, or 0 if you will put 20% or more down.
Remember that a down payment is not the only cash you need. Closing costs, moving costs, and an emergency fund all come from the same savings. Do not put every dollar into the down payment.
Choosing a budget rule
The 28/36 rule is a starting point, not a law. Many conventional lenders accept a total debt ratio up to 43% or more with strong credit and reserves, and FHA guidance often uses 31% and 43%. The comparison table under the calculator shows three common choices:
- Conservative (25% / 33%) leaves more room for savings, repairs, and childcare costs.
- Standard (28% / 36%) is the classic guideline most first-time buyers hear.
- Stretch (31% / 43%) is closer to the maximum some programs allow, and leaves little room for surprises.
A lender may approve you for more than you are comfortable paying. Base your search on the payment you can keep up with in a bad month, not on the largest approval you can get. Also budget about 1% to 2% of the home price each year for maintenance, which this calculator does not include.
Sources and calculation details
The Consumer Financial Protection Bureau explains debt-to-income ratios, and its guide to private mortgage insurance describes when PMI applies. The payment for each dollar borrowed uses the same fixed-rate formula as our other calculators. See the calculation method and reference cases for rounding rules and model limits.