How much of a mortgage you can afford is determined by each lender's debt-to-income (DTI) guidelines. DTI is simply your monthly debt commitments divided by your monthly gross income.
Once you know your maximum affordable mortgage, you can easily determine your maximum home price with this calculator.
Tip: Borrowers with a lower DTI will receive lower rates and better loan terms.