Sub topic 5
Across companies: how many stocks are enough
This chapter assumes you know what stocks, funds, and ETFs are, and that you are comfortable with percentage returns and simple averages. It also assumes you accept that higher expected return usually comes with higher risk. From earlier chapters you should recall two ideas. Idiosyncratic risk is the risk tied to one company. Systematic risk is the risk shared by the whole market. Correlation measures how closely two holdings move together.
The question here is practical. If you pick individual stocks, how many do you need before adding another one stops helping much?
The idea in one paragraph
Each stock carries risk that belongs only to that company, such as a failed product, a fraud case, or a lost lawsuit. When you hold a few stocks, one bad event can hurt you a lot. When you hold many, each event is a small slice of the total, and good and bad surprises tend to offset each other. Idiosyncratic risk therefore shrinks quickly as you add names. Systematic risk does not shrink. It sets a floor that no number of stocks can break through.
The formula behind the curve
For an equal-weight portfolio of n stocks, assume every stock has the same volatility (sigma) and every pair has the same average correlation (rho). Portfolio variance is then:
variance = sigma² × (1/n + (1 − 1/n) × rho)
The two terms have different jobs:
- The 1/n term is the idiosyncratic part. It shrinks toward zero as n grows.
- The (1 − 1/n) × rho term is the shared part. It approaches rho and stays there.
As n becomes very large, volatility approaches sigma × sqrt(rho). That value is the floor.
import math
def equal_weight_vol(n, sigma, avg_rho):
variance = sigma ** 2 * (1 / n + (1 - 1 / n) * avg_rho)
return math.sqrt(variance)
for n in (1, 5, 20, 100, 1000):
print(n, round(equal_weight_vol(n, 0.30, 0.30), 4))
# Volatility falls quickly at first, then levels off near 0.30 * sqrt(0.30), about 0.1643.Running this prints roughly 0.30 for one stock, 0.19 for five, 0.17 for twenty, and about 0.165 for 100 and 1000 stocks. The floor is 0.30 × sqrt(0.30), about 0.1643.
Going from 1 to 5 stocks removes about 0.11 of volatility. Going from 20 to 1000 removes only about 0.005. Almost all the benefit arrives early.
What the research says about "enough"
Studies of US stocks have given different answers over the years. An often-quoted older finding is that 20 to 30 randomly chosen stocks remove most of the idiosyncratic risk. Later work found that individual stock volatility has risen relative to the market, and that the market's average correlation changes over time. Those studies suggested that more stocks are needed, with some estimates running to 50 or more.
Treat any single number as a rough guide. The right number depends on:
- Average correlation of your picks. Stocks that share a sector or theme are more correlated, so you need more of them.
- Volatility of the stocks. Small, volatile companies carry more idiosyncratic risk than large, stable ones.
- How you define "enough". Removing 90% of the avoidable risk takes fewer stocks than removing 99%.
- Weighting. Equal weights spread risk best. Uneven weights make a portfolio behave as if it held fewer stocks (see the HHI measure later in this tutorial).
A hidden cost: skewed outcomes
Variance is only one measure of risk. Another is what happens to the typical investor who picks a small number of stocks.
Individual stock returns are right-skewed. A few stocks produce very large gains, while many produce small gains or losses. Over long periods, a small share of stocks accounts for most of the market's total gain. A concentrated portfolio is likely to miss those winners. This means:
- The average concentrated portfolio can have a lower return than the market, even if the average stock matches it.
- A few concentrated portfolios will do far better than the market. Many will do worse.
So a small portfolio adds more than volatility. It also widens the spread of outcomes, and the typical result sits below the market's.
Edge cases and common errors
Counting names instead of exposure
Ten stocks are not ten independent bets if eight of them are semiconductor companies. Their correlation is high, so the formula above uses a higher rho and the floor rises. Count how many distinct sources of risk you hold, not how many tickers.
Hidden overlap through funds
If you hold three funds and each owns the same large technology companies, you hold the same companies three times. Your total exposure to one company is the sum across funds. Check the top holdings of each fund.
Your employer's stock
Your salary, bonus, and perhaps your retirement plan already depend on your employer. Adding a large position in the same stock stacks risk on risk. If the company fails, you may lose your job and your savings together.
Weights matter as much as count
A portfolio of 30 stocks with 50% in one of them is not diversified. Position size drives risk. A simple check is the effective number of holdings, covered in a later chapter.
Drift after you buy
Winners grow and become larger shares of the portfolio. A portfolio that started with equal weights slowly becomes concentrated. Rebalancing, covered later, addresses this.
Over-diversifying
Beyond the floor, extra stocks add costs without adding protection. Each position requires research, trading fees or spreads, and tracking. A portfolio of 300 hand-picked stocks is also likely to behave like the market while charging you more than a low-cost fund. If you want market-like results, a broad fund does the same job at lower cost.
Worked example: two investors
Investor A holds 8 stocks in equal weights. Investor B holds 40 stocks in equal weights. Assume sigma is 30% and average correlation is 0.30 for both.
import math
def equal_weight_vol(n, sigma, avg_rho):
return math.sqrt(sigma ** 2 * (1 / n + (1 - 1 / n) * avg_rho))
floor = 0.30 * math.sqrt(0.30)
for name, n in (("A", 8), ("B", 40)):
vol = equal_weight_vol(n, 0.30, 0.30)
avoidable = 0.30 - floor
removed = (0.30 - vol) / avoidable
print(name, n, round(vol, 4), f"{removed:.0%} of avoidable volatility removed")Investor A ends up near 0.18 volatility, having removed about 80% of the avoidable volatility. Investor B ends up near 0.17, having removed about 95%. Moving from 8 to 40 stocks cut volatility by about one percentage point. That is useful but small compared with the first step from 1 to 8.
Now change the assumption. If A's eight stocks are all in one sector and the average correlation is 0.70, the floor becomes 0.30 × sqrt(0.70), about 0.25. No number of additional stocks from that sector can bring A below that. Lowering correlation, by adding other sectors, does more than adding more of the same.
A practical checklist
- Start from a target: how much of the avoidable risk do you want to remove? Most investors aim for the flat part of the curve.
- If you pick stocks, hold at least 25 to 30 across different industries, and more if the stocks are small or volatile.
- Keep position sizes limited so that no single holding can dominate. Many investors cap any single stock at a few percent.
- List overlaps across funds and with your employer.
- Compare the cost of managing many positions yourself with the cost of a broad fund.
| Situation | Typical consequence | What to do |
|---|---|---|
| 1 to 5 stocks | Large idiosyncratic risk, wide spread of outcomes | Add holdings before anything else |
| 20 to 30 stocks, many sectors | Most avoidable risk gone | Control position sizes |
| 20 stocks, one sector | Floor stays high | Add other sectors |
| 100+ stocks, hand-picked | Little extra protection, higher effort | Consider a broad fund |
Key takeaways
- Idiosyncratic risk falls roughly as 1/n, so the first few stocks matter most.
- Systematic risk remains at a floor of about sigma × sqrt(rho).
- The number of stocks needed depends on correlation, volatility, and weights, so published figures such as 20 to 30 or 50 are approximations.
- Lower correlation lowers the floor, so mixing different kinds of stocks beats adding more similar ones.
- Skewed returns mean small portfolios often lag the market even when the average stock does not.
Exercise
An equal-weight portfolio has stocks with volatility 40% and an average pairwise correlation of 0.25. (a) What is the volatility floor as n grows without limit? (b) What is the volatility with n = 10? Use variance = sigma² × (1/n + (1 − 1/n) × rho).
Show answer
(a) The floor is sigma × sqrt(rho) = 0.40 × sqrt(0.25) = 0.40 × 0.5 = 0.20, or 20%. (b) With n = 10, variance = 0.16 × (0.1 + 0.9 × 0.25) = 0.16 × 0.325 = 0.052, so volatility = sqrt(0.052), about 0.228, or 22.8%. Ten stocks are already within about three percentage points of the floor.
Exercise
Investor C owns 30 stocks, but 20 of them are banks, and also owns two funds that each hold the same large banks. Explain why 30 holdings overstate C's diversification and name two steps C could take.
Show answer
The banks are highly correlated, so the average correlation is high and the volatility floor is higher than for 30 stocks spread across industries. The funds add more exposure to the same banks, which raises the effective position size in each. C could add holdings from other sectors to lower the average correlation, and could check the top holdings of the funds and reduce overlap or position sizes.