WOLFRAM|DEMONSTRATIONS PROJECT

Monte Carlo Simulation of Retirement Savings with Variable Annual Return

​
number of trials
50
100
500
1000
random seed
123
retirement details
number of years until retirement
25
current amount in retirement
10000
contribution to add each year
5000
percent of return for a year
minimum
-25
most likely (average)
9
maximum
45
minimum
123,245.
th
25
percentile
353,705.
median
533,934.
average
551,228.
th
75
percentile
533,934.
maximum
1,589,370.
Monte Carlo simulation is useful for including variability in developing a model of a system. This simulation lets you see the impact of variability on the yearly percentage return for a retirement investment. Rather than using a fixed percentage return, this Demonstration uses a random sample from a triangular distribution to model the average return for each year. The triangular distribution is used since its parameter values (minimum, model, and maximum) allow one to account for the wide range of variability that can occur from year to year.
This Demonstration lets you specify the number of simulation trials to run, a random number stream for the simulation, the number of years until retirement, the initial amount in savings, and the fixed contribution amount to add each year. You can also define the minimum, most likely, and maximum return in a year. The results show the histogram of the total retirement amount for the number of trials. The results also indicate the lowest,
th
25
percentile, median, average,
th
75
percentile, and maximum retirement amount generated for the range of simulation trials. The red dot on the histogram indicates the average amount.