The Gini coefficient is the standard single number for inequality. It sums up how unevenly income or wealth is distributed: 0 means perfect equality, and 1 means that one person owns everything. This calculator estimates it from the share of the total held by each fifth of the population, the quintile shares that are published by statistics offices, and adds a few readable ratios.
How the calculation works
- The shares are scaled so that they add up to 100%
- Cumulative shares Y₁ to Y₅ give the points of the Lorenz curve
- Gini G = 1 − 0.2 × Σ (Yₖ₋₁ + Yₖ), over the five groups
- S80/S20 = share of the richest 20% ÷ share of the poorest 20%
Example
The poorest fifth of a population receives 3.1% of the income, then 8.3%, 14.2%, 23.0% and 51.4% for the richest fifth. The cumulative shares are 3.1%, 11.4%, 25.6%, 48.6% and 100%. The Gini coefficient is 0.445, a high level of inequality. The richest fifth earns 16.6 times as much as the poorest fifth, and the poorest 40% hold 11.4% of the income.
Where it is used
Economists compare countries, regions and years with the Gini coefficient, and governments track the effect of taxes and benefits by comparing the figure before and after redistribution. Researchers use it for wealth, for land ownership and even for the concentration of sales among customers or of citations among papers.
Good to know
Two very different distributions can give the same Gini value, because it compresses everything into one number. It is also sensitive to how income is measured: household or individual income, before or after tax, with or without benefits in kind. Quintile data hide what happens within the top group, where much of the inequality sits. Complement it with the ratio of the top 10% to the bottom 40%, the Palma ratio, when the data exist.
Related tools
For the average and the spread of a data set, use the standard deviation calculator. The percentile calculator places a value in a distribution, and the spending multiplier calculator links income to demand.