How Diversified Is My Portfolio? Five Measures
By MALI ·

To see how diversified your portfolio really is, measure five things: the weight of your largest position and your top five, the effective number of holdings (1 divided by the sum of the squared weights), your exposure by sector, how closely your holdings move together, and which holdings carry most of the risk. A long list of tickers can still be concentrated if a few positions dominate, if most of the names sit in one sector, or if they all tend to fall on the same days.
This article shows how to compute each measure with a worked example, as part of portfolio management for self-directed investors. It's educational and isn't a recommendation about any holding.
Why the number of tickers misleads
Harry Markowitz's 1952 paper "Portfolio Selection" showed that a portfolio's risk depends not just on each holding's risk but on how the holdings move together. Spreading money across assets that move in step does little. Spreading it across assets that don't can reduce risk a lot.
How many stocks is enough? The often-quoted answer used to be about ten. Meir Statman's 1987 study challenged that, concluding that a well-diversified portfolio of randomly chosen stocks needed at least 30 stocks for a borrowing investor and 40 for a lending investor. There's a second reason to hold more names than intuition suggests: Hendrik Bessembinder's 2018 study of US stocks since 1926 found that most individual stocks had lifetime buy-and-hold returns below one-month Treasury bills, and that the best-performing 4% of listed companies accounted for the net gain of the whole US market. A small portfolio can easily miss the few stocks that matter.
FINRA's investor guidance on concentration makes the practical point: concentration can be deliberate, or it can build up by accident when one holding grows faster than the rest, and funds can hide overlap with stocks you already own.
Five measures
1. Largest position and top five
The simplest checks are often the most useful. What share of the portfolio is your single largest holding? What share are the top five? Set limits in advance that match your risk tolerance, and look again whenever a holding has a big move.
2. Effective number of holdings
The Herfindahl-Hirschman Index (HHI), which the US Department of Justice uses to measure market concentration, applies neatly to a portfolio. Square each weight (as a decimal) and add them up. Then take the reciprocal:
Effective number of holdings = 1 / (w1² + w2² + … + wn²)
An equally weighted portfolio of ten stocks has an HHI of 0.10 and an effective number of exactly 10. The more uneven the weights, the lower the effective number.
3. Sector and fund overlap
Add up weights by sector, including what's inside your funds. An S&P 500 index fund plus five large technology stocks is more concentrated in technology than the ticker list suggests. Check fund holdings for overlap with stocks you own directly.
4. Correlation
Correlation runs from −1 to +1 and measures how closely two returns move together. For two assets with weights w1 and w2 and volatilities σ1 and σ2, portfolio variance is:
w1²σ1² + w2²σ2² + 2 × w1 × w2 × ρ × σ1 × σ2
where ρ is the correlation. The lower ρ is, the more the combination reduces risk. Correlations aren't fixed and can rise in market sell-offs, just when diversification is needed most, so look at them over more than one period.
5. Risk contribution
A holding's share of the money and its share of the risk can be very different. Each holding's risk contribution is its weight times its covariance with the whole portfolio, divided by the portfolio's variance; the contributions add up to 100%. A volatile holding can carry most of the risk at a modest weight.
A worked example
In this illustrative example, a hypothetical portfolio holds ten stocks with weights of 25%, 15%, 12%, 10%, 8%, 8%, 7%, 6%, 5% and 4%.
Top weights. The largest position is 25%; the top five are 25 + 15 + 12 + 10 + 8 = 70%.
Effective number. Square the weights: 0.0625 + 0.0225 + 0.0144 + 0.0100 + 0.0064 + 0.0064 + 0.0049 + 0.0036 + 0.0025 + 0.0016 = 0.1348. The effective number of holdings is 1 / 0.1348 = 7.4. Ten tickers, but the concentration of about seven equal positions.
Correlation. Take two of the stocks, each with an annual volatility of 30%, held 50/50:
- Correlation 1.0: variance = 0.25 × 0.09 + 0.25 × 0.09 + 2 × 0.25 × 1.0 × 0.09 = 0.09, volatility 30.0%. No reduction at all.
- Correlation 0.5: variance = 0.0225 + 0.0225 + 0.0225 = 0.0675, volatility 26.0%.
- Correlation 0.0: variance = 0.0225 + 0.0225 = 0.045, volatility 21.2%.
Risk share. Now hold a stock fund with 30% volatility and a bond fund with 5% volatility, 50/50, uncorrelated. Portfolio variance is 0.25 × 0.09 + 0.25 × 0.0025 = 0.0225 + 0.000625 = 0.023125, a volatility of 15.2%. The stock fund's risk contribution is 0.0225 / 0.023125 = 97.3%; the bond fund's is 2.7%. Half the money, almost all the risk.
What to do with the numbers
- Set limits before you need them. For example, no single stock above a chosen percentage, no sector above another. Write them down.
- Watch the effective number over time. A falling number means one or two holdings are taking over, often because they've done well.
- Recompute after big moves. A holding that doubles while the rest are flat can lift its weight, and lower your effective number, without a single trade.
- Diversify risk, not just names. Adding a tenth technology stock to nine others changes the ticker count more than the risk.
- Remember correlations can rise. A portfolio that looks diversified in calm markets may behave like fewer holdings in a sell-off. Max drawdown and recovery time shows how to look at the losses you'd actually have lived through.
Where MALI fits
The Portfolio Advisor runs seven rule-based checks on your holdings: the largest position, every sector, the top five, the cash floor, volatility against your target, beta to the S&P 500, and any holding carrying an outsized share of risk. Its exposures include the effective number of positions and the top-five weight, and its What-if view backcasts a proposed change over the past year. The checks are rules, not a model's opinion, and it places no orders.
The portfolio tracker imports your positions from brokerage files, so the checks run on what you actually hold. Scenario Lab (Edge) replays today's weights through seven dated market episodes to show how the mix would have held up.
FAQ
How many stocks do I need to be diversified?
There's no single number. Statman's 1987 study concluded at least 30 to 40 randomly chosen stocks, far more than the ten often quoted. A broad index fund gives you hundreds in one holding.
What is the effective number of holdings?
It's 1 divided by the sum of the squared portfolio weights. It tells you how many equal-sized positions would give the same concentration. Ten holdings with uneven weights may count as seven.
Is a portfolio of ten ETFs automatically diversified?
No. If several funds hold the same large companies or track similar indices, the overlap can leave you concentrated. Add up exposure by company and sector across the funds.
Why does correlation matter for diversification?
Because combining assets reduces risk only to the extent they don't move together. In the example above, two stocks at 30% volatility combine to 30% at a correlation of 1.0 and 21.2% at a correlation of zero.
What is a good effective number of holdings?
There's no official threshold. Compare it with your ticker count: if ten holdings give an effective number near ten, the weights are even; if they give five, half the names barely matter to the result. Watch the trend, and set your own limits for the largest position and the top five.
Sources
- Markowitz, "Portfolio Selection", Journal of Finance, 1952
- Statman, "How Many Stocks Make a Diversified Portfolio?", Journal of Financial and Quantitative Analysis, 1987
- Bessembinder, "Do Stocks Outperform Treasury Bills?", Journal of Financial Economics, 2018
- Herfindahl-Hirschman Index, US Department of Justice
- Concentrate on Concentration Risk, FINRA
This article is educational and is not investment advice. MALI is a research and analytics platform; it does not recommend buying or selling any security.
