How much house can I afford is really two questions: how much will a lender approve, and how much can your budget carry without squeezing everything else out? This guide answers the first one with maths and treats the answer as a ceiling, not a target. The maximum price is set by your income, your debts, your down payment, and the rate, and the calculator takes the tighter of two debt-to-income limits to find it.
The two limits are the front-end limit, which caps housing costs alone, and the back-end limit, which caps housing plus all other debts. Both have to be satisfied, so the lower of the two decides the answer. Which one binds depends on your debts, and it changes the result by tens of thousands of dollars.
How it is calculated
The formula is:
Max P&I = min(income x front-end %, income x back-end % - debts) - tax - insurance - HOA; Max loan = P&I x (1-(1+r)^-n)/r
Each limit produces a maximum principal-and-interest payment, after subtracting tax, insurance, and HOA. The calculator uses the smaller of the two, because both limits have to be satisfied. That payment is converted into a maximum loan with the standard present-value formula, and the down payment is added to get the maximum home price.
The defaults are a 28% front-end limit and a 36% back-end limit. Those are the calculator’s defaults, and you can change them, but they are the well-known 28/36 guideline: housing at most 28% of gross income, and housing plus debts at most 36%.
The worked example, in full
Take $120,000 of gross annual income, which is $10,000 a month, with $500 of other monthly debts and an $80,000 down payment. Tax is $400 a month and insurance is $150 a month, and the rate is 6.5% over 30 years.
Step one, the front-end limit: 28% of $10,000 is $2,800 a month for housing. Subtract $400 of tax and $150 of insurance, and the maximum principal-and-interest payment is $2,250.
Step two, the back-end limit: 36% of $10,000 is $3,600, minus $500 of other debts is $3,100 a month for housing. Subtract the same $550 of tax and insurance, and the maximum principal-and-interest payment is $2,550.
Step three, take the smaller: $2,250 beats $2,550, so the front-end limit is the binding one. At 6.5% over 30 years, a $2,250 payment supports a maximum loan of $355,974.34. Add the $80,000 down payment and the maximum home price is $435,974.34.
Now change one number. If the other monthly debts were $1,500 instead of $500, the back-end limit would allow only $2,100 a month for housing, which leaves a maximum principal-and-interest payment of $1,550.
The back-end limit would bind instead, the maximum loan would fall to $245,226.77, and the maximum price would fall to $325,226.77. An extra $1,000 a month of debt cuts more than $110,000 off the maximum price.
When the result is good or bad
The calculator’s own bands sort the maximum price by size: $300,000 or more is the strong band, $1 to $300,000 is the middle band, and below $1 means the limits leave no room for a mortgage at all. Our worked example, at $435,974.34, sits in the strong band. But the size of the maximum is not the same as a good outcome.
A bigger maximum is not automatically better. It is a ceiling set by your income and debts, and buying at the ceiling assumes you are comfortable spending 28% of gross income on housing.
A bigger down payment or lower debts raise the ceiling by the maths, and a higher rate lowers it, because the same payment buys less house. None of that makes the ceiling a recommendation.
The honest test is the gap between the maximum and the price you actually plan to pay. Buying below the maximum leaves room for savings, repairs, and changes in income. Buying at the maximum leaves none, and the formula uses gross income while your life runs on after-tax income, so the limit can feel tighter in practice than it looks on paper.
Common mistakes
Treating the maximum as a target. The maximum price assumes you are comfortable at the limit.
A household that looks affordable at 28% of gross income can feel stretched once taxes, retirement saving, and childcare are taken out. Run the numbers on your take-home pay as well.
Forgetting the rate can move. The maximum assumes today’s rate.
If rates rise between now and closing, the same income supports a smaller loan. A rate lock, or a little room below the maximum, protects you from that.
Using your best year of income. The calculator assumes your income stays the same.
If your income is variable, use a conservative figure, such as your average over the last two years, not your best year. The payment does not fall in a slow year.
Counting a gift as a down payment without checking. The maximum price assumes you put the full down payment in.
If part of it comes from a gift or a grant, the lender may treat it differently, and some loan types limit how much of the down payment can be gifted. Check the rules for your loan type before you count the gift.
Forgetting the rest of the payment. The maximum loan is built from the principal-and-interest payment, but the monthly bill also includes tax, insurance, and HOA.
The worked example already subtracts $550 a month for tax and insurance before sizing the loan, which is why the maximum is $435,974.34 and not higher. You can see the full payment for any price with the mortgage payment calculator.
The bottom line
On $120,000 of income, $500 of monthly debts, and an $80,000 down payment at 6.5% over 30 years, the most expensive home affordable is $435,974.34, with a maximum loan of $355,974.34 and a maximum principal-and-interest payment of $2,250 a month. The front-end limit binds; raise the debts to $1,500 and the back-end limit binds instead, cutting the maximum to $325,226.77. Treat that number as a ceiling, buy below it if you can, and leave room for the rest of life.