Skip to main content

How to Estimate How Long Your 401(k) Will Last in Retirement

What a 401(k) longevity calculator does

A 401(k) longevity calculator estimates how many years your balance will last based on how much you withdraw each year, your investment returns, and your life expectancy. It takes your current balance, your planned withdrawal amount, and an assumed annual return, then projects forward year by year to show when the money runs out—or whether it lasts your lifetime.

The calculator cannot predict the future. Markets fluctuate, your spending may change, and you may live longer or shorter than the average. But it gives you a concrete picture of whether your current plan is sustainable or whether you need to adjust your savings, your withdrawal rate, or your retirement date.

Key Takeaways

  • A longevity calculator shows whether your 401(k) balance will last through your retirement by modeling withdrawals against investment returns over time.
  • The most common withdrawal strategy is the 4% rule—taking 4% of your starting balance in year one, then adjusting for inflation each year after.
  • Your assumed annual return matters enormously; a 5% return versus a 7% return can add or subtract years of runway.
  • Most calculators let you model different scenarios—working longer, spending less, or adjusting your return assumptions—to see which changes have the biggest impact.

The inputs a calculator needs from you

To run a longevity projection, you need to provide your current 401(k) balance, your planned annual withdrawal amount (or the percentage you plan to withdraw), your assumed annual investment return, and your expected lifespan or retirement age.

Your current balance comes from your most recent 401(k) statement. Your planned withdrawal is often expressed as a dollar amount or as a percentage of your starting balance. Your assumed return should reflect your actual asset allocation—a portfolio heavy in stocks might assume 6% to 7% annually, while a conservative mix of stocks and bonds might assume 4% to 5%. Your expected lifespan can be your own estimate, or you can use Social Security Administration life expectancy tables, which vary by age and sex.

Some calculators also ask whether you plan to keep contributing to the 401(k) during early retirement, whether you have other income sources (like Social Security or a pension), and whether you want to account for inflation on your withdrawals.

How the 4% rule works in a calculator

The 4% rule is a common starting point for retirement withdrawals. You take 4% of your 401(k) balance in your first retirement year, then increase that dollar amount by inflation each year. For example, if your balance is $500,000, you withdraw $20,000 in year one. If inflation is 3%, you withdraw $20,600 in year two, and so on.

A longevity calculator using the 4% rule will show you whether this withdrawal strategy keeps your balance positive through your planned retirement. If your balance grows faster than you withdraw, the money lasts longer. If your withdrawals outpace growth—especially in down market years—the balance shrinks faster.

The 4% rule assumes a 30-year retirement and a portfolio split roughly 60% stocks and 40% bonds. If your retirement is longer, your portfolio is more conservative, or you need to withdraw more than 4%, the calculator will show a higher risk of running out of money.

Why market returns matter more than you might think

A 1% or 2% difference in your assumed annual return can add or subtract five to ten years of runway. If you assume a 5% return and your balance lasts 25 years, but the actual return is 3%, your money may run out in 18 years. Conversely, if returns are 7% instead of 5%, your balance may last into your 90s instead of your 80s.

This is why calculators often let you run multiple scenarios. You might model a conservative case (4% return), a moderate case (6% return), and an optimistic case (8% return) to see the range of outcomes. You can also model what happens if you experience a major market downturn in your first few retirement years—a scenario called "sequence of returns risk," which can be more damaging than the same downturn later in retirement.

Your actual return depends on your asset allocation. If you hold mostly index funds in stocks, historical returns average around 10% before inflation. After inflation, that is roughly 7% to 8%. A balanced portfolio of 60% stocks and 40% bonds has historically returned around 6% to 7% before inflation, or 3% to 4% after inflation. Using a return assumption that matches your actual holdings makes the projection more realistic.

Adjusting your plan based on calculator results

If the calculator shows your money runs out at age 85 but you expect to live to 95, you have three main levers to pull: work longer, spend less, or increase your returns.

Working one or two more years adds significantly to your runway because you stop withdrawing and may continue contributing. Reducing your annual withdrawal by 10% to 20% also extends your balance substantially. Increasing your return assumption by shifting to a more growth-oriented portfolio can help, but it also increases risk—especially if you are already in retirement and cannot recover from a major downturn.

Many people use a combination: work until 67 instead of 65, plan to withdraw 3.5% instead of 4%, and keep a modest stock allocation to capture growth. Running the calculator with each change shows you which adjustments have the biggest impact on your outcome.

Limitations of longevity calculators

A calculator is a planning tool, not a prediction. It cannot account for major life changes—a serious illness, a job loss, a windfall inheritance, or a long-term care event. It assumes your withdrawal rate stays constant (or rises only with inflation), but real retirement spending often drops in your 80s and 90s as travel and entertainment decline.

Calculators also assume you follow your plan. If markets drop 30% in year two of retirement and your balance falls below your comfort level, you may cut spending or delay withdrawals—which changes the outcome. If you inherit money or receive a large bonus, you may increase withdrawals—which also changes the outcome.

The most useful approach is to run a calculator every year or two with your actual balance and returns, adjust your assumptions based on what actually happened, and update your plan. A calculator is a starting point, not a may provide.

Where to find a 401(k) longevity calculator

Your 401(k) plan provider often offers a calculator on their website or through their retirement planning tools. Vanguard, Fidelity, Schwab, and other major custodians all provide free calculators for their account holders. You can also find standalone calculators through financial websites like Bankrate, NerdWallet, or the Retirement Income Industry Association.

Most calculators work the same way: enter your balance, withdrawal amount, return assumption, and lifespan, and the tool projects forward. Some offer more detail—the ability to model multiple income sources, account for taxes, or run Monte Carlo simulations that test your plan against thousands of historical market scenarios. If your situation is complex (multiple retirement accounts, a pension, rental income), a more detailed calculator or a conversation with a financial planner may be worth the time.

Frequently Asked Questions

What withdrawal rate should I use if I am not sure?

Start with 4% of your starting balance as a baseline. If you have other income sources like Social Security or a pension, you can often withdraw more from your 401(k). If you are retiring very early (before 60) or expect to live past 95, use 3% to 3.5% instead. Run the calculator with a few different rates to see which one feels sustainable.

Should I use a higher return assumption if I am young and can take risk?

Age matters less than your actual portfolio. If you hold 80% stocks, a 7% return assumption is reasonable regardless of age. If you hold 40% stocks, use 5% to 6%. The calculator should match your real holdings, not your age. Remember that higher returns come with higher volatility—you may see 20% swings in some years.

What if my calculator shows I will run out of money?

That is a signal to adjust your plan before retirement, not a prediction of failure. Work one or two more years, reduce your planned withdrawal, or both. Even small changes—delaying retirement by 18 months or cutting spending by 15%—often solve the problem. Run the calculator again after each change to see the new outcome.

Do I need to account for taxes in a longevity calculator?

Most calculators let you enter a tax rate or account for taxes separately. If you are withdrawing from a traditional 401(k), your withdrawals are taxed as ordinary income. If you have a Roth 401(k) or a mix of accounts, your tax situation is more complex. Using a blended tax rate (your expected average tax bracket in retirement) is a reasonable starting point.

How often should I recalculate?

Run the calculator annually or whenever your situation changes significantly—a major market move, a change in your spending, or a change in your health outlook. Each year, update your actual balance and returns, and see whether your plan is still on track. This keeps your projection grounded in reality rather than assumptions made years earlier.