But, that’s not the only way to calculate how much money you need for retirement. We can also flip this equation around. What if you need to spend $90,000 a year in retirement? How much money should you have invested in the stock market to retire safely?