Sub topic 2
Volatility and drawdowns: what falling markets look like
This chapter assumes you know what stocks, index funds and bonds are, and that you can work with percentage returns and simple compounding. The Python snippets are short, and you can skip them without losing the argument. The chapter defines two measures of risk, volatility and drawdown. Later chapters rely on both when they ask what it costs to sit out a decline.
Two ways to describe risk
Investors use "risk" for several different things. Two of them are measurable from a price history.
- Volatility is how much returns vary from period to period. It is usually measured as the standard deviation of returns, which is the typical distance of a single return from the average return.
- Drawdown is the fall from a previous peak to a later low, expressed as a percentage of the peak. The maximum drawdown is the largest such fall in a given history.
Volatility describes how bumpy the ride is. Drawdown describes how far you are below your best value at some moment. A portfolio can be bumpy but never fall far, or it can drift down smoothly. In practice, the drawdown is the number investors feel, because it is the loss shown on their statement.
Measuring volatility
Daily volatility is the standard deviation of daily returns. To compare it with yearly figures, analysts annualize it. For independent periods, variance adds up, so volatility scales with the square root of time. With about 252 trading days in a year:
annual volatility ≈ daily volatility × √252 ≈ daily volatility × 15.9
A daily standard deviation of 1% therefore corresponds to roughly 16% a year. Broad stock indexes have historically run at about 15% to 20% a year, with much higher readings in crises.
import math
import statistics
def annualized_volatility(daily_returns, trading_days=252):
return statistics.stdev(daily_returns) * math.sqrt(trading_days)
sample = [0.01, -0.012, 0.004, -0.008, 0.015, -0.002, 0.006, -0.011]
print(round(annualized_volatility(sample), 3))Three limits of this measure matter later.
- Volatility is not constant. Calm and turbulent periods come in clusters. A quiet year says little about the next violent month.
- Volatility treats gains and losses alike. A surge up counts as much as a drop down, even though only drops hurt.
- The annualizing rule assumes independent days. Real returns are not perfectly independent, so treat the result as an approximation.
Why volatility costs more than it seems
Averages hide a penalty called volatility drag. Suppose an investment rises 50% in one year and falls 50% the next. The arithmetic average return is 0%, but the money is not back where it started:
1.00 × 1.5 × 0.5 = 0.75
The investor has lost 25%. The compound (geometric) growth rate is lower than the simple average, and the gap widens as volatility rises. This is why the baseline chapter on compounding multiplies returns instead of averaging them.
Measuring drawdowns
To compute a drawdown, track the highest value seen so far (the running peak) and compare each new value with it. The most negative ratio is the maximum drawdown.
def max_drawdown(values):
peak = values[0]
worst = 0.0
for v in values:
peak = max(peak, v)
worst = min(worst, v / peak - 1)
return worst
print(max_drawdown([100, 120, 90, 110, 130, 104])) # -0.25The series rises to 120 and falls to 90, which is a drop of 25%. It later reaches 130 and falls to 104, a drop of 20%. The maximum drawdown is the larger one, -25%. Note that the function measures from the running peak at each point, so the fall from 130 is measured against 130 and not against the old high of 120.
The arithmetic of recovery
Losses and the gains needed to undo them are not symmetric. A loss shrinks the base on which the recovery must be earned. If a portfolio falls by a fraction d (a negative number), the gain needed to return to the old peak is 1 / (1 + d) - 1.
def recovery_needed(drop):
return 1 / (1 + drop) - 1
for d in (-0.10, -0.25, -0.50):
print(f"{d:.0%} -> {recovery_needed(d):.1%}")
# -10% -> 11.1%
# -25% -> 33.3%
# -50% -> 100.0%| Drawdown | Gain needed to recover |
|---|---|
| -10% | +11.1% |
| -20% | +25.0% |
| -30% | +42.9% |
| -40% | +66.7% |
| -50% | +100.0% |
| -80% | +400.0% |
Shallow declines are easy to recover from. Deep ones need much larger gains, and large gains take time. This is the main reason that very large losses are costly, and also the reason that falling markets feel so threatening.
The shape of a drawdown
A drawdown has a depth and a duration. Depth is how far the value falls. Duration has two parts: the time from the peak to the trough (the lowest point), and the time from the trough back to the old peak. The whole period below the old peak is sometimes called an "underwater" period.
The path from recovery back to decline is real. Many bear markets include sharp rallies that fail. The trough is only known in hindsight, which matters for timing and is picked up again in the chapter on forecasting.
What falling markets have looked like
The figures below are approximate peak-to-trough declines in the US S&P 500 price index. Treat them as orders of magnitude, not exact data, and check a reliable source before quoting them.
| Episode | Approximate decline | Approximate character |
|---|---|---|
| 2000 to 2002 (dot-com bust) | about -49% | Slow, roughly two and a half years down |
| 2007 to 2009 (financial crisis) | about -57% | Roughly seventeen months down, years to recover |
| February to March 2020 (pandemic) | about -34% | About a month down, a new high within about five months |
| 2022 (inflation and rate rises) | about -25% | Most of a year, recovered over the following years |
Two points stand out. First, drawdowns of 10% or more happen often, while deep ones of 30% or more are rare but do occur within a lifetime of investing. Second, they differ widely in speed. The 2020 decline was the fastest on record and its recovery was quick. The 2000 to 2002 and 2007 to 2009 declines took years to recover on a price basis. Dividends shorten recovery time somewhat, so total-return figures look better than price-only figures.
Volatility is highest when prices are lowest
Volatility tends to rise during falling markets and fall during rising ones. Large daily moves, both down and up, cluster inside the worst periods. This clustering has a direct consequence for timing. The turbulent weeks in which an investor most wants to get out are also the weeks that contain some of the largest rebounds. The chapter on concentration of returns develops this point. For now, remember that a high-volatility market does not move in one direction. It moves in both.
Volatility is not the same as permanent loss
A drawdown on a diversified index is a temporary loss if the index later recovers. It becomes permanent only if the investor sells at the low, or if the holding itself fails. A single company can go to zero. A broad index of hundreds of companies has so far recovered each time, though that history is a record and not a guarantee, and the recovery time has varied from months to many years. The investor's horizon decides whether a given drawdown is an inconvenience or a real problem. That link is explored in the chapter on sequence risk and horizon.
Putting the measures to use
- Use volatility to compare how rough the ride is across different assets, such as stocks and bonds.
- Use maximum drawdown to ask a more personal question: "If my portfolio fell this far, would I stay invested?"
- Use the recovery table to see why large losses weigh more than their size suggests.
- Look at duration as well as depth, because a 30% fall that lasts two years is different from one that lasts five.
Exercise
A portfolio rises from 150 to a peak of 200, falls to 130, then recovers to 170. What is its maximum drawdown, and what gain from the trough of 130 is needed to return to the old peak of 200?
Show answer
The maximum drawdown is 130 / 200 - 1 = -0.35, or -35%. The gain needed from 130 to reach 200 is 200 / 130 - 1, which is about 0.538, or roughly +53.8%. The recovery to 170 is only part of the way back, so the portfolio is still about 15% below its peak (170 / 200 - 1 = -0.15).
Exercise
An investment returns +20% in year one and -20% in year two. The simple average return is 0%. What is the ending value of 1 unit of money, and why is it not 1.00?
Show answer
The ending value is 1.00 × 1.2 × 0.8 = 0.96. A 20% loss is applied to a larger base after the gain, so the loss in currency is larger than the gain. This is volatility drag: compounded growth is lower than the simple average whenever returns vary.