Sub topic 6
What a bear market is
This chapter assumes you know what a stock market index is and can compute percentage changes. You should also have read the earlier chapters on drawdown and recovery math, and on corrections. The Python examples are optional but short.
The working definition
A bear market is a sustained decline of roughly 20% or more in a broad market index, measured from its most recent peak. Most commentators use a closing-price high for the S&P 500, the Dow, or a similar index. A 20% fall from that peak puts the market in "bear market territory".
The definition has three parts:
- A broad index. One stock or one sector can fall 40% without a bear market. The label applies to the market as a whole.
- A peak. The fall is measured from the highest close before the decline, not from today's price or last year's average.
- A threshold. The 20% figure is a convention. No regulator or index provider sets it, and nothing in the market changes when it is crossed.
Bear markets are the deeper, longer end of a range. Declines under 10% are ordinary pullbacks, declines of 10% to under 20% are corrections, and declines of 20% or more are bear markets. A correction can turn into a bear market, but most corrections end before reaching 20%.
Measuring a bear market
A bear market is a drawdown, so you measure it with the drawdown function you already know:
def max_drawdown(prices):
"""Return the largest peak-to-trough decline as a negative fraction."""
peak = prices[0]
worst = 0.0
for price in prices:
peak = max(peak, price)
worst = min(worst, price / peak - 1)
return worst
prices = [100, 110, 105, 95, 86, 80, 85, 92, 98, 105, 120, 115]
print(f"{max_drawdown(prices):.1%}") # -27.3%The series falls from 110 to 80, which is a 27.3% drawdown and beyond the 20% line. Depth is only part of the picture. You also care about when the decline started, when it bottomed, and when the market regained its old peak.
Dating a bear market
Analysts date a bear market from the peak, not from the day the market crosses -20%. By the time the label applies, the market has already fallen 20%. The state machine below shows this. It starts an episode at the peak once the fall reaches 20%. It ends the episode when the index rises 20% from its trough, which is the common convention for the start of a new bull market.
def find_bear_markets(prices, fall=0.20, rise=0.20):
"""Return (peak_index, trough_index, drawdown, finished) for each bear market."""
peak_i = 0
trough_i = 0
in_bear = False
episodes = []
for i, p in enumerate(prices):
if not in_bear:
if p > prices[peak_i]:
peak_i = i
elif p / prices[peak_i] - 1 <= -fall:
in_bear = True
trough_i = i
else:
if p < prices[trough_i]:
trough_i = i
elif p / prices[trough_i] - 1 >= rise:
episodes.append((peak_i, trough_i,
prices[trough_i] / prices[peak_i] - 1, True))
in_bear = False
peak_i = i
if in_bear:
episodes.append((peak_i, trough_i,
prices[trough_i] / prices[peak_i] - 1, False))
return episodes
prices = [100, 110, 105, 95, 86, 80, 85, 92, 98, 105, 120, 115]
for peak_i, trough_i, dd, finished in find_bear_markets(prices):
status = "ended" if finished else "ongoing"
print(f"peak at {peak_i} ({prices[peak_i]}), trough at {trough_i} "
f"({prices[trough_i]}), {dd:.1%}, {status}")The output is peak at 1 (110), trough at 5 (80), -27.3%, ended. The decline crossed -20% at index 4, where the price was 86. The bear market is dated from index 1, and the trough at index 5 is only known to be the trough after the rebound.
This hindsight problem is the main reason bear markets are hard to act on. At index 4 you cannot tell whether the market is about to fall further, bounce, or crash.
The recovery math
Losses are asymmetric. After a fall, the gain needed to return to the old peak is larger than the fall itself:
def gain_to_recover(drawdown):
"""Gain needed to return to the prior peak after a decline (drawdown is negative)."""
return 1 / (1 + drawdown) - 1
for d in (-0.20, -0.273, -0.50, -0.57):
print(f"after {d:.1%} loss, need {gain_to_recover(d):.1%} gain")A 20% fall needs a 25% gain, and a 50% fall needs a 100% gain. A 57% fall needs about 133%. This is why deeper bear markets take disproportionately long to recover from, even when the rebound is fast.
A rough record of recent bear markets
The table gives approximate S&P 500 figures, using closing prices. Exact dates and percentages vary slightly by source and by whether you use price or total return.
| Bear market | Approximate decline | Approximate length (peak to trough) | Context |
|---|---|---|---|
| 2000–2002 | about -49% | about 2.5 years | Technology valuations collapse, followed by a mild recession |
| 2007–2009 | about -57% | about 17 months | Housing and banking crisis, severe recession |
| 2020 | about -34% | about 1 month | Pandemic shutdowns, followed by rapid policy support |
| 2022 | about -25% | about 9 months | Inflation and sharply rising interest rates |
Two points stand out. The depth ranges widely, and the length is even less predictable. The 2020 episode met the 20% threshold in about a month, which is the fastest on record. Earlier episodes such as 1929–1932, when US stocks lost close to 90% over about three years, were far deeper. Seeing a few past cases does not tell you how the next one will behave.
Bear markets and the economy
Many bear markets accompany recessions, because falling profits and weak spending lower what investors will pay for stocks. The link is loose, though:
- Stocks tend to fall before a recession is visible in the data. Markets price expected conditions, not current ones.
- Some bear markets occur without a recession. The 1987 crash was a fall of about a third in a few months and was followed by no recession.
- A recession can end while stocks are still at their lows, or stocks can rebound well before the economy does.
Common contributors, which vary by episode, include:
- Falling earnings or earnings forecasts.
- Rising interest rates, which lower the present value of future profits and make bonds more competitive.
- Overvaluation, where prices rose well beyond what earnings supported.
- Financial stress, such as bank failures or credit freezes.
- Shocks that interrupt economic activity, such as wars or pandemics.
The common finding is that no single cause explains all of them. Most involve several forces at once, and the dominant one is often clear only afterward.
Cyclical and secular bear markets
Analysts sometimes separate two kinds:
- Cyclical bear markets are the ones in the table above. They last months to a few years and sit inside a longer uptrend.
- Secular bear markets are long periods, often a decade or more, in which an index goes nowhere or loses ground overall. They contain smaller rallies and declines inside them. The US market from 2000 to about 2013, measured by price, is a frequently cited example.
The terms are informal, and different analysts draw the boundaries differently. They are useful mainly as a reminder that "the market is down" can mean very different time horizons.
Rallies inside bear markets
Bear markets rarely fall in a straight line. They often contain sharp rebounds, sometimes called bear market rallies, and these can reach 10% or 20% by themselves. The rebounds are a source of two common errors:
- Calling the bottom too early. A strong week or month feels like a recovery, then prices make new lows.
- Missing the real turn. The strongest gains often come early, while the news is still bad, so investors who wait for clear evidence of recovery miss much of the rebound.
Both are examples of the dating problem. A 20% rise from a low is the usual marker for a new bull market, but the code above shows that this rule is only confirmed after the rebound has happened.
Edge cases and common errors
- Intraday versus closing prices. An index can fall 20% from its peak during a trading day without closing there. Most sources require a close, so counts differ.
- Price versus total return. Total return includes dividends, so its drawdowns are slightly smaller than price-only drawdowns. The same episode can cross 20% on one measure and not on the other.
- Choice of index. The S&P 500, the Nasdaq, and a small-company index can have different peaks and different depths. One can be in a bear market while another is not.
- Starting at the wrong peak. If you measure from a point lower than the true high, the decline looks milder.
- Treating 20% as a cliff. A 19% fall and a 21% fall are almost identical in experience, but only one earns the label. Do not make large decisions on the label alone.
- Nominal versus real. A decline during high inflation hurts purchasing power more than the nominal figure shows.
What this means for a long-term investor
A bear market is a normal if unpleasant part of owning stocks. Historically the major US indexes have eventually recovered from every bear market, but the time to do so ranged from months to many years, and past recoveries do not guarantee future ones. The later chapters on behavior and strategy cover how allocation, diversification, rebalancing, and regular investing relate to these declines.
Exercise
An index peaks at 4,000, falls to 3,100, rebounds to 3,500, then falls to 2,800 before rising again. (a) What is the maximum drawdown, and does it qualify as a bear market? (b) What gain from 2,800 is needed to regain the peak? (c) On what date, in terms of the prices, would the 20% convention first label it a bear market, and from what point is the bear market dated?
Show answer
(a) The worst point is 2,800 against the peak of 4,000, so the drawdown is 2,800 / 4,000 - 1 = -30%. That is beyond -20%, so it qualifies. (b) The gain needed is 4,000 / 2,800 - 1, which is about 42.9%. (c) The index first reaches -20% when it closes at 3,200 (4,000 x 0.8), which happens on the first fall, on the way down to 3,100. The bear market is dated from the 4,000 peak, not from the 3,200 close. The rebound to 3,500 is a rally inside the bear market, not a new bull market, because it is only a gain of about 12.9% from the 3,100 low, below the 20% needed.