Skip to main content
Geometric Brownian motion (GBM) is the standard model for strictly positive, compounding quantities — asset prices, populations, anything that grows multiplicatively. Its log grows as a drifting random walk, so the level is log-normal and never goes negative.
The model dSt=μStdt+σStdWtdS_t = \mu\,S_t\,dt + \sigma\,S_t\,dW_t Returns are proportional to the current level: drift (mu) sets the exponential growth rate and volatility (sigma) the multiplicative noise. This is the process behind Black-Scholes option pricing.

1. Drift

drift is the exponential growth rate. The seed is shared, so the three paths have identical noise and differ only in trend direction.

2. Volatility

volatility scales the multiplicative noise. Because the process is multiplicative, the spread grows with the level rather than staying constant.

3. Multiple paths

Generate 5 independent GBM paths in one call.
Related generators Drift and volatility parameters are in the generator reference.