Sub topic 10
Diversification: reducing the chance that one failure matters
This chapter assumes you know how volatility and drawdowns are measured and the difference between a temporary decline and a permanent loss of capital. It also assumes you know the main causes of permanent loss: business failure, fraud, leverage, overpaying, and forced selling.
What diversification does
Diversification means spreading money across holdings that do not all fail for the same reason. Its goal is narrow. It makes it less likely that any single failure, such as a bankrupt company, a collapsed sector, or a fraud, does lasting damage to the whole portfolio.
It does not remove risk. It does not raise expected return. It cannot protect you from a decline that hits every holding at once. A portfolio of 500 stocks still falls in a market-wide crash.
Two kinds of risk
Economists split the risk of a holding into two parts.
- Idiosyncratic risk is specific to one company or asset: a failed product, an accounting scandal, a lost lawsuit. Holding many assets averages these events out.
- Systematic risk (also called market risk) affects nearly everything: recessions, interest rate shocks, panics. Holding more of the same market does not reduce it.
Idiosyncratic risk matters most for permanent loss. A stock can go to zero, but a broad market index has never done so. Diversification mainly turns "this company could wipe out my savings" into "this company could cost me a small slice."
How the math works
The volatility of a portfolio depends on each holding's volatility and on how the holdings move together. This is measured by correlation, a number from -1 to +1. At +1 two assets move in lockstep. At 0 they are unrelated.
For the simple case of n equally weighted holdings, each with volatility σ and the same pairwise correlation ρ, portfolio volatility is:
σ_p = σ × √(1/n + (1 − 1/n) × ρ)
def portfolio_vol(sigma, rho, n):
"""Volatility of n equal-weight holdings with equal volatility and pairwise correlation."""
return sigma * (1 / n + (1 - 1 / n) * rho) ** 0.5
for n in (1, 5, 20, 100, 1000):
print(f"{n:>5} holdings: {portfolio_vol(0.30, 0.30, n):.1%}")With σ = 30% and ρ = 0.3, volatility falls from 30% for one stock to about 20% for five, about 17% for twenty, and about 16.5% for a thousand. Most of the benefit arrives early. The floor is σ × √ρ, about 16.4% here. That floor is the systematic part, and no number of extra holdings removes it.
Correlation is not constant
The formula uses one fixed ρ. In real markets, correlations rise in sharp sell-offs, because many investors sell everything at once to raise cash or cut risk. If ρ rises to 0.8, twenty holdings give 0.30 × √(0.05 + 0.95 × 0.8) = 27%, almost the volatility of a single stock.
For this reason, judge diversification by what happens in the worst periods, not by average correlations. Look at how each holding behaved in past drawdowns, using the maximum drawdown calculation from earlier in this tutorial.
Diversification and failure risk
Volatility is one view. Permanent loss from failure is another, and diversification works differently there. Suppose each holding independently has a 2% yearly chance of going to zero. The next code shows what changes as you add holdings.
p_fail = 0.02 # assumed independent yearly chance that any one holding goes to zero
for n in (1, 5, 20, 100):
chance_any = 1 - (1 - p_fail) ** n
loss_each = 1 / n
print(f"{n:>3} holdings: chance at least one fails {chance_any:.0%}, "
f"loss per failure {loss_each:.0%} of portfolio")The output shows a counterintuitive result. The chance that at least one holding fails rises, from 2% with one holding to about 87% with 100. The damage per failure falls, from 100% of the portfolio to 1%. The expected loss from failures is the same in every case, 2% of the portfolio per year on average. Diversification does not shrink the average. It narrows the spread of outcomes and removes the case where one failure ends your plan.
This is why diversification protects against the permanent-loss causes in the previous chapter. It limits damage from business failure and fraud, and it limits the harm from overpaying for one stock. It does not help with leverage or forced selling directly, which are covered under position sizing and time horizon.
Levels of diversification
Owning many tickers is not the same as being diversified. Think in layers.
| Layer | What it spreads | Example failure it protects against |
|---|---|---|
| Holdings | Money across many securities | One company goes bankrupt |
| Sectors and industries | Exposure across business types | A regulation change hits all banks |
| Geography and currency | Exposure across countries | One country's recession or currency fall |
| Asset classes | Stocks, bonds, cash, real assets | A stock market crash |
| Time | Buying at many dates | Investing everything at a peak |
Each layer has limits. Stocks in different countries are more correlated than they used to be. Bonds and stocks have fallen together in some years, such as 2022, when rising interest rates hurt both.
Common errors
- Counting funds instead of exposures. Three funds that each hold the same large technology companies are one bet, not three. Check what the funds actually hold.
- Hidden concentration. A market-cap-weighted index gives the largest companies the biggest weights. If a few firms make up a large share of the index, the index itself is more concentrated than it looks.
- Concentration in your own life. Your job, your home, and your employer's stock may all depend on the same industry or region. A portfolio heavy in your employer's shares puts both paycheck and savings at risk from one failure.
- Over-diversifying. Past a point, extra holdings add cost and complexity but almost no risk reduction, as the first code example shows. Investors sometimes call this "diworsification." Holding many active funds that together mimic the index, while charging higher fees, is a typical case.
- Confusing diversification with safety. A diversified portfolio of risky assets is still risky. It can still have a 50% drawdown.
Diversification and position size
Diversification and position sizing work together. A diversified portfolio of 20 stocks where one position is 60% of the total is not really diversified. The effective number of holdings depends on the weights. A quick check is to divide 1 by the sum of the squared weights. Equal weights across 20 holdings give 20. A 60% position plus 19 small ones gives far fewer.
Diversification also does nothing for borrowed money. With leverage, a market-wide fall can force a sale or wipe out the account, however many holdings you own. Position sizing and leverage are the next controls to apply after spreading your money.
Choosing how much
There is no single right level. Reasonable decision criteria:
- Can you evaluate individual companies? If not, broad funds give diversification at low cost without needing that skill.
- How bad is the worst single failure? Size each position so that its total loss would be survivable for your plan.
- What are your costs and taxes? Each extra holding may add fees, trading costs, or tax events.
- What does your whole financial life depend on? Count your income, property, and business interests when judging concentration.
Exercise
A portfolio holds 10 equally weighted stocks, each with a 3% independent yearly chance of going to zero. (a) What is the chance that at least one fails in a year? (b) If one fails, what fraction of the portfolio is lost? (c) If those same stocks all fell together in a market crash, would the 10-stock structure have helped?
Show answer
(a) 1 − 0.97^10 ≈ 1 − 0.737 = about 26%. (b) 1/10 = 10% of the portfolio. (c) Little. A crash is systematic risk and affects all holdings at once, because their correlation rises toward 1. Diversification limits the damage from individual failures, not from market-wide declines.