Skip to content
All simulations

Monte Carlo lab

Simulate thousands of futures for a portfolio and watch the distribution of outcomes form.

$10,000
$0
7.0%
18%

Broad stock market: about 15–20%. A single stock: often 30% or more.

20
Simulated futures
Median outcome$29.4K
Expected value (mean)$41.1K
Bad case (5th percentile)$6.8K
Chance of ending below what you put in9.9%
Median Middle 50% Middle 90% Total put in

Where the 1,000 futures end up

The future here is a cloud of possibilities, not one line. Across 1,000 simulated futures, the middle 90% end between $6,836 and $117,505, and 9.9% finish below the $10,000 you put in. The mean ($41,073) sits above the median ($29,370) because a few runaway winners pull the average up: the typical future is worse than the average one.

Try this

  • Run 100 futures, then 5,000. The individual paths stay messy, but does the shape of the distribution settle down?
  • Raise volatility while keeping the return fixed. Watch the median fall away from the mean.
  • Switch between 5 and 30 years. Time stretches outcomes apart, and risk decides how far.
  • Press run new futures a few times. Does any single path ever land exactly on the expected value?

The math

St+Δt=St e(μ−12σ2)Δt  +  σΔt ZS_{t+\Delta t} = S_t \, e^{\left(\mu - \frac{1}{2}\sigma^2\right)\Delta t \;+\; \sigma\sqrt{\Delta t}\,Z}
StS_t
portfolio value at time t
μ\mu
expected annual return
σ\sigma
annual volatility
Δt\Delta t
one month, as a fraction of a year
ZZ
a fresh random draw from the standard normal, every step