Saved

Press the star next to a tool's name to save it.

All my tools

HHI Calculator

Use this HHI calculator to square and add market shares, see whether a market is concentrated and model how much a merger would raise the Herfindahl–Hirschman index.

Restored your last values ·

Enter the market share of each firm in percent, such as 40 40 20. Decimal shares that add up to 1 also work. To see the effect of a merger, enter the positions of two firms in your list.

Everything is worked out in your browser. Nothing you type is sent anywhere.

–

–

Fill in the boxes and press Calculate.

An HHI calculator works out the Herfindahl–Hirschman index, the standard measure of how concentrated a market is. Enter the market share of each firm, and the calculator squares each share and adds them up, giving an index from close to 0 for a market of many small firms up to 10,000 for a monopoly. It says whether the market is unconcentrated, moderately or highly concentrated, shows the equivalent number of equal-sized firms, and, if you pick two firms, how much a merger between them would raise the index.

The HHI formula

HHI = s₁² + s₂² + … + sₙ²
with shares in percent, so the maximum is 100² = 10,000
Merger change = 2 × sₐ × s_b

Wikipedia's Herfindahl–Hirschman index article gives the index as the sum of the squared market shares of the firms in a market. It explains that with shares as fractions the index runs from 1/N to 1, and that if percents are used as whole numbers, as in 75 instead of 0.75, the index can range up to 10,000; an index of 0.25 is the same as 2,500 points. When two firms merge, their combined share is squared, which adds exactly twice the product of their shares to the index.

How to use the HHI calculator

  1. Enter each firm's market share, in percent, separated by spaces, commas or new lines.
  2. Optionally enter two firm numbers, their positions in your list, to model a merger.
  3. Press Calculate.

Worked example

The article's simplest example is a market of three firms with shares of 40, 40 and 20 percent. The HHI is 40² + 40² + 20² = 1,600 + 1,600 + 400 = 3,600, a highly concentrated market. If the two largest firms merge, the market has shares of 80 and 20, and the HHI rises to 6,400 + 400 = 6,800, an increase of 2 × 40 × 40 = 3,200. A market of five firms with 20 percent each has an HHI of 5 × 400 = 2,000.

A larger market

The article also describes a market with one firm holding 30 percent, five firms with 10 percent each and twenty firms with 1 percent each. The HHI is 900 + 5 × 100 + 20 × 1 = 1,420, an unconcentrated market. If two of the 10 percent firms merge, the index rises by 2 × 10 × 10 = 200, to 1,620. Entering the shares in the calculator and merging firms 2 and 3 reproduces these figures.

Concentration bands

The article sets out the US Department of Justice guidelines it cites: an HHI below 100 indicates a highly competitive industry, below 1,500 an unconcentrated industry, between 1,500 and 2,500 a moderately concentrated industry, and above 2,500 a highly concentrated one. It adds that increases of more than 100 points generally provoke scrutiny, and that these are not rigid guidelines. The calculator shows the band for your market and the change from any merger you model, so you can see how close a deal comes to these thresholds.

Equivalent number of firms

The article explains that 1 divided by the HHI, with the HHI as a fraction, gives the number of equal-sized firms that would produce the same index. An HHI of 2,000, or 0.2, is equivalent to five firms of equal size; an HHI of 3,600 is equivalent to about 2.8. This makes the index easier to picture: a market with dozens of firms but an HHI of 2,500 behaves, by this measure, like one with only four equal competitors. In the article's intuition example, one firm with 81 percent and 19 firms with 1 percent each give an HHI of about 6,580.

Measuring market shares

The index depends heavily on how the market is defined. A broad definition with many products and regions gives small shares and a low HHI; a narrow one gives large shares and a high HHI. Use shares of the same measure, usually sales, for every firm, and include all firms you can. If you only know the largest firms, the HHI from those alone is a lower bound, because the small firms you leave out would add a little more. The calculator shows the total share you entered so you can see how much of the market is covered. For inequality within a group, the Gini coefficient calculator uses a related idea.

Why squares are used

Squaring the shares gives large firms far more weight than small ones. A firm with 40 percent of a market adds 1,600 points, while four firms with 10 percent each add only 400 between them, even though their combined share is the same. That matches the idea that a market dominated by one or two large firms is less competitive than one where the same share is spread among several. It is also why mergers between large firms raise the index so much more than mergers between small ones.

Comparing markets over time

Working out the HHI for the same market in different years shows whether it is becoming more or less concentrated. A rising index may reflect mergers, the exit of smaller firms or the growth of a leader; a falling one may reflect new entrants winning share. Keep the market definition and the source of the share figures the same each year so the comparison is fair.

Common mistakes

  • Mixing percents and fractions. Use one or the other throughout.
  • Shares that add up to more than 100 percent. Check the figures.
  • Defining the market too narrowly or broadly. The HHI depends on it.
  • Treating the bands as rules. Regulators look at much more.

What next

Use this often? Add HHI to your Home screen.

Frequently asked questions

How does an HHI calculator work?

It squares each firm's market share in percent and adds them up.

What is the HHI of a market with shares of 40, 40 and 20?

3,600, rising to 6,800 if the two largest firms merge.

What HHI counts as highly concentrated?

Above 2,500, under the US DOJ guidelines cited by Wikipedia.

How much does a merger raise the HHI?

By twice the product of the two firms' shares.

What is the equivalent number of firms?

1 divided by the HHI as a fraction: 0.2 is five equal firms.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Math Tools