When applying for a loan, lenders will evaluate your debt / income ratio (DTI) and credit score in order to determine whether you can afford to take on another payment.
ConventionalFHA USDA VA Jumbo
This means that no more than 28% of your total monthly income (before taxes) can go toward housing, and no more than 36% of your monthly income can go toward your total monthly debt (including your mortgage payment).