In one line. A concentration score: each position's share squared, all added up. It reads 1 when one stock holds everything and gets smaller as money spreads out. One over it gives the effective holdings, the number of equal positions that would be just as concentrated.

Herfindahl, explained

Square each weight written as a fraction and add the squares. Squaring makes big positions count much more than small ones, so the result is dominated by the largest holdings. Ten equal positions of 0.10 each give 10 x 0.01 = 0.10. One stock holding everything gives 1 x 1 = 1. The score always lies between one over the number of stocks and 1.

The more intuitive companion is effective holdings, the reciprocal. A score of 0.10 gives 1 / 0.10 = 10 effective holdings, meaning the portfolio is as concentrated as ten equal positions. A score of 0.05 gives 20. If a 25 stock portfolio has an effective count of 12, its weights are uneven enough that it behaves like a 12 stock equal weight portfolio. That is often more honest than the raw stock count.

Herfindahl sees only weights. It does not know that two stocks are in the same industry or move together, so a low score can still hide shared risk. It is also sensitive to how cash is treated: counting cash as a position, or leaving it out, changes the weights. Compared with the top 5 share, it uses the whole list, so a portfolio with a fat tail of tiny positions scores differently from one with a clean cut off. The name comes from economics, where it measures how concentrated an industry is among firms.

The formula

Herfindahl = Sum of (weight)^2, with weights as fractions; Effective holdings = 1 / Herfindahl

A worked example

Illustration only. Portfolio A holds four stocks at 40, 30, 20 and 10 percent. Squares: 0.16 + 0.09 + 0.04 + 0.01 = 0.30. Effective holdings: 1 / 0.30 = 3.3. Portfolio B holds four stocks equally at 25 percent: 4 x 0.0625 = 0.25, effective holdings 4. Both hold four names, but A behaves like about 3.3 equal positions because the weights are uneven. A portfolio with all money in a single stock scores 1 and has exactly one effective holding.

Common misreadings

  • A low Herfindahl score means the portfolio is diversified; it only measures the spread of weights, not whether the stocks are different from each other.
  • Effective holdings is the number of stocks owned; it is the number of equal sized positions that would be just as concentrated, usually lower than the real count.

In the RupeeCase app

The app calls it “Herfindahl, Effective holdings”. Holdings tab, Position sizes card. Shown in Advanced, or pin it to Basic.

How the app works it out. Herfindahl: sum of the squared position shares. Effective holdings: 1 over that sum.

Watch: Strategy tabs, Position sizes.