Sub topic 3
Volatility: How Much Returns Vary
Prerequisites and the working model
Assume you know basic percentages, averages, stocks, bonds, funds, and how to read a price chart. Volatility measures how widely an investment’s returns vary around their average return. It is often estimated with the standard deviation of returns.
A return is the percentage change in price over a period:
r_t = \frac{P_t}{P_{t-1}} - 1For example, a price rising from $100 to $102 produces a simple return of 2%. A later fall from $102 to $99 produces a return of about -2.94%. The second change is measured from $102, not from the original $100.
Calculating volatility
Given returns \(r1, r2, ..., r_n\), the sample standard deviation is:
s = \sqrt{\frac{\sum_{i=1}^{n}(r_i-\bar r)^2}{n-1}}Here, \(\bar r\) is the average return. Squaring the differences prevents positive and negative deviations from canceling out. A larger standard deviation means returns have varied more in the observed period.
import statistics
prices = [100, 102, 99, 103, 101, 105]
returns = [prices[i] / prices[i - 1] - 1 for i in range(1, len(prices))]
periodic_vol = statistics.stdev(returns)
annual_vol = periodic_vol * (252 ** 0.5) # about 252 trading days per year
print("Returns:", [f"{r:.2%}" for r in returns])
print(f"Annualized volatility: {annual_vol:.1%}")This code uses daily prices and the sample standard deviation. It estimates annual volatility by multiplying daily volatility by the square root of 252, the approximate number of trading days in a year.
Annualization and interpretation
If returns are independent and have a stable distribution, volatility scales approximately with the square root of time:
\sigma_{\text{annual}} \approx \sigma_{\text{daily}}\sqrt{252}The relationship is not linear. You do not multiply daily volatility by 252. Variability grows more slowly because gains and losses partly offset over time.
| Measure | Meaning |
|---|---|
| 20% annualized volatility | A historical variation estimate, not a promise that the investment will stay within 20% of its return |
Annualized volatility does not mean the investment will lose 20% in a year. It describes the typical size of historical fluctuations around the average, under a model. Actual returns can be much larger or smaller.
Common errors and limits
- Calculating volatility from prices instead of percentage returns can make comparisons misleading.
- Mixing daily, monthly, and annual units produces invalid results.
- Annualizing with the square-root rule assumes comparable periods and reasonably stable behavior.
- A short sample can produce an unstable estimate.
- Volatility treats unusually large gains and losses as deviations alike.
- It does not show whether a loss is temporary or permanent.
- It may understate rare extreme events when the data contains few such observations.
The same volatility can describe two investments with very different outcomes. One may fluctuate around a stable value. Another may suffer a large decline caused by fraud, default, or excessive leverage. Use volatility as one measurement, then examine drawdowns, liquidity, concentration, and the possibility of permanent loss.
Exercise
Daily volatility is 1.5%. Using 252 trading days, what is the approximate annualized volatility?
Show answer
About 23.8%, because 1.5% × √252 is approximately 23.8%.