💰 Finance

How Long Will Retirement Savings Last Calculator

Calculate How Long Will Retirement Savings Last Calculator instantly with accurate financial formulas

⚡ Free to use 📱 Mobile friendly 🕒 Updated: May 29, 2026
🧮 How Long Will Retirement Savings Last Calculator
Retirement Savings Will Last
--
years
function calculate() { const savings = parseFloat(document.getElementById("i1").value) || 0; const spending = parseFloat(document.getElementById("i2").value) || 0; const returnRate = (parseFloat(document.getElementById("i3").value) || 0) / 100; const inflation = (parseFloat(document.getElementById("i4").value) || 0) / 100; const otherIncome = parseFloat(document.getElementById("i5").value) || 0; if (savings <= 0 || spending <= 0) { showResult("Invalid Input", "Enter positive values", [{"label":"Status","value":"Check inputs","cls":"red"}]); return; } const netAnnualSpending = spending - otherIncome; if (netAnnualSpending <= 0) { showResult("∞", "Infinite", [{"label":"Status","value":"Income covers spending","cls":"green"}]); document.getElementById("res-sub").textContent = "Your savings will never run out"; document.getElementById("breakdown-wrap").innerHTML = "
ScenarioDuration
With inflation adjustmentInfinite
"; return; } const realReturn = (1 + returnRate) / (1 + inflation) - 1; let years; let colorClass; if (realReturn <= 0) { // No real growth — simple division years = savings / netAnnualSpending; colorClass = years > 20 ? "green" : (years > 10 ? "yellow" : "red"); } else { // Withdrawals with growth: N = ln(1 - (P*r)/W) / ln(1/(1+r)) ... but handle P*r >= W const P = savings; const r = realReturn; const W = netAnnualSpending; if (P * r >= W) { // Portfolio grows faster than withdrawals — infinite showResult("∞", "Infinite", [ {"label":"Status","value":"Portfolio grows faster than withdrawals","cls":"green"}, {"label":"Real Return","value":(realReturn*100).toFixed(2)+"%","cls":"green"} ]); document.getElementById("res-sub").textContent = "Your savings will last forever"; document.getElementById("breakdown-wrap").innerHTML = buildBreakdownTable(savings, netAnnualSpending, returnRate, inflation, realReturn, Infinity); return; } // Standard formula: N = ln(1 - (P*r)/W) / ln(1/(1+r)) years = Math.log(1 - (P * r) / W) / Math.log(1 / (1 + r)); if (years < 0 || !isFinite(years)) { years = savings / netAnnualSpending; colorClass = "yellow"; } else { colorClass = years > 25 ? "green" : (years > 12 ? "yellow" : "red"); } } const yearsDisplay = years === Infinity ? "∞" : years.toFixed(1); const yearsNum = years === Infinity ? 999 : years; let statusLabel, statusCls; if (yearsNum >= 25) { statusLabel = "Excellent"; statusCls = "green"; } else if (yearsNum >= 12) { statusLabel = "Moderate"; statusCls = "yellow"; } else { statusLabel = "Critical"; statusCls = "red"; } showResult(yearsDisplay, "Retirement Savings Will Last", [ {"label":"Status","value":statusLabel,"cls":statusCls}, {"label":"Real Return","value":(realReturn*100).toFixed(2)+"%","cls":realReturn > 0 ? "green" : "yellow"}, {"label":"Annual Withdrawal","value":"$"+netAnnualSpending.toLocaleString(undefined,{minimumFractionDigits:0,maximumFractionDigits:0}),"cls":""}, {"label":"Total Savings","value":"$"+savings.toLocaleString(undefined,{minimumFractionDigits:0,maximumFractionDigits:0}),"cls":""} ]); document.getElementById("res-sub").textContent = "years (with inflation adjustment)"; document.getElementById("breakdown-wrap").innerHTML = buildBreakdownTable(savings, netAnnualSpending, returnRate, inflation, realReturn, yearsNum); } function buildBreakdownTable(savings, netSpend, nomReturn, inflation, realReturn, years) { if (years === Infinity || years >= 999) { return "
ScenarioDuration
With inflation & growth∞ Infinite
Without growth (simple)"+(savings/netSpend).toFixed(1)+" years
"; } const rows = []; rows.push(""); let balance = savings; const displayYears = Math.min(Math.ceil(years) + 1, 30); // show up to 30 years or until depleted let depletedYear = null; for (let y = 1; y <= displayYears; y++) { const startBal = balance; const withdrawal = netSpend * Math.pow(1 + inflation, y - 1); const growth = startBal * nomReturn; let endBal = startBal + growth - withdrawal; if (endBal < 0 && depletedYear === null) { // Partial year const frac = startBal / (withdrawal - growth); const yearLabel = (y - 1 + frac).toFixed(1); rows.push("
YearBalance StartWithdrawalGrowthBalance End
"+yearLabel+"$"+startBal.toLocaleString(undefined,{minimumFractionDigits:0,maximumFractionDigits:0})+"$"+withdrawal.toLocaleString(undefined,{minimumFractionDigits:0,maximumFractionDigits
📊 Projected Retirement Savings Duration by Annual Withdrawal Rate

What is How Long Will Retirement Savings Last Calculator?

A How Long Will Retirement Savings Last Calculator is a specialized financial planning tool that estimates the duration your current retirement nest egg will support your desired lifestyle, given specific withdrawal rates, investment returns, and inflation assumptions. Unlike simple savings trackers, this calculator uses the sustainable withdrawal rate concept to project the exact number of months or years your portfolio can sustain regular income before depletion. For millions of pre-retirees and retirees, understanding this time horizon is the difference between a comfortable retirement and outliving one's assets, a risk known as longevity risk.

This tool is primarily used by individuals aged 45 to 70 who are either approaching retirement or already drawing down their accounts. Financial advisors, estate planners, and certified public accountants also rely on it to stress-test retirement plans for clients. The core reason this matters is that traditional pension plans have largely disappeared, placing the burden of sustainable income squarely on personal savings like 401(k)s, IRAs, and taxable brokerage accounts. Without accurate projections, retirees risk withdrawing too much early, which can trigger a sequence-of-returns risk that devastates portfolio longevity.

Our free online How Long Will Retirement Savings Last Calculator provides instant, accurate results without requiring software downloads or financial licenses. You simply input your current savings balance, expected annual withdrawal amount, anticipated rate of return, and inflation rate, and the tool delivers a clear timeline in years and months. This empowers you to make informed decisions about part-time work, spending adjustments, or investment allocation changes before it's too late.

How to Use This How Long Will Retirement Savings Last Calculator

Using this calculator requires just five straightforward inputs, but understanding each field ensures you get the most realistic projection possible. Follow these steps carefully to generate a reliable retirement duration estimate.

  1. Enter Your Total Retirement Savings Balance: Input the current total value of all liquid retirement accounts, including 401(k)s, traditional IRAs, Roth IRAs, taxable brokerage accounts, and cash reserves. Do not include home equity or illiquid assets like collectibles or real estate that you don't plan to sell. For example, if you have $450,000 in a 401(k), $80,000 in a Roth IRA, and $20,000 in a savings account, enter $550,000.
  2. Input Your Desired Annual Withdrawal Amount: This is the pretax income you need from your savings each year to cover living expenses, healthcare, travel, and discretionary spending. Be realistic—use your current annual expenses as a baseline, adjusting for expected changes like a paid-off mortgage or increased medical costs. For example, if you need $40,000 per year from savings, enter 40000.
  3. Set Your Expected Annual Rate of Return: This is the average annual investment return you expect your portfolio to generate before inflation. A conservative assumption for a balanced portfolio (60% stocks, 40% bonds) is 5% to 7%. Aggressive portfolios might use 8% to 10%, while conservative allocations might use 3% to 4%. Enter a percentage like 6 for 6%.
  4. Enter Your Estimated Inflation Rate: Inflation erodes purchasing power over time, so you must account for it. The historical average inflation rate in the U.S. is about 3%, though recent years have seen higher volatility. Enter a percentage like 3 for 3%. Some calculators adjust withdrawals upward for inflation automatically; ours uses a real rate of return method (return minus inflation) for simplicity and accuracy.
  5. Click Calculate and Review Results: After entering all four values, press the calculate button. The tool will display the estimated number of years and months your savings will last. It also shows the total amount withdrawn and the ending balance (which will be $0 in most cases). You can adjust any input and recalculate instantly to see how changes affect your timeline.

For best accuracy, use your actual current savings balance rather than a projected future amount. Run multiple scenarios—for example, a "conservative" scenario with lower returns and higher inflation, and an "optimistic" scenario with higher returns—to understand the range of possible outcomes. The tool updates in real time, so you can experiment with different withdrawal strategies immediately.

Formula and Calculation Method

The core formula behind this calculator is derived from the time value of money principles used in annuity and depletion calculations. It solves for the number of periods (N) that a present value (savings) can support a series of regular withdrawals (PMT) at a given periodic interest rate (r), assuming the balance goes to zero at the end. This is essentially the inverse of a loan amortization formula, applied to retirement savings.

Formula
N = ln( (PMT / r) / ( (PMT / r) - PV ) ) / ln(1 + r)
Where:
N = Number of periods (years)
PMT = Annual withdrawal amount
PV = Present value of savings (initial balance)
r = Real annual rate of return (nominal return minus inflation rate)

The formula calculates N using natural logarithms (ln) because the relationship between withdrawals, returns, and time is exponential. The real rate of return (r) is critical: it adjusts the nominal return for inflation, ensuring the calculation reflects purchasing power preservation. For example, if your nominal return is 6% and inflation is 3%, r = 0.03 (3%). This prevents overestimating how long money will last.

Understanding the Variables

PV (Present Value): Your total retirement savings balance today. This is the starting point and should include all investable assets intended for retirement income. The larger the PV, the longer savings last, all else being equal.
PMT (Payment/Withdrawal): The annual amount you plan to withdraw from savings. Higher withdrawals shorten portfolio longevity. This calculator assumes constant nominal withdrawals unless inflation adjustment is applied via the real rate.
r (Real Rate of Return): The inflation-adjusted return. Calculated as (1 + nominal return) / (1 + inflation rate) - 1, or approximated as nominal return minus inflation rate for simplicity. A positive real rate means your portfolio grows faster than inflation, extending longevity. A negative real rate means you're losing purchasing power, accelerating depletion.
N (Number of Years): The output—how many years your savings will last before reaching $0. This is the key metric for retirement planning.

Step-by-Step Calculation

Step 1: Convert your nominal return and inflation rate into a decimal real rate. For example, 6% nominal return and 3% inflation: r = 0.06 - 0.03 = 0.03 (3%).
Step 2: Calculate PMT / r. For a $40,000 annual withdrawal and r = 0.03, this equals $40,000 / 0.03 = $1,333,333.33.
Step 3: Subtract PV from the result in Step 2. If PV = $500,000, then $1,333,333.33 - $500,000 = $833,333.33.
Step 4: Divide the result from Step 2 by the result from Step 3: $1,333,333.33 / $833,333.33 = 1.6.
Step 5: Take the natural log (ln) of that quotient: ln(1.6) ≈ 0.4700.
Step 6: Calculate ln(1 + r) = ln(1.03) ≈ 0.02956.
Step 7: Divide Step 5 by Step 6: 0.4700 / 0.02956 ≈ 15.9 years. This means $500,000 with $40,000 annual withdrawals and a 3% real return will last approximately 15.9 years.

Example Calculation

Let's walk through a realistic scenario using the formula. Consider Maria, a 62-year-old teacher preparing to retire next year. She has accumulated $620,000 in her 403(b) and IRA accounts. She estimates she needs $35,000 per year from savings to supplement Social Security. She plans a conservative investment mix of 50% stocks and 50% bonds, expecting a 5% nominal return. She assumes 2.5% inflation going forward.

Example Scenario: Maria has $620,000 in retirement savings. She wants to withdraw $35,000 annually. She expects a 5% nominal return and 2.5% inflation. How long will her savings last?

Step 1: Calculate real rate of return: r = 0.05 - 0.025 = 0.025 (2.5%).
Step 2: Compute PMT / r = $35,000 / 0.025 = $1,400,000.
Step 3: Subtract PV from Step 2: $1,400,000 - $620,000 = $780,000.
Step 4: Divide Step 2 by Step 3: $1,400,000 / $780,000 = 1.79487.
Step 5: Take ln(1.79487) ≈ 0.5847.
Step 6: Take ln(1 + 0.025) = ln(1.025) ≈ 0.02469.
Step 7: Divide: 0.5847 / 0.02469 ≈ 23.68 years.

Maria's savings will last approximately 23 years and 8 months. If she retires at 62, her money will run out when she is about 85 years and 8 months old. Given average life expectancy for a 62-year-old woman is around 86, this is tight. She might consider reducing withdrawals to $30,000 per year or working part-time for a few years to extend longevity.

Another Example

Consider James, a 55-year-old engineer who plans to retire early at 58. He has $1,200,000 saved. He wants to withdraw $60,000 annually. He expects an aggressive 8% nominal return and 3% inflation. Real rate r = 0.08 - 0.03 = 0.05. PMT / r = $60,000 / 0.05 = $1,200,000. PV = $1,200,000. So PMT / r equals PV exactly. This means the withdrawal exactly equals the inflation-adjusted earnings—savings never deplete. The formula yields N = infinity (or a very large number). In practical terms, a 5% withdrawal rate on a portfolio earning 5% real returns is sustainable indefinitely. However, market volatility could disrupt this, so James should still plan for sequence-of-returns risk.

Benefits of Using How Long Will Retirement Savings Last Calculator

Using a dedicated retirement longevity calculator provides clarity and confidence that generic savings calculators cannot match. It transforms abstract numbers into an actionable timeline, helping you avoid the two biggest retirement mistakes: underspending (dying with too much money) and overspending (running out). Here are the specific benefits you gain.

  • Prevents Outliving Your Savings: The calculator explicitly shows the depletion date, allowing you to adjust spending or returns before it's too late. For example, if the tool shows savings lasting only 15 years but you expect a 30-year retirement, you immediately know you need to save more, withdraw less, or earn higher returns. This proactive insight is far better than discovering a shortfall at age 75.
  • Enables Realistic Withdrawal Planning: Instead of guessing a "safe" withdrawal rate like 4%, you can test your actual numbers. The calculator shows exactly how different withdrawal amounts affect longevity. Reducing annual withdrawals by just $5,000 might add 5 to 10 years to your portfolio's life, a trade-off you can see instantly.
  • Accounts for Inflation Automatically: Many retirees forget that $40,000 today will buy far less in 20 years. By using the real rate of return method, this calculator builds inflation protection into the projection. You see the true purchasing power-adjusted timeline, not a nominal one that overestimates how long money will last.
  • Supports Scenario Testing and Risk Management: You can run multiple scenarios—worst case (low returns, high inflation), best case (high returns, low inflation), and most likely. This stress-testing reveals how sensitive your retirement is to market conditions. If a 2% drop in returns shortens your portfolio by 8 years, you know you need a more conservative withdrawal strategy.
  • Eliminates Complex Math and Spreadsheet Errors: The formula involves natural logarithms and iterative calculations that are easy to mess up manually. This calculator does the heavy lifting instantly, giving you accurate results without financial modeling expertise. It's accessible to anyone, from a 30-year-old starting to save to an 80-year-old managing distributions.

Tips and Tricks for Best Results

To get the most realistic projection from this calculator, you need to apply expert-level judgment to your inputs. The tool is only as good as the data you feed it. Here are proven tips and common pitfalls to watch for.

Pro Tips

  • Use a conservative real rate of return (2-4%) for long-term projections: Even if you historically earned 10% in stocks, a balanced retirement portfolio with bonds and cash will likely return 4-6% nominally. After 2-3% inflation, a 2-4% real return is realistic. Overestimating returns is the #1 reason people outlive their savings.
  • Run a "sequence-of-returns" sensitivity test: If you retire in a bear market, early withdrawals from a declining portfolio can devastate longevity. Manually test a scenario where returns are 0% for the first 3-5 years, then recover. If that scenario shortens your timeline by more than 5 years, consider a lower initial withdrawal rate or a cash buffer.
  • Include Social Security and pension income by reducing your withdrawal amount: If you receive $20,000 annually from Social Security and need $50,000 total, only enter $30,000 as your withdrawal amount. This gives a more accurate picture of how long just your savings need to last, not your total income.
  • Update inputs annually as you age: Your savings balance, withdrawal needs, and risk tolerance change. Re-run the calculator each year with actual current values. This turns a one-time projection into a dynamic retirement management tool.

Common Mistakes to Avoid

  • Using nominal returns instead of real returns: If you enter a 7% return and 0% inflation, you'll overestimate longevity by decades. Always subtract inflation. For example, 7% nominal with 3% inflation means using 4% real return. Failing to do this is the most common error.
  • Ignoring taxes on withdrawals: The calculator assumes pretax withdrawals. If you have a traditional 401(k) or IRA, your net spending money is lower after taxes. Estimate your effective tax rate and reduce your withdrawal amount accordingly. For example, if you withdraw $50,000 but pay 15% in taxes, your actual spending is $42,500.
  • Assuming constant returns every year: The formula assumes a steady average return, but markets are volatile. The calculator gives a "long-term average" estimate, not a guarantee. Use it as a planning tool, not a precise prediction. Always build in a safety margin of 2-3 extra years.
  • Forgetting to account for one-time expenses: Large purchases like a new car, home repair, or medical emergency can significantly shorten portfolio longevity. Add these into your annual withdrawal average or run a separate scenario that includes a lump-sum withdrawal in a specific year.

Conclusion

A How Long Will Retirement Savings Last Calculator is an indispensable tool for anyone serious about financial independence and retirement security. By converting your savings balance, desired withdrawal, expected returns, and inflation into a clear timeline, it demystifies the complex math of portfolio longevity and empowers you to make data-driven decisions. Whether you are 15 years from retirement or already drawing down accounts, this tool helps you avoid the nightmare of outliving your money and instead enjoy your golden years with confidence.

We encourage you to use our free calculator right now—enter your numbers, experiment with different scenarios, and see exactly how long your savings will last. Share the results with your financial advisor or spouse, and adjust your retirement plan accordingly. The few minutes you spend today could add years of financial peace of mind tomorrow. Start calculating and take control of your retirement future.

Frequently Asked Questions

This calculator estimates the number of years your retirement savings will sustain your desired annual withdrawals, given a specific initial balance, expected annual rate of return, inflation rate, and withdrawal amount. For example, if you have $500,000 saved, plan to withdraw $25,000 per year (adjusted for 3% inflation), and assume a 6% annual return, it calculates how many years until the balance reaches zero. It essentially measures the longevity of your nest egg under a set of user-defined assumptions.

The calculator uses an iterative compound interest and withdrawal formula: for each year, it applies the formula Balance = (Previous Balance × (1 + Annual Return)) – (Annual Withdrawal × (1 + Inflation)^Year). It repeats this process year by year until the balance drops to zero or below, counting the years survived. For example, starting with $1,000,000 at a 5% return and $50,000 initial withdrawal with 2% inflation, year one yields $1,000,000 × 1.05 – $50,000 = $1,000,000, and the process continues until the balance is exhausted.

A "good" result is typically 30 years or more, matching the average retirement duration for a 65-year-old. For example, if the calculator shows your savings last 35 years with a 4% withdrawal rate and 6% return, that is considered healthy. Results below 20 years may indicate you need to save more, reduce withdrawals, or adjust your investment strategy, while above 40 years suggests you may be underspending in retirement.

Its accuracy is highly dependent on the realism of your input assumptions; if you use a constant 7% return and 2.5% inflation, the result is only as reliable as those static numbers. Historical data shows that actual market returns vary wildly—for instance, the S&P 500 returned -37% in 2008 but +26% in 2009—so a single fixed-rate calculation can be off by 5–10 years or more. It is best used as a rough planning tool, not a precise prediction.

Key limitations include its assumption of constant annual returns and inflation, ignoring sequence-of-returns risk—where a market crash early in retirement can devastate savings even if average returns are high. It also does not account for taxes, Social Security, pensions, part-time income, or unexpected healthcare costs. For example, a retiree with $800,000 might see a 30-year projection, but a 20% market drop in year one could reduce that to 22 years in reality.

Unlike this calculator's single-path deterministic approach, professional methods like Monte Carlo simulation run thousands of scenarios with random annual returns, providing a probability (e.g., 85% chance your savings last 30 years). For instance, where a simple calculator might say "35 years," a Monte Carlo model could show a 60% chance of success and a 20% chance of failure by year 25. The simple calculator is thus less robust but far quicker and easier for initial estimates.

Many users mistakenly believe the output year is a guaranteed expiration date, but it is a projection based on averages, not a promise. For example, if it says 28 years, an unexpected 15% inflation spike or a bear market could drain funds in 20 years, while a bull market could extend it to 35 years. The calculator cannot predict real-world volatility, so it should be viewed as a baseline, not a contract.

At age 60, you can input your current $750,000 balance, assume a 5% annual return, 3% inflation, and a planned $40,000 first-year withdrawal at 65, to see if it lasts 30 years. If the result shows only 22 years, you might decide to save an extra $200 per month for the next five years, increasing the balance to $800,000 and extending the projection to 28 years. This allows you to make concrete adjustments before retirement begins.

Last updated: May 29, 2026 · Bookmark this page for quick access

🔗 You May Also Like