Herfindahl index (concentration)

How the Herfindahl-Hirschman index measures portfolio concentration, how to calculate it from weights, and the effective number of holdings it implies.

What it measures

The Herfindahl-Hirschman index (HHI) shows how concentrated a portfolio is. It is the sum of each holding's weight squared.

HHI = w12 + w22 + ... + wn^2 (weights as decimals)

Examples

Portfolio HHI Effective holdings (1 / HHI)
10 stocks at 10% each 0.10 10
50%, 30%, 20% 0.25 + 0.09 + 0.04 = 0.38 2.6
One stock 1.00 1

Effective number of holdings

1 / HHI turns the index into an intuitive number: a 20-stock portfolio where three names are 60% of the money may behave like five or six stocks. Market-cap indexes such as the S&P 500, where the top ten names are a large share, have far fewer effective holdings than their name count.

Using it

Check it whenever a few winners grow large. See How many stocks should you own? and Position sizing.

See also

Last updated September 30, 2026. Education only, not investment advice.