Monte Carlo Simulation

What happens when we stop trying to predict one future and instead simulate thousands of possible futures? Monte Carlo simulation turns randomness into a powerful tool for understanding uncertainty.

01. What Is Monte Carlo Simulation?

Imagine trying to answer a question about the future: how much might an investment be worth in 20 years?

There is no single answer because investment returns are uncertain. Instead of pretending that we know exactly what will happen, we can generate thousands of plausible sequences of returns.

Each sequence represents one possible future. We then look at the distribution of all the outcomes.

One future → thousands of possible futures
The key idea:

Monte Carlo simulation does not predict the future. It generates many plausible futures and examines the distribution of outcomes.

02. The Idea of Random Trials

Before looking at investments, consider something much simpler: rolling a fair six-sided die.

In theory, each number has a probability of 1/6. But if we roll the die only a few times, the results can look very uneven.

As the number of rolls increases, the observed frequencies tend to move closer to the theoretical probabilities.

1,000
This is an important Monte Carlo principle:

Randomness can look chaotic in a small sample. Repeated trials allow the underlying probabilities to become visible.

03. Estimating π With Random Numbers

One of the most famous Monte Carlo experiments estimates the value of π using random points.

Imagine a square containing a quarter of a circle. Random points are thrown into the square. Some land inside the quarter circle and some outside it.

The proportion of points inside the circle can be used to estimate π.

π ≈ 4 × points inside circle ÷ total points
1,000
Estimated value of π
3.1416
Notice what happens:

With only a small number of points the estimate can be quite poor. As the number of random trials grows, the estimate generally becomes more stable.

04. Simulating an Investment

Now we can apply the same idea to financial markets.

Suppose an investment starts at €100,000. Instead of assuming that it earns exactly the same return every year, we generate a random return for each year.

A simplified model can describe returns using an expected return and a measure of volatility.

Annual return = expected return + random variation

This is deliberately simplified. Real financial return distributions are more complicated, which we will explore later.

7.0%
15%
20 years
One path is not a prediction.

The path above is simply one possible sequence of returns. Run it again and you will get a different future.

This is where Monte Carlo becomes useful: rather than looking at one path, we can generate thousands.

05. Run Your Own Monte Carlo Simulation

Now generate thousands of possible investment futures. Each simulation starts with the same initial investment, but receives a different sequence of random annual returns.

7.0%
15%
20 years
5,000
Ready to run 5,000 simulated futures.
10th percentile
25th percentile
Median
75th percentile
90th percentile
Number of simulated futures

06. The Distribution of Outcomes

After thousands of simulations, we no longer have one answer. We have a distribution of possible final values.

This distribution tells us much more than a single forecast. We can see relatively poor outcomes, typical outcomes, and unusually strong outcomes.

Think of this as a map of uncertainty.

The middle of the distribution represents more typical outcomes. The tails represent less common but potentially important outcomes.

07. The Fan Chart

We can go one step further. Instead of looking only at the final value, we can examine how the distribution of possible wealth evolves over time.

The chart below shows several percentiles at every point during the investment period.

The widening fan is important.

The further we look into the future, the greater the range of possible outcomes becomes. Uncertainty compounds over time.

08. Probability of Reaching a Target

One of the most useful features of Monte Carlo simulation is that we can ask probability questions.

For example: what proportion of the simulated futures finish above a particular target?

Probability of reaching the target

Run the Monte Carlo simulation first.

This is where Monte Carlo becomes especially powerful.

Instead of asking "What will my investment be worth?", we can ask questions such as:

"What is the probability that it will be worth at least €200,000?"

09. Why Thousands of Simulations?

A Monte Carlo estimate itself is uncertain. If we run only a small number of simulations, the result can move around significantly from one run to another.

Increasing the number of simulations generally makes the estimated probabilities and percentiles more stable.

Monte Carlo error ∝ 1 ÷ √n

This means that increasing the number of simulations improves precision, but with diminishing returns.

100 simulations

Results can be noticeably affected by random noise.

1,000 simulations

Estimates become considerably more stable.

10,000 simulations

The distribution is usually much more clearly defined.

More is not always better

Once results are sufficiently stable, additional simulations provide progressively smaller improvements.

This connects directly to the Central Limit Theorem.

We have moved from random observations, to samples, to distributions of sample statistics, and now to thousands of simulated futures.

10. From Simple Monte Carlo to Real Financial Models

The model used on this page is deliberately simple. It assumes that returns can be represented using a stable distribution with constant volatility.

Real financial markets are more complicated.

Fat tails

Extreme market movements can occur more frequently than a Normal distribution suggests.

Skewness

Financial return distributions are not always symmetrical around their centre.

Changing volatility

Market volatility tends to change over time rather than remaining constant.

Regime switching

Markets can move between different environments, such as calm, stressed and highly volatile periods.

This is the bridge from mathematical simulation to financial modelling.

More realistic Monte Carlo models can incorporate Student-t distributions, skew-t distributions, GARCH volatility models and Markov regime switching.

11. The Next Step: Financial Return Distributions

We have now built the basic machinery of Monte Carlo:

Randomness → Simulation → Distribution of Outcomes

The next question is one of the most important in financial modelling:

What should the random returns actually look like?

The Normal distribution is a useful starting point, but financial returns often display characteristics that the Normal model cannot capture.

Continue to Financial Return Distributions →
← Back to Random Sampling