How affordability is worked out backwards from income
Most mortgage calculators start from a home price and tell you the payment. This one runs in reverse: it starts from your income and a debt to income limit, works out how much monthly payment that supports, and converts the payment back into a loan amount and a home price.
The chain of arithmetic is short. Gross monthly income is annual income divided by 12. The maximum total monthly debt allowed is that figure times your target DTI percentage. Subtract your existing monthly debt payments to get what is available for housing. Subtract monthly property tax and monthly insurance from that, and what remains is the maximum principal and interest payment.
The last step inverts the amortization formula. Given a payment, a monthly rate, and a number of months, the loan it supports is loan = payment * (1 - (1 + i)^-n) / i. Adding your down payment to that loan amount gives the maximum home price. If the available payment after tax and insurance comes out at zero or below, the calculator reports that no price is supportable at those inputs rather than returning a negative number.
Worked example: 90,000 income with 500 in monthly debts
Using the defaults of 90,000 annual income, 500 in monthly debt payments, a 40,000 down payment, a 6.5 percent rate, a 30 year term, 3,000 in annual property tax, 1,500 in annual insurance, and a 36 percent DTI target, gross monthly income is 90,000 / 12 = 7,500.00. The DTI cap allows 7,500 * 0.36 = 2,700.00 of total monthly debt.
Subtracting the 500 in existing debts leaves 2,200.00 for housing. Property tax takes 3,000 / 12 = 250.00 and insurance takes 1,500 / 12 = 125.00, leaving 1,825.00 available for principal and interest. At a monthly rate of 0.00541667 over 360 months, that payment supports a loan of 1,825 * (1 - 1.00541667^-360) / 0.00541667 = 288,734.75.
Adding the 40,000 down payment gives a maximum home price of about 328,735. Notice how sensitive that is: removing the 500 of existing monthly debt would raise the supportable loan by roughly 79,000. Debt you are already carrying reduces your buying power by far more than its face value suggests.
Choosing a DTI target
The debt to income ratio field is the lever that decides how aggressive the answer is. Two conventions are common. The front end ratio counts only housing costs against income and is traditionally held at or under 28 percent. The back end ratio counts all recurring debt, including the mortgage, and is traditionally held at or under 36 percent. This calculator uses a back end ratio, since it subtracts your other monthly debts from the allowance.
Actual underwriting is more permissive than the traditional figures. Loans sold to the major agencies commonly go to 45 percent, and with strong compensating factors such as large reserves or a high credit score, some programs reach higher. FHA loans routinely approve above 43 percent. Entering 45 in this field will show you roughly what a lender might approve rather than what a conservative budget would suggest.
The gap between those two numbers is the point. At 36 percent the example supports around 329,000; at 45 percent it supports around 436,000. Both are defensible, and the difference of over 100,000 in purchase price is entirely a matter of how much of your income you are willing to commit to debt service.
What the calculation leaves out
Private mortgage insurance is not modeled. If your down payment is under 20 percent of the resulting price, PMI will be added to your monthly housing cost, which reduces what is left for principal and interest and therefore lowers the price you can support. On the example above, a 40,000 down payment is about 12 percent of 329,000, so PMI would apply and the true answer is lower than what the calculator reports.
HOA dues are also excluded, and for condominiums and many planned communities they are substantial and are counted by underwriters as part of the housing payment. So are flood insurance where required, and any mortgage insurance premium structure specific to FHA or USDA loans.
Income is treated as a single gross annual figure. Lenders scrutinize the composition: bonus, commission, and self employment income typically require a two year history and may be averaged or discounted. Overtime that cannot be documented as stable is often excluded entirely. The figure you enter should be the income you can document, not your best year.
The mistake people make when estimating affordability
The dominant mistake is reading the output as a budget rather than as a lending limit. Debt to income says nothing about childcare, health insurance premiums, retirement contributions, commuting costs, or how much you save. Two households with identical incomes and debts can have very different amounts of room, and the calculator cannot see the difference.
The second mistake is entering the wrong monthly debts. Underwriters count minimum credit card payments, auto loans, student loan payments, personal loans, and court ordered obligations such as child support. They generally do not count utilities, insurance premiums other than those escrowed with the mortgage, or groceries. Understating this field inflates the answer directly.
The third is forgetting that the down payment is not the only cash required. Closing costs typically add two to five percent of the price, and lenders want to see reserves after closing. If the 40,000 in the example is all the cash available, the usable down payment is closer to 30,000 once costs are paid, which lowers the supportable price and may push the loan further into PMI territory.