The 28/36 rule is a commonly-used guideline for housing affordability. According to the rule, you should not spend more than 28% of your gross (before tax) monthly income on rent or a mortgage payment. The second part of the rule says that your housing payment and other monthly debt payments (car loans, student loans, etc.) should not be more than 36% of your gross income.