The 28/36 affordability rule
A common lending guideline caps housing costs at 28% of gross monthly income (the "front-end" ratio) and total debt at 36% (the "back-end" ratio). The lower of the two limits determines how much can go toward a mortgage payment:
That maximum principal-and-interest payment is then converted into a loan amount with the standard mortgage formula, and the down payment is added back to get an affordable home price.
Worked example
$90,000/yr income ($7,500/mo), $400 other debt, $40,000 down, 6.5% over 30 yr, $350 tax+insurance:
What this estimate leaves out
This is a budgeting guide, not a pre-approval. It doesn't model PMI, HOA dues, closing costs, your credit score, or lender-specific overlays — all of which affect the real number. Treat the result as an upper bound and leave room for maintenance and emergencies.