The amount that you think you can afford and the amount that a lender thinks you can afford might not always match.  Lenders compare your pre-tax monthly income with the monthly mortgage payment and other fees.  They also consider your credit score and any outstanding loans including vehicle loans, credit card balances, etc.  Getting a pre-approval is a great way to understand what purchase price you can afford.