Generally, aim to stick with the 28/36 rule when buying a new house. That means not more than 28 percent of your gross monthly income should go to your mortgage. And with the mortgage in play, 36 percent of your gross monthly income or less should go to your overall debt.