Quant Terminal
A2-02A2·intro·~16 min

Volatility — the standard deviation of returns

statisticsvolatilitystd-devvol-clustering

▸ Pretest — guess, even if you don't know

If SPY's daily volatility is 1% and you (correctly) assume independence across days, what's its monthly volatility (~21 trading days)?

What volatility is

In finance, volatility is the standard deviation of returns — the spread number σ\sigma from A1-04, applied to a return series. It's almost always quoted annualized (converted to a per-year figure). Some flavors you'll encounter:

For Phase 1 we mostly mean historical.

The sample standard deviation of returns is:

σ^=1N1t=1N(rtrˉ)2\hat{\sigma} = \sqrt{\frac{1}{N-1} \sum_{t=1}^{N} (r_t - \bar{r})^2}

In words: "sigma-hat" (our estimate of σ\sigma) is the square root of the average squared deviation. Recipe: take each return rtr_t, subtract "r-bar" — the sample average from A2-01 — to get that day's deviation. Square it. Sum the squares over all NN days. Divide by N1N - 1. Take the square root.

Concrete: for returns +1% and −1%, the average is 0, the squared deviations are 0.0001 each, their sum is 0.0002, dividing by N1=1N - 1 = 1 gives 0.0002, and the square root is about 1.41%.

Why divide by N1N-1 instead of NN? This is Bessel's correction. We measured deviations from the sample mean — a number computed from the same data — which makes the raw deviations slightly too small on average. Dividing by the smaller N1N-1 compensates. It makes the sample variance unbiased (the standard deviation itself remains slightly biased, but the correction helps).

Annualization

If daily returns are approximately independent — no day influencing another — with daily standard deviation σd\sigma_d (read "sigma sub d," the daily sigma), then:

σannual=σdT\sigma_{\text{annual}} = \sigma_d \cdot \sqrt{T}

In words: annual volatility equals daily volatility times the square root of TT, where TT is the number of trading days per year (252 for US equities, sometimes 252 or 250 for other markets).

For SPY: daily σ\sigma around 1% → annual σ\sigma around 16%. Memorize the multiplier 25215.87\sqrt{252} \approx 15.87.

Why volatility is easier to estimate than the mean

In A2-01 we said estimating the mean from a small sample is essentially hopeless. Volatility is the opposite — it's estimable from short samples.

Why? Not because variance is intrinsically easier. The reason is a scale mismatch — the two quantities being estimated are wildly different sizes. At daily frequency, volatility (~1%) is roughly 30× larger than the mean (~0.03%). Both estimators shrink their error as N\sqrt{N}. But the mean estimate has to resolve a tiny signal buried under a much larger noise term. The volatility estimate is measuring the noise term itself.

Concretely, for (approximately) normal returns:

So for a 1-year sample of daily returns (N=252N = 252, daily σ=1%\sigma = 1\%, daily mean ≈ 0.03%):

(One caveat cuts the other way: fat tails — extreme days being more common than the bell curve predicts — make variance estimates noisier than the normal-theory formula suggests. The asymmetry survives. But it's the σ ≫ μ scale gap doing the work — the symbol \gg reads "much greater than" — not any magic of squared deviations.)

This asymmetry is enormous for trading. It means:

This is why disciplined quants focus relentlessly on risk: it's the part of strategy performance we can measure honestly.

The dark side: volatility isn't constant

Empirically, daily stock-return volatility:

A constant-vol assumption (which the basic formulas above implicitly make) underestimates risk during stress periods. More sophisticated models capture the clustering — GARCH, and EWMA (exponentially weighted moving average, which counts recent observations more heavily than old ones). We'll meet them in the time series track.

For now: when you compute "the volatility" of an asset over a single window, you're computing an average across regimes. The vol you'll face going forward could be much higher or lower than the historical average.

A useful intuition: vol scales with T\sqrt{T}, returns scale with TT

Expected return scales linearly with time: E[rT]=TE[r1]E[r_T] = T \cdot E[r_1]. In words: the expected return over TT days is just TT times the expected one-day return — it stacks up in a straight line. Concrete: 0.03% per day × 252 days ≈ 7.6% per year.

Volatility scales with the square root: σT=Tσ1\sigma_T = \sqrt{T} \cdot \sigma_1 — the TT-day sigma is the one-day sigma times root-TT, as in the annualization rule above.

So as TT grows, the signal-to-noise ratio — expected return divided by volatility, i.e. how loud the signal is relative to the random wiggle — improves as T\sqrt{T}:

E[rT]σT=TE[r1]σ1\frac{E[r_T]}{\sigma_T} = \sqrt{T} \cdot \frac{E[r_1]}{\sigma_1}

In words: the TT-day ratio of expected return to volatility equals the one-day ratio times the square root of TT. The linear-growth numerator outruns the square-root-growth denominator.

This is why time itself is one of the biggest sources of edge in investing. Over a single day, returns are dominated by noise. Over 30 years, returns are dominated by expected return. The whole institutional-investing playbook (buy-and-hold equity, harvest the equity risk premium — the extra return stocks pay over safe assets — over decades) is just exploiting this fact.

It's also why intraday strategies are so much harder — your signal-to-noise is in the worst part of the curve.

Try it

Write the annualization yourself — this two-liner is one you'll type for the rest of the curriculum:

▮ EXERCISE · a2-02-ex1

Implement annualize_vol(daily_returns): the sample standard deviation (with Bessel's correction, ddof=1) of the daily returns, scaled by sqrt(252).

⧉ Review card
How do you annualize daily volatility for US equities?
Multiply by √252 ≈ 15.87. So daily vol of 1% → annual vol of ~16%. Assumes independence across days.
⧉ Review card
Why is volatility estimable from short samples while the mean isn't?
Scale mismatch: daily volatility (~1%) is ~30× the daily mean (~0.03%). Both SEs shrink as √N, but the vol estimate has small RELATIVE error (SE ~σ/√(2N) on a large quantity) while the mean estimate's SE (~σ/√N) exceeds the mean itself for any short sample.
⧉ Review card
What is volatility clustering?
Empirical fact: high-volatility days cluster together, as do low-volatility days. Standard normal-iid models miss this; GARCH-family models capture it.
⧉ Review card
Why does time horizon help investors?
Mean scales linearly (T), volatility scales as √T. Signal-to-noise grows as √T. Over decades, returns dominate noise; over days, noise dominates returns.

Explain it back

Without scrolling up, write 2 sentences: why is volatility easier to estimate than the mean, and why does this matter for trading?

◈ Calibration check

Could you compute and annualize a sample standard deviation from a return series?

1 = guessing · 5 = could teach it

⏻ End of lesson

Mark it read to book its 4 review cards into your deck.

Sources & further reading