Monte Carlo Simulation of Retirement Savings with Variable Annual Return

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

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, percentile, median, average, percentile, and maximum retirement amount generated for the range of simulation trials. The red dot on the histogram indicates the average amount.


Contributed by: Paul Savory (University of Nebraska-Lincoln) (March 2011)
Open content licensed under CC BY-NC-SA




Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.