How Long Will My Retirement Money Last?

Give this calculator a starting balance, an annual withdrawal, a return and an inflation rate, and it solves for the year the money runs out. It assumes you take a year's spending at the start of each year and leave the rest invested, and it can index every withdrawal to inflation so your spending power stays constant. Alongside the depletion year it reports the age you reach it, the largest withdrawal your target horizon actually supports, and a year-by-year balance schedule you can check against your own statements.

Calculator

This calculator runs in your browser. Enable JavaScript for live results — the inputs, formula and worked example below remain fully readable without it.

Inputs this calculator takes, with typical values
InputWhat to enterExample
Starting portfolioThe total invested balance available for withdrawals, across every account.1000000 $
WithdrawalWhat you take out in the first year, over and above Social Security and any pension.50000 $
Expected annual returnNominal return after investment fees, before inflation is taken out.6 %
InflationThe rate at which your cost of living rises; it raises each year's withdrawal when indexing is on.2.5 %
Raise withdrawals with inflationLeave ticked to hold spending power constant; untick to take the same dollar amount every year.Yes
Your age nowUsed only to convert the depletion year into an age.65 yrs
Horizon you want to coverThe number of years the money should last; it sets the maximum sustainable withdrawal figure.30 yrs

It returns

  • Years the portfolio lasts — Capped at 100 years; a value of 100 means it is not exhausted within the modelled horizon.
  • Age when the money runs out — Blank when the portfolio is never exhausted at these assumptions.
  • Largest first-year withdrawal for your horizon
  • Total withdrawn over the run
  • Balance at the end of your horizon

The formula

n=ln(1PiW(1+i))ln(1+i)
W=Pi(1(1+i)n)(1+i)

In plain text: n = −ln[1 − P·i / (W(1 + i))] / ln(1 + i), with i = (1 + r)/(1 + π) − 1

  • nYears until the portfolio is exhausted (years)
  • PStarting portfolio balance ($)
  • WFirst-year withdrawal, taken at the start of the year ($)
  • iReal return when withdrawals are indexed to inflation; nominal return when they are held level (decimal)
  • rNominal annual investment return (decimal)
  • πAnnual inflation rate (decimal)

The portfolio never runs out when W(1 + i) ≤ P·i, because the first year's growth already covers the withdrawal. When i is zero the expression collapses to n = P / W.

Updated Category Retirement Income, Withdrawals & RMDs Verified against published test cases Reading time 11 min

What portfolio longevity means

Portfolio longevity is the number of years a balance survives a given withdrawal. It is the same equation as a loan amortisation, run backwards: instead of a lender's balance falling as you pay it down, your balance falls as you draw it down, and the interest works for you instead of against you. That is why the answer has a logarithm in it, and why it behaves so violently near the break-even point.

The result is not a prediction. It is a consequence of four assumptions, and the assumption that does most of the work is the relationship between your return and your inflation rate. Withdraw 5% of a portfolio earning 5% nominal with no inflation and the money lasts a very long time. Withdraw 5% of a portfolio earning 5% nominal while inflation runs at 3%, indexing your spending, and the real return is only 1.94% and the money runs out in under 25 years. The nominal numbers look identical; the outcomes are not.

Two behaviours are worth understanding before you read any answer. First, longevity is extremely non-linear near the sustainable threshold: at a 4% real return, withdrawing 4% of the portfolio lasts about 83 years, while withdrawing 5% lasts about 37. One extra percentage point of spending cuts the horizon by more than half. Second, below the threshold the answer is not a large number, it is infinity — growth covers the withdrawal and the balance never falls.

Where the formula comes from

Work in real terms and the inflation problem disappears. If your spending rises with prices at rate π while the portfolio earns r, then measured in constant dollars the balance earns the real rate i = (1 + r)/(1 + π) − 1 and the withdrawal is a level amount W. That substitution turns an awkward two-growth-rate problem into a plain annuity.

Now write the balance after one year. You withdraw at the start, so the year begins with PW, and that grows by (1 + i). Repeat, and the balance after n years is P(1 + i)n minus the accumulated value of n withdrawals. Set that to zero and you get the condition that the portfolio is exactly an n-year annuity-due: P = W · [1 − (1 + i)−n]/i · (1 + i). Solving for n gives the logarithm on this page; solving for W gives the maximum sustainable withdrawal.

Look at what has to be true for the logarithm to exist. The argument is 1 − P·i / (W(1 + i)), and it stops being positive once W(1 + i) drops to P·i. That is the perpetuity threshold: a withdrawal of P·i/(1 + i) is exactly funded by the first year's growth, so the balance repeats forever. At a 5% return that threshold is 4.76% of the portfolio; at a 3% real return it is 2.91%.

When the real return is zero the formula reduces to n = P / W, which is worth remembering as a floor. A million dollars withdrawn at $40,000 a year lasts exactly 25 years if the portfolio merely keeps pace with inflation, and every year beyond that is paid for by real growth.

Worked example: $100,000 at $10,000 a year and a 5% return

You have $100,000, you take $10,000 at the start of each year, you hold that dollar amount level rather than indexing it, and the portfolio earns 5% a year. Because the withdrawal is level in nominal dollars, the rate to use is the nominal 5%.

  1. Check the threshold. P·i = $100,000 × 0.05 = $5,000, and W(1 + i) = $10,000 × 1.05 = $10,500. The withdrawal is larger, so the portfolio does deplete.
  2. Form the fraction. $5,000 ÷ $10,500 = 0.476190.
  3. Subtract from one. 1 − 0.476190 = 0.523810.
  4. Take the logarithms. ln(0.523810) = −0.646627 and ln(1.05) = 0.048790.
  5. Divide. 0.646627 ÷ 0.048790 = 13.25 years. Starting at 65, the money runs out partway through the year you turn 78.

Check it by hand. Year one: $100,000 − $10,000 = $90,000, grown by 5% to $94,500. Year two ends at $88,725; year five at $69,609; year ten at $30,821; year thirteen at $2,579. The fourteenth withdrawal of $10,000 cannot be paid in full, which is exactly what a fractional answer of 13.25 years means.

Now hold the return at 5% and index the withdrawal to 3% inflation. The real rate becomes (1.05 ÷ 1.03) − 1 = 1.9417%, the threshold falls to $100,000 × 0.019417/1.019417 = $1,905, and the same $10,000 withdrawal now lasts only 11.0 years. Inflation indexing is not a detail.

Years a portfolio lasts, by withdrawal rate and real return

Withdrawals taken at the start of each year and indexed to inflation. The withdrawal rate is the first year's withdrawal as a percentage of the starting balance.
Withdrawal rate0% real1% real2% real3% real4% real
3%33.340.253.5119.6never
4%25.028.634.044.183.1
5%20.022.225.129.637.4
6%16.718.120.022.526.1
7%14.315.316.618.220.3
8%12.513.314.215.316.7
10%10.010.511.011.612.4

"Never" means the withdrawal sits below the perpetuity threshold i/(1 + i), so growth covers it in full. The calculator above caps its answer at 100 years for readability.

How to read the answer

Compare the depletion age with a realistic longevity, not an average one. Life expectancy at 65 is an average, and a large share of 65-year-olds live well past it; for a couple the chance that at least one partner is alive at 90 is far higher than for either individually. A plan that depletes at 88 is not a plan that works nine times out of ten; it is a coin flip.

Then look at how far you sit from the threshold. If your withdrawal is close to the sustainable maximum, the answer is fragile: a percentage point of return or a percentage point of extra spending moves the depletion date by many years. If it is well below, the answer is robust and the exact assumptions matter much less. The row spacing in the table above shows this directly — the top-left corner changes slowly, the bottom rows barely move at all.

Treat the smooth-return assumption as the main limitation. This model applies the same return every year, but real sequences are lumpy, and a bad first five years hurts a portfolio in drawdown far more than the same five years later, because you sell more shares at low prices to fund the same spending. That is sequence-of-returns risk, and it is why the historically calibrated rules in the safe withdrawal rate calculator land below what a smooth-return model would allow. A defensible way to use this page is to run it at your central assumption and again with the return reduced by two points, and to plan against the worse of the two.

Finally, remember what is missing. Once you reach 73 or 75, the IRS sets a floor under your withdrawals whether you want the money or not, which the RMD calculator computes. Taxes reduce what each withdrawal actually delivers. And if you are drawing before 59½, the 72(t) rules constrain the amount as well.

Assumptions this model makes

  • Withdrawals come at the start of each year. That is the conservative convention and matches how most retirees actually take income. Monthly withdrawals sit between the start-of-year and end-of-year cases and last very slightly longer.
  • Returns are constant. No volatility, no sequence risk, no rebalancing. The single number you enter is earned every year.
  • Withdrawals are the amount you take, not the amount you spend. Enter the gross figure if the account is tax-deferred, because income tax comes out of it.
  • Guaranteed income is excluded. Enter only the spending your portfolio funds; Social Security and pensions should already be netted off.
  • Spending is assumed constant in real terms. Actual retirement spending often eases in the middle years and rises again late, and no smooth model captures that.
  • Fees come out of the return. Enter the return you expect after fund expenses and any advisory fee, because a 1% fee is a 1% reduction in i and moves the depletion date by years.

Level withdrawals hide the problem

Untick the inflation indexing and the projected longevity jumps, sometimes dramatically. That is not a better plan, it is a different one: you are choosing to let the purchasing power of your income decline. At 2.5% inflation, a payment held level for 25 years buys 46% less at the end than at the start. Use the level-withdrawal setting for a fixed annuity or a level pension, where the payment genuinely does not rise, and leave indexing on when you are modelling your own spending.

Other ways to ask the same question

This calculator solves the annuity equation for time. The same equation solved for the other variables answers the neighbouring questions, and it is usually worth running two of them together.

Solve for the payment and you get the maximum sustainable withdrawal, which is reported here as a supporting figure and treated in depth by the safe withdrawal rate calculator. Solve for the present value and you get the lump sum a given income requires, which is the retirement savings needed calculator. Solve for the rate and you get the return your plan implicitly demands, which is a useful sanity check against what a bond ladder actually yields.

There is also a structural answer to sequence risk that no deterministic model captures. Buying a lifetime income — an immediate annuity, or delaying Social Security to 70, which is the cheapest inflation-indexed longevity insurance most people can buy — converts a portfolio that might run out into an income that cannot. The trade is liquidity and bequest value for certainty. If you are working out whether your portfolio can bridge the years before a delayed claim, run this calculator over just the bridge period and check the balance at the end against the longer-horizon target for the remainder.

Frequently asked questions

How long will $1 million last in retirement?

At $40,000 a year indexed to inflation and a 2% real return it lasts about 34 years; at $50,000 a year it lasts about 25 years; at $60,000 about 20 years. The withdrawal rate matters far more than the balance, because the answer depends only on the ratio of withdrawal to portfolio and on the real return. Doubling the portfolio and doubling the spending gives exactly the same number of years.

Why does the calculator say 100 years?

Because at your assumptions the portfolio is never exhausted, and 100 is the modelling cap rather than a real depletion date. This happens whenever the first-year withdrawal is at or below the portfolio's growth, precisely when W(1 + i) is no more than P·i. The warning shows you the exact break-even withdrawal for your inputs.

Should I tick inflation indexing?

Tick it if you are modelling your own spending, because your cost of living rises whether you plan for it or not. Untick it only when the payment genuinely stays level, such as a fixed annuity or a non-indexed private pension. Indexing typically shortens the projected horizon substantially, and that shorter figure is the honest one for a household budget.

What return should I use?

Use the expected return of the portfolio you actually hold, after fund fees and any advisory fee, and be more conservative than a historical stock-market average because most retirees hold significant bond exposure. A practical approach is to run the calculation twice, once at your central estimate and once two percentage points lower, and to treat the gap between the answers as the honest uncertainty in the plan.

Does this account for taxes?

Not separately. Enter the gross withdrawal from a traditional IRA or 401(k), because income tax is paid out of the amount you take. If your money sits in a Roth account the withdrawal is generally tax-free, so the same dollar figure funds more spending. Mixed account types are best handled by estimating your average tax rate and grossing up the spending you need.

Why does the answer change so much when I change the return by one point?

Because the relationship is logarithmic and you are usually near the sustainable threshold, where the denominator of the fraction inside the logarithm is small. At a 5% withdrawal rate, moving the real return from 2% to 3% adds about four and a half years; moving from 3% to 4% adds nearly eight. The closer your withdrawal sits to the break-even level, the more violently the answer swings.

Is a 4% withdrawal rate safe?

It is the rate Bengen's 1994 study identified as having survived every historical 30-year period he tested for a stock-and-bond portfolio, and the Trinity study reached similar conclusions using success probabilities. Neither is a guarantee, both assume a 30-year horizon rather than a 45-year one, and both assume a diversified portfolio with low costs. Treat 4% as a well-tested starting point that you adjust for your own horizon and flexibility.

What is the difference between this and an annuity quote?

An annuity quote is this calculation performed by an insurer that also takes the longevity risk. You hand over the capital and receive an income for life however long you live, priced from current interest rates and mortality tables, with the insurer's margin included. This calculator instead tells you how long a portfolio you keep control of would last, which is a different trade: you retain the money and the upside, and you also retain the risk of outliving it.

References

  • Determining Withdrawal Rates Using Historical Data, Journal of Financial Planning, October 1994 — William P. Bengen
  • Retirement Savings: Choosing a Withdrawal Rate That Is Sustainable, AAII Journal, February 1998 (the Trinity study) — Philip L. Cooley, Carl M. Hubbard and Daniel T. Walz
  • Theory of Interest, 3rd edition (annuity-due present values and solving for the term) — Stephen G. Kellison, McGraw-Hill
  • Actuarial Life Table, Period Life TableU.S. Social Security Administration