Estimate how many years your retirement savings will last.
The calculator uses the formula for the number of periods (n) for an annuity: n = log( (r * P) / (r * P - W) ) / log(1 + r), where P = savings, W = annual withdrawal, r = annual return rate. If withdrawal <= r * P, money lasts indefinitely.