Skip to content
Omnikalc

Theil index calculator: measure income inequality from quintile incomes

Enter the average income of each fifth of the population to get the Theil T and Theil L indices, the mean income and the share of the top fifth.

Updated on
Your inputs
$

Value out of range

$

Value out of range

$

Value out of range

$

Value out of range

$

Value out of range

Results

Theil index T (sensitive to the top of the distribution)

0.2738

Theil L, the mean log deviation (sensitive to the bottom)
0.3148
Mean income
$59,000
Share of total income held by the richest fifth
47.46 %
Ratio of the richest fifth to the poorest fifth
11.67

Different inequality measures notice different things. The Theil index calculator takes the average income of each fifth of the population and gives the Theil T index, the Theil L index, the mean income, the share of the richest fifth and the top-to-bottom ratio.

How the calculation works

  • Enter the average income of each fifth (quintile) of the population, from the poorest to the richest. Each fifth holds 20 % of the people.
  • The Theil T index is the average of (x ÷ mean) × ln(x ÷ mean) over the five groups. It is higher when incomes at the top are far above the mean.
  • The Theil L index, or mean log deviation, is the average of ln(mean ÷ x). It reacts more to the poorest groups.
  • Both are 0 when everyone has the same income and rise as inequality grows. The calculator also shows the mean income, the top fifth’s share and the top-to-bottom ratio.

Example

The five fifths earn $12,000, $28,000, $45,000, $70,000 and $140,000, with a mean of $59,000. Theil T is 0.2738 and Theil L is 0.3148. The richest fifth holds 140,000 ÷ 295,000 = 47.46 % of all income, and earns 11.67 times the poorest fifth.

Why it matters

Economists and policy analysts use the Theil family because it breaks down by group and responds to different parts of the income distribution. It is a standard complement to the Gini coefficient.

Good to know

Grouped data hides the inequality within each fifth, so the result understates the true level. The index has no natural upper limit of 1, and its value is best compared across places or years that use the same grouping.

The Gini coefficient calculator is the most common summary of inequality, and the purchasing power parity calculator helps compare incomes across countries.

Frequently asked questions

What is the Theil index?

It is a measure of inequality from information theory, proposed by Henri Theil in 1967. It compares each group's share of income with its share of the population. It is 0 for perfect equality and rises without an upper bound as inequality grows.

What is the difference between Theil T and Theil L?

Theil T weights groups by their share of income, so it is more sensitive to changes at the top. Theil L, the mean log deviation, weights groups by their share of population, so it is more sensitive to changes at the bottom.

Why use the Theil index instead of the Gini coefficient?

The Theil index can be split exactly into inequality within groups and inequality between groups, such as regions or age bands. That makes it popular for studying where inequality comes from. The Gini coefficient does not split so neatly.

Can I use this with unequal population groups?

This calculator assumes five equal groups, such as quintiles. If your groups differ in size, you need weights for each group, which this simple form does not include. Using finer data such as deciles gives a more accurate result.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.