Herfindahl index (concentration index)
The sum of the squared shares of all categories. It measures how strongly a whole is concentrated in a few parts. With n equal shares it is 1/n, with a single part it is 1.
Example: Three firms have market shares of 50 %, 30 % and 20 %. The index is 0.5² + 0.3² + 0.2² = 0.38. With equal shares it would be 1/3.
Caution: The index is often multiplied by 10 000 (here 3800). Thresholds for “high concentration” are set by authorities.