Measure and manage portfolio risk Lesson 6 of 14
Portfolio and risk · Portfolio theory
The mathematics of diversification: how many holdings are enough
The formula for the risk of an equal-weight portfolio, the floor set by average correlation, and every combination of ten large stocks over two years, measured.
On this page
Diversification reduces risk according to a formula, and the formula has a floor. Adding holdings to a portfolio removes the risk that is particular to each one. It does not remove the risk the holdings share. As the number of holdings grows, portfolio risk falls quickly at first, then slowly, and settles at a level set by how correlated the holdings are with one another.
That shape answers two practical questions. How many stocks does it take to be "diversified"? And why does a portfolio of fifty stocks still fall when the market falls? The beginner lesson on Diversification: why spreading your investments reduces risk explains the principle. This one works through the arithmetic, tests it on every possible portfolio that can be built from ten large US stocks, and explains why the number of holdings matters less than what they have in common.
The idea
Every stock's movements have two sources. Part comes from things that affect all stocks: the economy, interest rates, the general mood. Part comes from the company itself: an earnings report, a lawsuit, a new product. In a portfolio, the company-specific parts are largely unrelated to one another. One firm's good news lands on the same day as another's bad news, and across many holdings they wash out. The shared part does not wash out, because every holding has it at the same time.
The bars fall steeply and then flatten. The second stock removed 6.1 points of volatility. The tenth removed 0.3.
How it works
The formula comes from counting. A portfolio of n holdings has n variance terms, each weighted 1/n², and n × (n − 1) covariance terms, also each weighted 1/n². With 2 holdings there are 2 variances and 2 covariances. With 50 there are 50 variances and 2,450 covariances. In a large portfolio, almost everything is covariance.
| Holdings | Correlation 0 | Correlation 0.2 | Correlation 0.5 |
|---|---|---|---|
| 1 | 30.0% | 30.0% | 30.0% |
| 2 | 21.2% | 23.2% | 26.0% |
| 5 | 13.4% | 18.0% | 23.2% |
| 10 | 9.5% | 15.9% | 22.2% |
| 20 | 6.7% | 14.7% | 21.7% |
| 50 | 4.2% | 13.9% | 21.4% |
| Floor | 0% | 13.4% | 21.2% |
Two things follow from the table. With a correlation of 0.5, ten holdings are within one point of the floor and nothing more can be gained by adding similar ones. And the correlation decides the floor: at 0.5 it is 21.2%, at 0.2 it is 13.4%. Lowering the correlation among holdings does far more than increasing their number.
A worked example on ten stocks
The data: 500 daily returns, November 19, 2024 to November 17, 2026, for Apple, Microsoft, Nvidia, Tesla, JPMorgan, Exxon Mobil, Coca-Cola, Johnson & Johnson, Procter & Gamble and Berkshire Hathaway. These are ten of the largest US companies and are not a random sample.
| Stock | Volatility a year | Stock | Volatility a year |
|---|---|---|---|
| TSLA | 56.3% | JPM | 23.6% |
| NVDA | 44.7% | JNJ | 20.3% |
| MSFT | 29.5% | PG | 19.8% |
| AAPL | 29.0% | KO | 18.4% |
| XOM | 25.4% | BRK-B | 16.9% |
The average correlation between pairs was 0.17, ranging from −0.26 to 0.58.
Ten stocks can form 45 different pairs, 252 different groups of five, and so on. Calculating the volatility of every one, equally weighted and rebalanced daily:
| Holdings | Number of combinations | Average volatility | Lowest | Highest |
|---|---|---|---|---|
| 1 | 10 | 28.4% | 16.9% | 56.3% |
| 2 | 45 | 22.3% | 14.5% | 43.5% |
| 3 | 120 | 19.6% | 13.4% | 34.4% |
| 5 | 252 | 17.0% | 11.8% | 26.2% |
| 7 | 120 | 15.8% | 11.7% | 20.2% |
| 10 | 1 | 14.8% | 14.8% | 14.8% |
Three observations.
The formula fits. Using the stocks' average variance and average covariance, the formula predicts 17.3% for five holdings and 14.8% for ten. The measured averages were 17.0% and 14.8%.
Ten large stocks matched the index. SPY's volatility over the same days was 16.9%. The ten-stock portfolio's was 14.8%, lower than a fund of 500 companies. That is partly luck of selection and partly the low correlations among these particular ten, which span technology, banking, energy, consumer goods and health care.
The range is as important as the average. Five-stock portfolios ran from 11.8% to 26.2%. The lowest combined calm, weakly related companies. The highest were those that included both Tesla and Nvidia. "Five stocks" describes neither.
The floor for this group, the square root of the average covariance, is 11.7%. No number of additional stocks with the same typical correlation would take the portfolio below that.
Using it
How many stocks is enough?
The classic answer comes from Evans and Archer's 1968 study, which found that most of the benefit arrived by about ten randomly chosen stocks. Meir Statman argued in 1987 that the number should be 30 to 40, because the remaining reduction, though small, is free. Campbell and co-authors showed in 2001 that individual stocks had become more volatile relative to the market since the 1960s, which pushes the number higher still.
The formula explains why the answers differ: they are picking different points on a curve that flattens gradually. In the ten-stock data, five holdings removed 84% of the risk that ten removed. There is no threshold, only diminishing returns.
Volatility is not the only reason to hold more
The formula covers volatility. It understates the case for broad diversification in one respect. Returns on individual stocks are lopsided: a few enormous winners and a long list of disappointments. Hendrik Bessembinder found that, since 1926, more than half of US stocks earned less over their lifetimes than Treasury bills, and that a small percentage of companies accounted for all of the market's net gain. A portfolio of twenty stocks may have a volatility close to the market's and still miss the handful that produce the market's return. Holding the whole market guarantees owning them.
Diversify across what is different
Once a stock portfolio is near its floor, further stocks do nothing. Lower risk has to come from holdings with a lower correlation to stocks: bonds, gold, cash. In the 2005 to 2026 data used in Modern portfolio theory: why the mix matters more than the parts, an equal mix of stocks, long Treasuries and gold had a volatility of 9.6%, below the floor of any all-stock portfolio.
Where it fails or misleads
- Correlations rise in sell-offs. The floor is calculated from an average correlation. In a market panic, stocks move together and the floor rises just when the protection is wanted.
- Counting holdings is not measuring diversification. Fifteen technology stocks are one bet. An index fund with 500 holdings can still have a third or more of its value in ten companies.
- Equal weights are assumed. If one holding is 40% of the portfolio, the effective number of holdings is far smaller than the count. See Concentration risk: when one holding dominates a portfolio.
- Two years is a short sample. The ten-stock figures come from one period. The shape of the curve is general; the levels are not.
- Diversification removes specific risk, not market risk. A fully diversified stock portfolio fell by about half in 2007 to 2009. What remains is what Portfolio beta: how much of the market a portfolio carries measures.
- More holdings have costs. Each position takes attention, and many small ones add trading and tax complexity for little reduction in risk. A fund solves that at low cost.
Compared with its neighbours
| Kind of risk | Also called | Removed by adding holdings? | Rewarded with return, in theory? |
|---|---|---|---|
| Company-specific | Idiosyncratic, diversifiable | Yes, quickly | No |
| Shared by a sector or style | Factor risk | Only by adding other sectors | Possibly |
| Shared by all stocks | Market, systematic | No | Yes |
| Shared by all assets (inflation, rates) | Macroeconomic | Only partly, across asset classes | Yes |
How Finabase does it
Finabase does not compute a portfolio's volatility, the correlations among its holdings or a diversification score.
Three screens help with the questions this lesson raises. A portfolio page shows each position's market value and an allocation bar of the largest holdings, which makes unequal weights obvious. An ETF's Holdings tab lists its top positions, the share of the fund held in its top ten, and its sector and country weights; that is the quickest check on whether a fund with hundreds of holdings is as spread out as its count suggests. And the comparison chart overlays several symbols as percent changes: stocks that are highly correlated trace the same shape.
To repeat the ten-stock exercise on your own holdings, export daily or monthly prices from
each symbol's History tab and apply the variance formula with a spreadsheet's COVARIANCE.S
function.
Frequently asked questions
How many stocks do I need to be diversified?
There is no cut-off. Risk falls quickly up to about ten unrelated holdings and slowly after that. Studies have put a reasonable number anywhere from 10 to 40 or more, and a broad index fund makes the question unnecessary.
Why does my diversified stock portfolio still fall with the market?
Because diversification among stocks removes company-specific risk only. The risk all stocks share remains, and it is the larger part once more than a handful are held.
Is owning several funds the same as being diversified?
Only if the funds hold different things. Three large US stock funds overlap almost entirely. Check their top holdings and sector weights.
What is the difference between systematic and unsystematic risk?
Systematic risk affects the whole market and cannot be diversified away within it. Unsystematic risk belongs to one company or industry and largely cancels out in a portfolio.
Can a portfolio be too diversified?
Adding holdings never raises risk in the formula, but beyond a point it adds cost and effort for no measurable benefit. Holding many overlapping funds is the usual form of this.
Summary
The variance of an equal-weight portfolio is the average variance divided by the number of holdings, plus nearly all of the average covariance. The first part vanishes as holdings are added; the second is a floor. Among ten large US stocks over two years, average volatility fell from 28.4% for one stock to 17.0% for five and 14.8% for ten, against a floor of 11.7%. Most of the benefit comes from the first few holdings, the choice of holdings matters as much as their number, and going below the floor takes different kinds of assets, not more of the same.
Check your understanding
5 questions on this lesson. Each answer comes with the reason, and nothing is scored.
Every stock in a group has 30% volatility and a correlation of 0.2 with every other. What is the lowest volatility an equal-weight portfolio of them can approach, however many are held?
- Zero
- About 13.4%
- About 6%
Show the answer
B. About 13.4% The floor is σ × √ρ = 30% × √0.2 = 13.4%. The shared part of the risk, set by the correlation, cannot be diversified away by adding more of the same.
In a portfolio of 50 equally weighted stocks, which terms dominate the variance?
- The 50 individual variances
- The 2,450 covariances between pairs
- Neither; they contribute equally
Show the answer
B. The 2,450 covariances between pairs There are n variance terms and n × (n − 1) covariance terms, all with the same weight. With 50 holdings, covariances outnumber variances 49 to 1.
Among ten large stocks, five-stock portfolios had volatilities from 11.8% to 26.2%. What does that range show?
- The formula is wrong
- Which holdings are chosen matters as much as how many
- Five stocks are always enough
Show the answer
B. Which holdings are chosen matters as much as how many The number of holdings sets the average outcome. The particular volatilities and correlations of the stocks chosen determine where a given portfolio falls around it.
A stock portfolio is already close to its diversification floor. What lowers its risk further?
- Adding more stocks of the same kind
- Adding assets with a low correlation to stocks, such as bonds
- Rebalancing more often
Show the answer
B. Adding assets with a low correlation to stocks, such as bonds The floor comes from the average correlation among the holdings. Only assets that are less correlated with them can bring the portfolio below it.
Why might a 20-stock portfolio with market-like volatility still earn much less than the market?
- Because a small share of companies produce most of the market’s long-run gain, and 20 stocks may not include them
- Because 20 stocks have higher fees
- Because volatility and return are the same thing
Show the answer
A. Because a small share of companies produce most of the market’s long-run gain, and 20 stocks may not include them Individual stock returns are highly skewed. Matching the market’s volatility does not guarantee holding the few large winners that drive its return.
Exercise
One task to do in Finabase. Nothing is graded or saved.
Open the Dow 30 heatmap: 30 boxes, one per stock, coloured by today’s change. Count the green boxes and the red ones, and note which colour is in the minority. Suppose you held all 30 in equal amounts. Which part of today’s moves would mostly cancel out inside that portfolio, and which part would you still have in full?
Open the Dow 30 heatmapWhat you should find
The few stocks going against the day are company-specific moves, the part that washes out across holdings. The colour most boxes share is the market’s move, which every holding has at the same time, and more stocks do not remove it. On a quiet day the split is closer to even. On a big market day nearly all 30 share one colour: correlations rise and the floor rises with them.
Sources and further reading
- John L. Evans and Stephen H. Archer, “Diversification and the Reduction of Dispersion: An Empirical Analysis,” Journal of Finance, vol. 23, no. 5 (1968)
- Meir Statman, “How Many Stocks Make a Diversified Portfolio?” Journal of Financial and Quantitative Analysis, vol. 22, no. 3 (1987)
- John Y. Campbell, Martin Lettau, Burton G. Malkiel and Yexiao Xu, “Have Individual Stocks Become More Volatile?” Journal of Finance, vol. 56, no. 1 (2001)
- Hendrik Bessembinder, “Do Stocks Outperform Treasury Bills?” Journal of Financial Economics, vol. 129, no. 3 (2018)
- Finabase chart data — daily closes of AAPL, MSFT, NVDA, TSLA, JPM, XOM, KO, JNJ, PG, BRK-B and SPY, November 19, 2024 to November 17, 2026; statistics computed by Finabase
