Skip to content

Monte Carlo retirement calculator: will your savings last?

A Monte Carlo retirement calculator tests a plan against thousands of possible market paths instead of one average return, and reports in how many of them the money lasts. This free calculator runs 2,000 simulations built from real stock and bond returns, from your saving years to the last year of the plan, with pension income, three spending rules and a stress test for a market crash at the start of retirement.

1 · You

All amounts in today’s money: contributions, spending and other income rise with inflation.

2 · Portfolio and markets 

The rest of the portfolio is in bonds. Rebalanced every month.

3 · Spending rule and stress test

 
 
Chance the money lasts 
99%
to age 95
Savings at retirement 
$1.7M
median · $984k to $2.7M
Spending with 90% success 
$69,964 / yr
4.0% of the savings at retirement
Median left at 95 
$4.4M
today’s money

After 15 years of saving the portfolio is worth $1,727,674 at 65 in the median simulation ($984,178 to $2,716,202 in four out of five), in today’s money. In 99% of 2,000 simulations the savings lasted to age 95. When the money ran out, it happened at age 89 in the median case and at 81 at the earliest. In a bad case (1 in 10) $1.0M was left at the end, in a good case (9 in 10) $11M.

Savings by age, in today’s money 

$0$2.5M$5.0M$7.5M$10MRetirement at 655060708090
Median Half of the simulations 8 in 10 simulations
Savings at selected ages in a bad, median and good case
AgeBad case (1 in 10) Median Good case (9 in 10)
65retirement$984k$1.7M$2.7M
75$943k$2.2M$4.3M
85$961k$3.1M$6.9M
95$1.0M$4.4M$11M

If you spent more or less

  • $40,000100%
  • $45,000100%
  • $50,000 (yours)99%
  • $55,00098%
  • $60,00096%

With more or fewer stocks in retirement

  • 0% stocks92%
  • 20% stocks97%
  • 40% stocks99%
  • 60% stocks99%
  • 80% stocks99%
  • 100% stocks99%

When the money ran out

Share of all simulations, by the age at which the savings were used up.

  • Age 80–840.2%
  • Age 85–890.5%
  • Age 90–940.4%

Historical mode: 2,000 simulations built from 12-month blocks drawn at random from the monthly total returns of the S&P 500 (SPY) and US investment-grade bonds (AGG), Dec 2006 to Oct 2026, in US dollars: stock and bond returns stay paired as they happened, crises included. Contributions and withdrawals happen at the start of each month. Taxes are not included. An educational simulation, not a forecast and not financial advice.

How often did the money last 30 years? Withdrawal rate by share of stocks

The same simulation for a retiree with no other income: a first-year withdrawal of a given share of the savings, raised every year with 2.5% inflation, for 30 years. Each cell is the share of 2,000 simulations in which the money lasted, built from the real monthly returns of the S&P 500 (SPY) and US investment-grade bonds (AGG), Dec 2006 to Oct 2026.

Share of simulations in which the savings lasted 30 years, by first-year withdrawal rate and share of stocks
Stocks / bonds3% a year3.5% a year4% a year4.5% a year5% a year6% a year
0 / 10086%57%22%4%0%0%
25 / 7599%96%84%63%38%5%
50 / 5099%97%95%88%77%51%
75 / 2599%97%95%92%87%72%
100 / 098%97%95%92%89%79%

Withdrawals at the start of each month, monthly rebalancing, no fees or taxes. Green: 90% or more; amber: 75% to 89%; red: below 75%. Source: MEDGE Capital simulations on end-of-day prices.

With half the portfolio in stocks a 4% withdrawal lasted 30 years in 95% of the simulations and a 5% withdrawal in 77%. These figures describe the months in the sample, not the future: the next section shows how much they move with the returns assumed.

The same withdrawals over 20, 30 and 40 years, 60% in stocks

Share of simulations in which the savings lasted, by length of retirement and first-year withdrawal rate
Years of retirement3% a year3.5% a year4% a year4.5% a year5% a year6% a year
20 years100%100%99%98%96%87%
30 years99%97%95%90%82%62%
40 years98%95%89%80%70%47%

A longer retirement needs a lower withdrawal for the same success rate: an early retiree planning for 40 years is in the last row.

What goes into the simulation decides what comes out

The historical mode draws from 239 months, Dec 2006 to Oct 2026. In that stretch the S&P 500 (SPY) returned +10.8% a year with a volatility of 15.3% and lost 43.4% in its worst twelve months; US investment-grade bonds (AGG) returned +2.9% a year with a volatility of 4.6% and lost 15.6% in its worst twelve. The correlation between the two was 0.24. A simulation built on these months can only reshuffle what they contain.

How much that matters is documented. Finke, Pfau and Blanchett estimated that spending an inflation-adjusted 4% of the savings over 30 years fails in about 6% of simulations when returns follow their historical averages, and in 57% when bond returns are set to the low real yields of January 2013 with the same equity premium.[3] The table runs one plan through three sets of returns: the historical blocks and two sets of assumptions you can also type into the calculator.

Success rate of the same retirement plan under three sets of returns
Returns usedStocks, a yearBonds, a yearThe money lasted 30 years
Historical blocks, Dec 2006 to Oct 2026+10.8% (realised)+2.9% (realised)95%
Assumptions, the calculator’s defaults+7.0%+3.5%69%
Assumptions, lower returns+5.0%+2.0%39%

One plan: a 4% first-year withdrawal raised with 2.5% inflation for 30 years, 60% in stocks. The two sets of assumptions are illustrations with a stock volatility of 16% and a bond volatility of 6%, not forecasts.

The plan succeeded in 95% of the simulations with the historical blocks, in 69% with the default assumptions and in 39% with the lower ones. Before relying on a success rate, run your plan in “My assumptions” with returns you consider prudent.

The method matters too. Cooley, Hubbard and Walz compared Monte Carlo simulation with the other common approach, replaying every overlapping period of history, and found that the two give similar results under some conditions and quite different ones under others.[4]

Why the order of returns matters

For a sum left invested with nothing added or taken out, the order of good and bad years does not change the final value. Once you withdraw, it does: a fall in the first years forces you to sell more shares at low prices to fund the same spending, and those shares are not there for the recovery. Blanchett, Finke and Pfau note that portfolio returns in the first decade of retirement have an outsize impact on retirement income strategies.[5]

The table uses the real calendar-year returns of the S&P 500 (SPY) from 2007 to 2025, once in the order they happened and once reversed. Same 19 returns, same average of +10.7% a year, same plan: $1,000,000 at the start and $50,000 a year, raised with 2.5% inflation.

The same yearly returns in two orders, with the same withdrawals
Order of the yearsFirst three returnsAfter 5 yearsAfter 10 yearsAfter 19 years
As they happened, 2007 first+5%, −37%, +26%$609,944$731,650$1,208,758
Reversed, 2025 first+18%, +25%, +26%$1,390,866$2,136,705$2,507,337

Balances in today’s money, withdrawal at the start of each year, portfolio fully in the stock fund. Source: MEDGE Capital calculations on end-of-day prices.

In the order they happened the portfolio ends with $1,208,758; with the same years reversed it ends with $2,507,337. A calculator that applies one average return every year cannot show this difference: a simulation can. The stress test in the calculator puts a fall of your choice in the first year of retirement of every path.

How to read the result

Chance the money lasts. The share of simulations in which the savings were not used up before the last year of the plan. It counts a path that ends with one dollar and a path that ends with millions in the same way, so read it together with the range of savings by age.

A failure assumes you never adjust. With fixed spending, a failed path keeps withdrawing the same amount all the way down. Finke, Pfau and Williams modelled retirees with different attitudes to risk and found that the 4% strategy may only suit risk-averse people with moderate guaranteed income, and that those able to accept a higher chance of a shortfall prefer a higher withdrawal rate and a riskier portfolio.[6] The two flexible rules in the calculator show the other side of that trade: fewer failures, and a spending level that moves.

The range by age. The chart shows the median path, the band that contains half of the simulations and the band that contains eight in ten. A wide band at 85 is the uncertainty you carry; where the lower edge touches zero is the age at which the bad cases run out.

Stocks before and after retirement. The two shares are separate inputs because the risk is different in the two phases. Pfau and Kitces found that a portfolio that starts retirement conservative and raises its share of stocks over time can reduce both the probability and the size of a failure, against the usual advice to do the opposite.[7] The bars “with more or fewer stocks in retirement” show the effect of that share on your plan.

A simulation is not the only way. Milevsky and Robinson derived a formula for a sustainable spending rate that needs no simulation.[8] A simulation earns its place when the plan has parts a formula cannot hold: saving years, income that starts later, rules that change the spending, a crash at a chosen moment.

How the simulation works

Historical mode. Each simulated year is a block of 12 consecutive months drawn at random, with replacement, from the real monthly total returns of the stock fund and the bond fund. This is a bootstrap,[1] applied to blocks instead of single months so that what happens inside a year, crashes and rebounds included, stays together.[2] Stock and bond returns of the same month are always drawn together, so their real co-movement is kept.

Assumptions mode. Monthly returns are drawn from a lognormal distribution with the yearly averages and volatilities you set and a correlation of 0.1 between stocks and bonds.

Cash flows. Contributions enter at the start of each month until retirement; withdrawals leave at the start of each month after it. Both are in today’s money and rise with the inflation rate you set, which is constant. Other income starts at the age you choose and reduces what the portfolio has to pay. The portfolio is rebalanced to its stock share every month, and the extra fee is taken monthly.

Spending rules. Fixed: the same amount every year in today’s money. Percentage: each year the chosen share of the balance at the start of that year. Guardrails: the amount follows inflation, is cut by 10% in a year that starts with a withdrawal rate more than 20% above the initial one, and is raised by 10% when the rate is more than 20% below it.

Stress test. In every simulation the stock returns of the first twelve months of retirement are replaced by a steady fall that adds up to the percentage you choose; bonds and all later months are unchanged.

Reproducible. The random draws use a fixed seed: the same inputs always give the same result, on any device. Everything runs in your browser and nothing you type is sent or stored.

Not included. Taxes, the length of your own life, health and care costs, and currency effects for investors outside the US. Returns are in US dollars.

Monte Carlo retirement calculator: questions

What is a Monte Carlo retirement calculator?

It runs thousands of possible futures for your savings, each with a different sequence of market returns, and counts in how many the money lasts as long as you need it. The share of successful paths is the chance of success; the spread of outcomes shows how much depends on the order in which good and bad years arrive.

How does this calculator work?

Enter your age, the age you plan to retire and the age to plan to, your savings, what you add each year and what you will spend, plus any pension. The calculator runs 2,000 simulations month by month: contributions until retirement, then withdrawals that rise with inflation. It shows the chance that the money lasts, the range of savings at each age and the yearly spending that reaches the success level you choose.

Where do the returns come from?

In historical mode the calculator draws blocks of 12 consecutive months at random from the real monthly total returns of the S&P 500 (SPY) and US investment-grade bonds (AGG), Dec 2006 to Oct 2026, so stock and bond returns stay paired as they really happened, crises included. In assumptions mode you set the average returns and volatilities yourself.

What is the 4% rule, and does it hold?

The 4% rule is a rule of thumb: spend 4% of your savings in the first year of retirement, then the same amount raised with inflation every year. Whether it holds depends on the returns assumed. In our simulations on Dec 2006 to Oct 2026 returns it lasted 30 years in 95% of cases with half the portfolio in stocks. Finke, Pfau and Blanchett estimated a failure rate of about 6% with historical average returns and of 57% when bond returns were set to the low real yields of January 2013.

What is sequence-of-returns risk?

It is the risk that the bad years arrive early in retirement, when the portfolio is largest and withdrawals have just started. Two retirees with the same average return can end very differently depending on the order of the years. The calculator measures it with the range of outcomes and with the stress test that makes stocks fall in the first year.

What do the three spending rules do?

Fixed spending keeps the same amount every year in today’s money, whatever the markets do. A percentage of the portfolio spends a fixed share of what is left each year: the money cannot run out, but the spending moves with the markets. Guardrails follow inflation and adjust in steps: spending is cut by 10% when the withdrawal rate rises 20% above the starting one and raised by 10% when it falls 20% below.

Can I include Social Security or a pension?

Yes. Enter the yearly amount in today’s money and the age at which it starts. From that age the portfolio only has to cover the difference between your spending and that income, which usually raises the chance of success considerably.

What does "spending with 90% success" mean?

It is the highest yearly spending, in today’s money, for which at least 90% of the simulations still had money left at the end of the plan, with your savings, ages, allocation, inflation and fees. You can change the level to 75%, 80% or 95%. It is a simulation result, not a safe amount.

Which success rate should I aim for?

There is no single right number. A higher target means spending less for the whole retirement in exchange for fewer failures in the simulations. A failed simulation also assumes that you never adjust: with a flexible rule, a bad stretch means spending less for some years, not running out. Compare the levels in the calculator to see what each one costs.

What does the calculator leave out?

Taxes, the length of your own life, health and care costs, changes in spending over time, and currency effects for investors outside the US. Past returns, even reshuffled, do not cover every future scenario. Use the result to compare choices, not as a plan.

Sources

  1. Efron, B. (1979). Bootstrap Methods: Another Look at the Jackknife. The Annals of Statistics, 7(1), 1–26. doi.org/10.1214/aos/1176344552
  2. Künsch, H. R. (1989). The Jackknife and the Bootstrap for General Stationary Observations. The Annals of Statistics, 17(3), 1217–1241. doi.org/10.1214/aos/1176347265
  3. Finke, M. S., Pfau, W. D., & Blanchett, D. (2013). The 4 Percent Rule is Not Safe in a Low-Yield World. SSRN working paper. doi.org/10.2139/ssrn.2201323
  4. Cooley, P. L., Hubbard, C. M., & Walz, D. T. (2003). Comparative Analysis of Retirement Portfolio Success Rates. Financial Services Review, 12(2), 115–128. doi.org/10.61190/fsr.v12i2.4759
  5. Blanchett, D., Finke, M. S., & Pfau, W. D. (2013). Asset Valuations and Safe Portfolio Withdrawal Rates. SSRN working paper. doi.org/10.2139/ssrn.2286146
  6. Finke, M. S., Pfau, W. D., & Williams, D. (2011). Spending Flexibility and Safe Withdrawal Rates. SSRN working paper. doi.org/10.2139/ssrn.1956727
  7. Pfau, W. D., & Kitces, M. (2013). Reducing Retirement Risk with a Rising Equity Glide-Path. SSRN working paper. doi.org/10.2139/ssrn.2324930
  8. Milevsky, M. A., & Robinson, C. (2005). A Sustainable Spending Rate without Simulation. Financial Analysts Journal, 61(6), 89–100. doi.org/10.2469/faj.v61.n6.2776

More free tools

Source: MarketStack end-of-day prices, total return with dividends reinvested; sources listed above. Figures are historical and descriptive; they are not forecasts and not investment advice. MEDGE Capital does not recommend buying or selling any instrument. Risk disclaimer.