This page has two forms. The first will compute how long a retirement nest egg E will last if you need to withdraw from it S annually, the return rate is r, and the inflation rate is s. The second will compute how much you can withdraw from such an account for a prescribed number of years.