All guides

What Is the Gini Coefficient? Inequality in One Number

A curve before a coefficient

Line a country's people up from poorest to richest and ask what share of total income the poorest ten percent hold, then the poorest twenty, and so on up to everyone. Plotting those cumulative shares gives the Lorenz curve. If income were perfectly equal, the curve would be the straight diagonal: the poorest fifth holding exactly a fifth. In every real country the curve sags below the diagonal, because the bottom holds less than its share and the top holds more. The Gini coefficient measures the sag: it is the area between the diagonal and the curve, divided by the whole triangle under the diagonal. Zero means perfect equality, one means a single person takes everything. This site's calculator builds the curve from five population fifths with the trapezoid rule, the standard classroom method, and converts the result to the nought to one hundred scale many reports prefer.

Reading the world's numbers

Real countries cluster in a band that tells stories at a glance. The Nordic countries sit near 0.26 to 0.28 after taxes and benefits, the most equal rich societies measured. The United States is near 0.39 to 0.41 on the same basis, high for a rich country. South Africa, with its legacy of racial economic exclusion, records figures above 0.6, among the highest measured anywhere. Two cautions matter more than any single figure. First, income before taxes and benefits is far more unequal than after: the welfare state is a giant Gini-reducing machine, and quoting the pre-tax figure alone misleads by design. Second, the Gini is blind to where the inequality sits: a society unequal at the top and one unequal at the bottom can share a coefficient while feeling utterly different, which is why serious analysis pairs it with income shares, poverty rates and the ratio between the richest and poorest fifths that the calculator also reports.

What the Gini cannot see

A single index compresses a distribution, and compression loses information by definition. Wealth is far more unequal than income everywhere and is measured separately, badly. The Gini also moves slowly and says nothing about mobility: a society where everyone takes turns being poor can match the coefficient of one with a frozen underclass. It says nothing about absolute living standards either: a poor but equal country and a rich but unequal one are different worlds that one number cannot rank. None of this diminishes its usefulness as the standard summary, the figure that lets inequality enter debates about growth, health and politics with a common yardstick. It diminishes only the habit of stopping at one number. The companion guide on inequality takes the next step: asking not how to measure the gap, but what the gap does, and what, if anything, should be done about it.

Run the numbers yourself

The free calculator that goes with this guide:

Calculate a Gini coefficient