The 28/36 rule is the most widely used guideline for mortgage affordability: spend no more than 28% of your gross monthly income on housing (the front-end ratio), and no more than 36% on all debt payments combined (the back-end ratio). It's a starting point, not a law — lenders allow higher DTIs, and personal circumstances vary widely. But understanding the 28/36 rule helps you set a realistic budget before you start shopping.