How much money do you need for your retirement? These five factors can help you calculate