The standard error of a Monte Carlo sample mean over $N$ independent paths is $\frac{s}{\sqrt{N}}$, where $s$ is the pathwise standard deviation of the target functional. Cutting the sampling error in half therefore requires four times as many paths, and cutting it tenfold requires $100$ times as many.
Sizing a run from a target error
To achieve a $95\%$ confidence interval of half-width $\varepsilon$, choose
$$ N = \Bigl(\frac{1.96\,s}{\varepsilon}\Bigr)^2, $$estimating $s$ from a short pilot run when no analytical bound is known. For terminal geometric Brownian motion $X_1$ with $X_0 = 1$, $\mu = 5\%$, and $\sigma = 20\%$, the exact mean is $e^{0.05} = 1.0513$ and the exact standard deviation is $s = e^{\mu}\sqrt{e^{\sigma^2} - 1} = 0.2116$:
| Paths $N$ | Standard error ($\frac{s}{\sqrt{N}}$) | $95\%$ half-width ($1.96\,\mathrm{SE}$) |
|---|---|---|
| $250$ | $1.34 \times 10^{-2}$ | $2.6 \times 10^{-2}$ |
| $10^3$ | $6.7 \times 10^{-3}$ | $1.3 \times 10^{-2}$ |
| $10^4$ | $2.1 \times 10^{-3}$ | $4.1 \times 10^{-3}$ |
Reaching a half-width of $10^{-3}$ demands $(1.96 \times 0.2116 \times 10^3)^2 \approx 1.72 \times 10^5$ paths—well above interactive demo limits, which is why sizing $N$ beforehand saves wasted runs.


Run this in sItô
Open sItô with this model pre-loaded to inspect the path distribution, summary statistics, and parameter sensitivities—or change any setting and rerun (changing the seed shifts the sample mean by roughly one standard error):
- Open GBM ($250$ paths) in sItô ↗. Sample standard deviation stays near $0.21$ (SE $0.01$), with the mean within $0.04$ of $1.0513$.
- Open GBM ($10^4$ paths) in sItô ↗. Same standard deviation, with the mean within $6 \times 10^{-3}$ of $1.0513$.
When normal intervals break down
The confidence interval $\bar{x} \pm 1.96\,\frac{s}{\sqrt{N}}$ relies on the central limit theorem [1, 2]. Across $2 \times 10^4$ repeated experiments of $250$ paths on this mildly skewed variable, empirical coverage is $95.0\%$. Under heavy tails, finite-sample skewness ruins normal coverage (see The sample mean of a log-normal), and for rare events the relative error—not the absolute half-width—governs sample size (see Estimating small probabilities by Monte Carlo). The underlying simulation pipeline is described in Compiling parametric SDEs into fast Monte Carlo simulations.
Related notes: Monte Carlo error versus discretization error, Variance reduction, How to read a fan chart.