Lorenz curves and the Gini coefficient

Interactive Lorenz curve and Gini coefficient explorer with Idaho and US Census data.

← PUBADM 513

Line up every household from poorest to richest. A Lorenz curve asks: what share of all income goes to the bottom 20%? The bottom 40%? If income were shared equally, the curve would follow the diagonal. The Gini coefficient measures the gap between the diagonal and the curve. It runs from 0 (everyone has the same income) to 1 (one household has everything).

Build your own economy. Here is the average household income in each fifth, in thousands of dollars:

Try this

  1. Set all five sliders to the same income. What does the curve look like, and what is the Gini?
  2. Now double every household’s income. Does the Gini change? What does that tell you about what the Gini measures, and what it doesn’t?
  3. Take $20k from the richest fifth and give it to the poorest fifth. How far does the Gini fall? Now move $20k from the middle fifth to the next fifth. Which transfer matters more?
  4. Try to match Idaho’s curve. Then try to match the United States. What separates the two?
  5. Why is the official Census Gini higher than the one computed from just five points? (Hint: what’s hidden inside each fifth?)

Data: U.S. Census Bureau, American Community Survey 2024 1-year estimates, tables B19082 and B19083. Margins of error on the Gini (90% confidence): Idaho ±0.007, United States ±0.001.

Read more: ESPP 5.10, Comparing inequality across the world and 5.12 Doing Economics: Measuring inequality.