Figuring out how much you can spend on a home comes down to a few key figures: How much money you earn, how much money you can contribute to a down payment and how much money you’re spending each month on other debts.