The 28% rule, which states that your mortgage should not exceed 28% of your total monthly income, is one of the simplest ways to calculate your homebuying budget.