Gini Coefficient Calculator
Enter a list of income or wealth values to calculate the Gini coefficient and plot the Lorenz curve.
Income / Wealth Values
Load sample data
Gini Coefficient
—
Gini Index
—
(0–100 scale)
Values Used
—
Inequality Level
—
0 — Perfect Equality
1 — Maximum Inequality
Lorenz Curve
Enter values and click Calculate to see the Lorenz curve.
Gini Coefficient Reference
| Range | Inequality Level | Examples |
|---|---|---|
| 0.00 – 0.25 | Very Low | Nordic countries (~0.25–0.28) |
| 0.25 – 0.35 | Low | Germany (~0.31), France (~0.32) |
| 0.35 – 0.45 | Moderate | USA (~0.39), China (~0.38) |
| 0.45 – 0.55 | High | Mexico (~0.45), Turkey (~0.41) |
| 0.55 – 1.00 | Very High | South Africa (~0.63), Namibia (~0.59) |
Summary
Enter a list of income or wealth values to calculate the Gini coefficient and plot the Lorenz curve.
How it works
- Enter income or wealth values in the text area, one value per line.
- Click "Calculate" to sort the values in ascending order.
- The tool computes the Gini coefficient using the standard formula: G = (2 * sum of rank-weighted values) / (n * total) - (n + 1) / n.
- The Lorenz curve is plotted by mapping cumulative population share (x-axis) against cumulative income share (y-axis).
- The 45-degree line of perfect equality is drawn for comparison — the farther the Lorenz curve bows below it, the higher the inequality.
- Read the Gini coefficient (0–1 scale) and interpret it using the reference table shown.
Use cases
- Analyze income distribution data for a country, region, or organization.
- Compare inequality across different groups or time periods.
- Visualize how evenly or unevenly wealth is distributed among households.
- Economics coursework and homework on inequality and welfare economics.
- Policy research to assess the impact of tax or transfer programs on income distribution.
- Business analytics to understand revenue concentration across customers or products.
Frequently Asked Questions
Last updated: 2026-06-11 ·
Reviewed by Nham Vu