Gini Coefficient — Definition, Formula & Example
The Gini coefficient is a single number between 0 and 1 that measures how unevenly a total, such as income, is shared across a group. A value of 0 means everyone has an equal share. A value near 1 means almost all of the total is concentrated in a small fraction of the group.
Let the Lorenz curve give the cumulative fraction of the total held by the poorest fraction of the population. The Gini coefficient is . Here is the area between the line of equality and , and is the area under on . Because , this is equivalent to .
Key Formula
Where:
- = Gini coefficient, from 0 (perfect equality) toward 1 (maximum inequality) when no values are negative
- = Area between the line of equality and the Lorenz curve
- = Area under the Lorenz curve, from population share 0 to 1
Worked Example
Problem: Four households earn $10,000, $20,000, $30,000, and $40,000 per year. Find the Gini coefficient of their incomes.
Step 1: Order the incomes from lowest to highest and find the total, $100,000. Each household is 25% of the population. Find the cumulative share of income at each 25% step.
Step 2: Find the area under the Lorenz curve. Connect the points with straight segments and add the areas of the four trapezoids. Each trapezoid has width 0.25.
Step 3: The area under the line of equality is 0.5, so . Divide by the total area of 0.5.
Answer: The Gini coefficient is 0.25, which shows fairly low inequality among these four households.
Why It Matters
The U.S. Census Bureau publishes a Gini index for household income every year. Economists use it to compare inequality across countries and over time. You will also meet the Lorenz curve and Gini coefficient in AP Microeconomics, where you interpret (not calculate) it when you study income distribution and the effects of tax policy.
Common Mistakes
Mistake: Reporting the area itself as the Gini coefficient, so the example above would give 0.125.
Correction: The Gini coefficient is a ratio. Divide by the whole triangle under the line of equality, which has area 0.5. That is why the shortcut is , not .
