Sub topic 10
Measuring Concentration with HHI and Effective Holdings
What these measures tell you
Assume you already understand stocks, funds, percentage weights, and the difference between company, sector, and country diversification. This chapter uses those ideas to measure how dependent a portfolio is on a small number of positions.
Counting holdings is a useful first check, but it can mislead. A portfolio with 20 stocks is not well spread out if one stock makes up 70% of its value. The Herfindahl-Hirschman Index (HHI) accounts for both the number of holdings and their weights.
The HHI is the sum of squared portfolio weights:
HHI = w1² + w2² + ... + wn²
Use decimal weights, such as 0.40 for 40%. An equal-weight portfolio with four holdings has an HHI of:
0.25² + 0.25² + 0.25² + 0.25² = 0.25
A higher HHI means greater concentration. The lowest possible HHI for n equally weighted holdings is 1/n.
Effective number of holdings
The effective number of holdings is the inverse of the HHI:
Effective holdings = 1 / HHI
This converts uneven weights into an easier comparison. It answers the question: “How many equally weighted holdings would have the same concentration?”
Consider this portfolio:
| Holding | Weight | Squared weight |
|---|---|---|
| A | 40% | 0.16 |
| B | 30% | 0.09 |
| C | 20% | 0.04 |
| D | 10% | 0.01 |
| Total | 100% | 0.30 |
The HHI is 0.30. The effective number of holdings is 1 / 0.30, or about 3.33. Although the portfolio contains four companies, its concentration is similar to about 3.3 equally weighted companies.
def hhi(weights):
"""Return HHI for weights written as decimals."""
return sum(weight ** 2 for weight in weights)
weights = [0.40, 0.30, 0.20, 0.10]
concentration = hhi(weights)
effective_holdings = 1 / concentration
print(f"HHI: {concentration:.2f}")
print(f"Effective holdings: {effective_holdings:.2f}")Applying HHI at different levels
You can calculate concentration at several levels:
- Company level: Measures dependence on individual stocks.
- Sector level: Adds company weights within each sector, then squares the sector totals.
- Country level: Adds company or fund weights within each country, then squares the country totals.
- Asset-class level: Compares stocks, bonds, cash, property, and other assets.
For example, suppose three technology companies make up 30%, 20%, and 10% of a portfolio. The technology sector weight is 60%, so its contribution to sector HHI is 0.60² = 0.36. You do not square each company weight for this sector-level calculation. First combine the positions that share the sector exposure.
A fund can also create overlapping exposure. Owning a broad index fund and several individual stocks from that index may raise your company or sector HHI more than your account summary suggests.
Interpreting the result
Compare HHI with your intended allocation rather than using one universal “safe” threshold. A portfolio designed to track one country may intentionally have a high country HHI. A global portfolio may treat that same result as unwanted home bias.
Also calculate HHI after grouping related exposures. Several companies may depend on the same commodity, customer, technology, or government policy. HHI will not detect every such relationship, but it can reveal the first layer of concentration.
Exercise
A portfolio has weights of 50%, 25%, 15%, and 10%. What are its HHI and effective number of holdings?
Show answer
HHI = 0.50² + 0.25² + 0.15² + 0.10² = 0.345. Effective holdings = 1 / 0.345, or about 2.90.