you can estimate your length of retirement by estimating the number of years until you retire. your life expectancy. how many years you can afford to be retired. how much you need to retire. your anticipated expenses in retirement.