CONTENTS

Geometric Brownian Motion

Motivation: why this matters in quant finance

Open any derivatives textbook, any risk-management report, any quant interview prep guide, and the same stock-price model appears inside the first few pages:

dSt=μStdt+σStdWtdS_t = \mu S_t\,dt + \sigma S_t\,dW_t
This is geometric Brownian motion (GBM). It is the dynamic that Black and Scholes assumed when deriving their option-pricing formula, it is the default diffusion used in almost every closed-form pricing result, and it is the starting point for every Monte Carlo valuation of European options. Even models that deliberately generalise GBM — stochastic volatility, jump diffusions, local volatility — are defined relative to it. You cannot understand quant pricing without understanding this equation.
The reason GBM dominates is not that markets literally follow it. Empirically, log-returns are heavier-tailed than normal, volatility is not constant, and prices do sometimes jump. The reason is tractability combined with correct qualitative behaviour. GBM guarantees three properties a stock-price model must have:
  1. Prices stay positive. Multiplicative dynamics dSt/St=μdt+σdWtdS_t / S_t = \mu\,dt + \sigma\,dW_t never take StS_t below zero, matching the limited-liability structure of equity.
  2. Log-returns are stationary. A 10% move on a $100 stock and a $1000 stock are the same process under GBM — volatility is quoted in percentage terms, not dollars, because that is what GBM treats as the fundamental quantity.
  3. The distribution is log-normal. STS_T has a known closed-form distribution (log-normal), so prices, moments, and quantiles are all computable in closed form without simulation.
The combination of (1), (2), (3) means that European option prices, expected shortfalls, delta hedges, and risk-neutral valuations all have closed-form expressions under GBM. That is a rare gift; every extension pays for its realism with analytical complexity. A student who is fluent in GBM can move on to the richer models; a student who is not will drown in the generalisations.

The informal idea

Start from a random walk for a stock price: at each small time step Δt\Delta t, the price multiplies by a random factor ZZ close to one. This is the multiplicative random walk. Taking logs turns it into an additive random walk in lnSt\ln S_t. As Δt0\Delta t \to 0, Donsker's theorem tells us the log-price converges to a Brownian motion with drift:
lnSt=lnS0+(drift)t+(noise)Wt\ln S_t = \ln S_0 + (\text{drift})\,t + (\text{noise}) \cdot W_t
Exponentiating, the price itself has the form St=S0exp(linear drift+σWt)S_t = S_0 \exp(\text{linear drift} + \sigma W_t), which is geometric Brownian motion. The word "geometric" signals multiplicative structure — equal multiplicative increments ln(St+Δt/St)\ln(S_{t+\Delta t} / S_t) are i.i.d. (in the continuous limit), so the process lives in the same relationship with the stock price as the random walk does to the log-price.

Two knobs control the behaviour:

  • μ\mu is the drift — the expected continuously compounded return per unit time. In the real world, μ\mu is what a stock earns on average (a stock with μ=10%\mu = 10\% grows at roughly 10% annualised).
  • σ\sigma is the volatility — the standard deviation of the log-return per unit of time\sqrt{\text{time}}. Volatility of 20%20\% per year means a daily log-return has standard deviation 20%/2521.26%20\% / \sqrt{252} \approx 1.26\%.
In the risk-neutral world used for pricing, μ\mu is replaced by the risk-free rate rr. The volatility stays the same — Girsanov's theorem shifts the drift but not the diffusion coefficient.

Formal definitions

A geometric Brownian motion with drift μR\mu \in \mathbb{R}, volatility σ>0\sigma > 0, and initial value S0>0S_0 > 0 is the unique solution to the stochastic differential equation:
dSt=μStdt+σStdWt,S0>0dS_t = \mu S_t\,dt + \sigma S_t\,dW_t, \qquad S_0 > 0
where (Wt)t0(W_t)_{t \ge 0} is a standard Brownian motion on a filtered probability space. Equivalently, Xt:=lnStX_t := \ln S_t satisfies:
dXt=(μ12σ2)dt+σdWtdX_t = \left(\mu - \tfrac{1}{2}\sigma^2\right)dt + \sigma\,dW_t
which is an arithmetic Brownian motion (Brownian motion with deterministic drift and constant diffusion). Its closed-form solution is:
St=S0exp ⁣((μ12σ2)t+σWt)\boxed{\,S_t = S_0 \exp\!\left(\left(\mu - \tfrac{1}{2}\sigma^2\right)t + \sigma W_t\right)\,}

This is the most important single equation in derivatives pricing.

Derivation via Itô's lemma

Apply Itô's lemma to f(S)=lnSf(S) = \ln S, so f(S)=1/Sf'(S) = 1/S, f(S)=1/S2f''(S) = -1/S^2:
d(lnSt)=1StdSt+12(1St2)(σSt)2dt=dStSt12σ2dtd(\ln S_t) = \frac{1}{S_t}\,dS_t + \frac{1}{2}\left(-\frac{1}{S_t^2}\right)(\sigma S_t)^2\,dt = \frac{dS_t}{S_t} - \frac{1}{2}\sigma^2\,dt

Substituting dSt/St=μdt+σdWtdS_t / S_t = \mu\,dt + \sigma\,dW_t:

d(lnSt)=(μ12σ2)dt+σdWtd(\ln S_t) = \left(\mu - \tfrac{1}{2}\sigma^2\right)dt + \sigma\,dW_t

Integrating from 00 to tt:

lnStlnS0=(μ12σ2)t+σWt\ln S_t - \ln S_0 = \left(\mu - \tfrac{1}{2}\sigma^2\right)t + \sigma W_t
Exponentiating gives the boxed solution. The appearance of 12σ2-\frac{1}{2}\sigma^2 — absent in ordinary calculus — is the Itô correction. It is the single most-referenced term in quant finance.

Key properties

Distribution of StS_t

Since WtN(0,t)W_t \sim \mathcal{N}(0, t), the log-price is Gaussian:

ln ⁣StS0N ⁣((μ12σ2)t,  σ2t)\ln\!\frac{S_t}{S_0} \sim \mathcal{N}\!\left(\left(\mu - \tfrac{1}{2}\sigma^2\right)t, \; \sigma^2 t\right)
Therefore StS_t is log-normally distributed:
StLogNormal ⁣(lnS0+(μ12σ2)t,  σ2t)S_t \sim \mathrm{LogNormal}\!\left(\ln S_0 + \left(\mu - \tfrac{1}{2}\sigma^2\right)t, \; \sigma^2 t\right)

All moments, quantiles, and density values for StS_t follow from the log-normal distribution.

Moments

Using the log-normal MGF-style identity E[eaZ]=eaμZ+a2σZ2/2\mathbb{E}[e^{aZ}] = e^{a\mu_Z + a^2\sigma_Z^2/2} for ZN(μZ,σZ2)Z \sim \mathcal{N}(\mu_Z, \sigma_Z^2):

E[St]=S0eμt\mathbb{E}[S_t] = S_0 e^{\mu t}
The 12σ2-\frac{1}{2}\sigma^2 in the drift of the log-price is exactly cancelled by the +12σ2+\frac{1}{2}\sigma^2 Jensen bump from exponentiating, leaving a clean expected price of S0eμtS_0 e^{\mu t}. The expected price grows at the drift rate μ\mu; the expected log-price grows at the slower rate μ12σ2\mu - \frac{1}{2}\sigma^2.
Var(St)=S02e2μt(eσ2t1)\operatorname{Var}(S_t) = S_0^2 e^{2\mu t}(e^{\sigma^2 t} - 1)

The variance grows exponentially in both μ\mu and σ2\sigma^2 — a slow but explosive widening of the price distribution.

Median vs mean vs mode

Because the distribution is right-skewed (log-normal), the mean, median, and mode differ. Using log-normal formulas:

Median(St)=S0e(μσ2/2)t,Mean(St)=S0eμt,Mode(St)=S0e(μ3σ2/2)t\text{Median}(S_t) = S_0 e^{(\mu - \sigma^2/2)t}, \quad \text{Mean}(S_t) = S_0 e^{\mu t}, \quad \text{Mode}(S_t) = S_0 e^{(\mu - 3\sigma^2/2)t}
For σt>0\sigma t > 0: Mode < Median < Mean. The typical path (median) grows slower than the expectation because a few lucky paths compound to huge values and pull the mean upward. This gap is the same Jensen effect that defines the 12σ2-\frac{1}{2}\sigma^2 correction, now visible as a statement about paths.

Self-similarity and scaling

Like Brownian motion, GBM has a self-similarity property, but in a multiplicative form. If StS_t is a GBM with parameters (μ,σ)(\mu, \sigma) starting at S0S_0, then Sct/S0S_{ct}/S_0 has the same distribution as (S~t/S0)1/c\left(\tilde{S}_t / S_0\right)^{1/\sqrt{c}} evaluated at suitably rescaled time, where S~\tilde{S} is a GBM with parameters (cμ,cσ)(c\mu, \sqrt{c}\sigma). The key practical consequence: volatility scales as t\sqrt{t}, so annual volatility is daily volatility times 252\sqrt{252}.

Markov and martingale properties

GBM is a Markov process — given StS_t, the future (Su)ut(S_u)_{u \ge t} is independent of the past. This follows from the Markov property of Brownian motion and the fact that StS_t is a function of (S0,t,Wt)(S_0, t, W_t).

The discounted price ertSte^{-rt}S_t is not a martingale under the real-world measure when μr\mu \ne r. Under the risk-neutral measure Q\mathbb{Q}, GBM becomes dSt=rStdt+σStdWtQdS_t = rS_t\,dt + \sigma S_t\,dW_t^{\mathbb{Q}}, and then ertSt=S0exp(σWtQ12σ2t)e^{-rt}S_t = S_0 \exp(\sigma W_t^{\mathbb{Q}} - \frac{1}{2}\sigma^2 t) is exactly the exponential Brownian martingale. This is why Black-Scholes pricing works.

Worked examples

Example 1: Stock-price simulation and closed-form check

Simulate GBM with S0=100S_0 = 100, μ=0.08\mu = 0.08, σ=0.20\sigma = 0.20, T=1T = 1 year. Compare the sample mean of STS_T over NN paths to the theoretical E[ST]=S0eμT=100e0.08108.33\mathbb{E}[S_T] = S_0 e^{\mu T} = 100 e^{0.08} \approx 108.33.

# Python import numpy as np rng = np.random.default_rng(42) S0, mu, sigma, T = 100.0, 0.08, 0.20, 1.0 N = 100_000 Z = rng.standard_normal(N) S_T = S0 * np.exp((mu - 0.5 * sigma**2) * T + sigma * np.sqrt(T) * Z) print(f"Sample mean: {S_T.mean():.4f}") print(f"Theoretical mean: {S0 * np.exp(mu * T):.4f}") print(f"Sample median: {np.median(S_T):.4f}") print(f"Theoretical median: {S0 * np.exp((mu - 0.5 * sigma**2) * T):.4f}") # Sample mean: 108.3412 # Theoretical mean: 108.3287 # Sample median: 106.1873 # Theoretical median: 106.1837

The mean matches to three decimal places, and the median is visibly lower — the 12σ2=0.02-\frac{1}{2}\sigma^2 = -0.02 term in the median's exponent gives a gap of about $2 between mean and median. The skew is mild at σT=0.20\sigma\sqrt{T} = 0.20; it grows rapidly for longer horizons.

Example 2: Full path simulation

To simulate an entire path (not just the terminal value), discretise the exact solution step-by-step:

# Python import numpy as np rng = np.random.default_rng(0) S0, mu, sigma, T = 100.0, 0.08, 0.20, 1.0 n_steps = 252 # one year of trading days dt = T / n_steps n_paths = 5 dW = rng.normal(0, np.sqrt(dt), size=(n_paths, n_steps)) log_increments = (mu - 0.5 * sigma**2) * dt + sigma * dW log_S = np.log(S0) + np.cumsum(log_increments, axis=1) S = np.exp(log_S) # S has shape (n_paths, n_steps); row k is the k-th simulated path. print(f"Path endpoints: {S[:, -1]}") # Path endpoints: [120.5781 112.4203 95.6412 108.8315 94.1289]

Using lnS\ln S as the state variable avoids numerical drift: each increment is a bounded Gaussian in log-space, which is robust. Simulating SS directly via Sn+1=Sn+μSnΔt+σSnΔtZS_{n+1} = S_n + \mu S_n \Delta t + \sigma S_n \sqrt{\Delta t}\,Z (the Euler-Maruyama scheme) introduces discretisation error and, worse, can produce negative values for large Δt\Delta t — both defects disappear when you simulate the log.

Example 3: European call under GBM (Black-Scholes)

The Black-Scholes formula for a European call with strike KK and maturity TT is derived by evaluating erTEQ[(STK)+]e^{-rT}\mathbb{E}^{\mathbb{Q}}[(S_T - K)^+] with STS_T following risk-neutral GBM. The closed form is:

C0=S0Φ(d1)KerTΦ(d2),d1,2=ln(S0/K)+(r±12σ2)TσTC_0 = S_0 \Phi(d_1) - K e^{-rT} \Phi(d_2), \qquad d_{1,2} = \frac{\ln(S_0/K) + (r \pm \tfrac{1}{2}\sigma^2)T}{\sigma\sqrt{T}}

Every term in this formula comes from the log-normality of STS_T under Q\mathbb{Q}: Φ(d2)=Q(ST>K)\Phi(d_2) = \mathbb{Q}(S_T > K) is the exercise probability, and Φ(d1)\Phi(d_1) is the "delta" — the probability-weighted fraction of the spot that hedges the call. Understanding GBM is understanding why Black-Scholes has this particular form.

Example 4: Comparison to Bachelier (arithmetic) dynamics

An older model, Bachelier's (1900), uses arithmetic Brownian motion: dSt=μdt+σdWtdS_t = \mu\,dt + \sigma\,dW_t. This gives StN(S0+μt,σ2t)S_t \sim \mathcal{N}(S_0 + \mu t, \sigma^2 t) — a Gaussian, not log-normal, distribution. Two failures:
  1. StS_t can go negative (bad for stocks; acceptable for some rates or commodity spreads).
  2. The volatility is measured in dollars per time\sqrt{\text{time}}, not in percent — a 10% move on a $10 stock and a $1000 stock are treated as the same magnitude.

GBM fixes both by multiplying drift and diffusion by StS_t. The conversion from arithmetic to geometric dynamics is the single move that made modern derivative pricing possible.

Common confusions and pitfalls

"μ\mu is the expected log-return." No. μ\mu is the drift of the SDE dSt=μStdt+σStdWtdS_t = \mu S_t\,dt + \sigma S_t\,dW_t. The expected log-return over [0,t][0, t] is E[ln(St/S0)]=μ12σ2\mathbb{E}[\ln(S_t / S_0)] = \mu - \tfrac{1}{2}\sigma^2 per unit time — smaller than μ\mu by the Itô correction. Quoting a "drift of 8%" to mean "expected log-return of 8%" is a common bug in coursework and in production code; the correct interpretation is "expected gross return of 8%".
"The median and mean agree at long horizons." They diverge exponentially. At horizon tt: Mean/Median=eσ2t/2\text{Mean}/\text{Median} = e^{\sigma^2 t / 2}. For σ=0.20\sigma = 0.20 and t=30t = 30 years, this ratio is e0.61.82e^{0.6} \approx 1.82 — the mean is 82% above the median. Long-horizon retirement calculations based on expected returns can be misleading because a single "expected" path is not at all what the median investor sees.
"Volatility cancels out over long enough horizons." It does not. The volatility of the log-return shrinks in the annualised sense: σlnSt/S02/t=σ2\sigma_{\ln S_t / S_0}^2 / t = \sigma^2 is constant, so annualised log-return volatility is constant. But the volatility of the price grows (the variance formula above explodes exponentially), and so does the volatility of compounded returns. "Stocks are safe in the long run" is based on a narrow statistic (the sample mean of log-returns) and is not a statement about the distribution of terminal wealth.
"STS_T has mean S0eμTS_0 e^{\mu T} under both P\mathbb{P} and Q\mathbb{Q}." Only under P\mathbb{P}. Under Q\mathbb{Q}, the drift is the risk-free rate rr, not μ\mu, so EQ[ST]=S0erT\mathbb{E}^{\mathbb{Q}}[S_T] = S_0 e^{rT}. The confusion comes from using μ\mu as a universal label for "drift" and forgetting that the label changes meaning when the measure changes. See Girsanov's theorem.
"Euler discretisation is fine for simulating GBM." It is asymptotically correct, but it introduces discretisation bias and can produce negative prices on a single step if σΔt>1\sigma\sqrt{\Delta t} > 1. The exact log-space update Sn+1=Snexp((μ12σ2)Δt+σΔtZ)S_{n+1} = S_n \exp((\mu - \tfrac{1}{2}\sigma^2)\Delta t + \sigma\sqrt{\Delta t}\,Z) has no discretisation error for constant μ,σ\mu, \sigma and is unconditionally positive. Always prefer log-space unless μ\mu or σ\sigma depend on StS_t in a way that breaks the closed form.
"GBM's log-normality matches equity return data." It does not quite. Real log-returns are leptokurtic (fatter tails than Gaussian) and exhibit volatility clustering (absolute returns are autocorrelated). GBM has Gaussian log-returns and constant volatility, so it misses both. Extensions — stochastic volatility (Heston), jump-diffusion (Merton), GARCH — exist precisely because GBM underfits the tails and the time-varying variance of realised return series.

Where this goes next

  • Black-Scholes PDE: The pricing PDE obtained by applying Itô's lemma to a derivative written on a GBM underlying.
  • Girsanov's Theorem: How to move from the real-world drift μ\mu to the risk-neutral drift rr on the same GBM path. Makes option pricing a theorem rather than a model.
  • Stochastic Volatility Models: Replace the constant σ\sigma with a second diffusion process (Heston, SABR). Captures the volatility smile GBM misses.
  • Jump-Diffusion Processes: Add a Poisson-driven jump component to GBM (Merton). Captures sudden price moves GBM cannot produce in continuous paths.
  • Itô's Lemma: The machinery underlying GBM's closed-form solution. Extended to handle multi-factor models, path-dependent derivatives, and the Feynman-Kac PDE representation.
  • Monte Carlo pricing of path-dependent derivatives: When closed forms fail (Asian, barrier, basket options), GBM paths are the simulation engine. The log-space exact-scheme from Example 2 is the standard building block; the full lesson is pending in the curriculum.

References

  • Lawler, G. F. (2023). Stochastic Calculus: An Introduction with Applications. Ch. 3 §3.4 (More versions of Itô's formula), especially the definition and strong solution of geometric Brownian motion; §3.5 (Diffusions).
  • Albin, P., Hamza, K., & Klebaner, F. C. (2025). Problems and Solutions in Stochastic Calculus with Applications. World Scientific. Ch. 4 (Brownian Motion Calculus) and Ch. 5 (Stochastic Differential Equations) — supporting exercise checks.

Exercises

Test your understanding with 3 exercises for this lesson.