Gini Coefficient Calculator

Calculate the Gini coefficient to measure income or wealth inequality in a population. The Gini coefficient ranges from 0 (perfect equality) to 1 (maximum inequality).

Load Sample Data

Click a preset to load example income distribution data

Income Distribution by Quintile

Enter the income share (%) for each population quintile (20% of population each)

Bottom 20% %
Second 20% %
Middle 20% %
Fourth 20% %
Top 20% %

Total: 100%

Gini Coefficient

0.38

Moderate Inequality
0.0 - Perfect Equality 0.3 - Low 0.4 - Moderate 0.5 - High 1.0 - Maximum Inequality

Compare with Countries

See how your calculated Gini compares to real countries

What is the Gini Coefficient?

The Gini coefficient (also known as the Gini index or Gini ratio) is a statistical measure of inequality developed by the Italian statistician Corrado Gini in 1912. It quantifies the distribution of income or wealth among a population, with values ranging from 0 to 1.

A Gini coefficient of 0 represents perfect equality, where everyone has the same income. A coefficient of 1 represents maximum inequality, where one person has all the income and everyone else has none. In practice, real-world economies fall between these extremes, with most countries having Gini coefficients between 0.25 and 0.60.

Key Insight: The Gini coefficient is the most commonly used measure of income inequality worldwide. It allows for easy comparisons between countries and over time, making it invaluable for economists and policymakers.

Understanding the Lorenz Curve

The Lorenz curve is a graphical representation of income distribution that forms the basis for calculating the Gini coefficient. It plots the cumulative percentage of total income received against the cumulative percentage of the population, starting from the poorest.

How to Read a Lorenz Curve

The greater the bow (distance from the equality line), the more unequal the income distribution. When the Lorenz curve coincides with the equality line, income is perfectly distributed.

Gini Coefficient Formula

The Gini coefficient is calculated from the Lorenz curve using the following formula:

Gini Coefficient = A / (A + B)

Where:

Calculation Method for Quintile Data

When using quintile (five equal groups) income share data, the Gini coefficient can be approximated using the trapezoid formula:

Gini ≈ 1 - Σ(Xₖ - Xₖ₋₁)(Yₖ + Yₖ₋₁)

Where X represents cumulative population shares and Y represents cumulative income shares.

Example Calculation

Consider a country where income is distributed as follows:

  • Bottom 20%: receives 5% of income
  • Second 20%: receives 10% of income
  • Middle 20%: receives 15% of income
  • Fourth 20%: receives 22% of income
  • Top 20%: receives 48% of income

Cumulative income shares: 5%, 15%, 30%, 52%, 100%

Using the trapezoid formula, this yields a Gini coefficient of approximately 0.38, indicating moderate inequality.

Interpreting Gini Values

Different Gini coefficient ranges indicate different levels of inequality:

Gini Range Classification Description
0.00 - 0.20 Very Low Near-perfect equality, rarely seen in practice
0.20 - 0.30 Low Relatively equal distribution (Nordic countries)
0.30 - 0.40 Moderate Typical for developed nations
0.40 - 0.50 High Significant inequality (US, China)
0.50 - 0.60 Very High Severe inequality (many developing nations)
0.60+ Extreme Extreme concentration of wealth

World Gini Rankings

Gini coefficients vary significantly around the world. Here are examples from different regions:

Most Equal Countries (Low Gini)

Country Gini Index Region
Slovakia 0.232 Europe
Slovenia 0.244 Europe
Czech Republic 0.249 Europe
Iceland 0.256 Europe
Norway 0.270 Europe

Most Unequal Countries (High Gini)

Country Gini Index Region
South Africa 0.630 Africa
Namibia 0.591 Africa
Suriname 0.576 South America
Zambia 0.571 Africa
Brazil 0.530 South America

Major Economies

Country Gini Index Classification
United States 0.390 Moderate-High
China 0.382 Moderate
United Kingdom 0.351 Moderate
Japan 0.329 Moderate
Germany 0.317 Moderate

Limitations of the Gini Coefficient

While widely used, the Gini coefficient has several limitations:

Important Limitations:
  • Different distributions can produce the same Gini value
  • Doesn't show where inequality occurs (top, middle, or bottom)
  • Sensitive to data collection methods
  • May not capture informal economy or unreported income

Key Limitations Explained

1. Same Gini, Different Distributions

Two very different income distributions can produce identical Gini coefficients. A society where the middle class is squeezed might have the same Gini as one where only the poorest suffer.

2. No Absolute Poverty Measure

The Gini coefficient measures relative inequality, not absolute poverty. A country where everyone is poor but equally so would have a low Gini coefficient.

3. Doesn't Account for Public Services

The coefficient typically measures market income before taxes and transfers. Access to free healthcare, education, and other public services can significantly reduce actual inequality.

4. Cross-Country Comparisons

Different countries use different methodologies (income vs. consumption, household vs. individual), making direct comparisons challenging.

Practical Applications

The Gini coefficient is used in various contexts:

Policy Making

Economic Research

Beyond Income

The Gini coefficient can measure inequality in many distributions:

Historical Trends

Inequality patterns have evolved significantly over time:

Global Trends

United States Example

The US Gini coefficient has risen from about 0.35 in 1980 to approximately 0.39 in recent years, indicating growing income concentration.

Frequently Asked Questions

Can the Gini coefficient be negative?

No, the Gini coefficient cannot be negative. By definition, it ranges from 0 (perfect equality) to 1 (maximum inequality). Both the numerator (area A) and denominator (A + B) are always positive values derived from the Lorenz curve analysis.

What is the Gini coefficient of the United States?

The US Gini coefficient was approximately 0.39 as of recent data, which is relatively high for a developed country. This indicates significant income inequality compared to other wealthy nations like those in Western Europe (typically 0.25-0.35).

What does a Gini coefficient of 0 mean?

A Gini coefficient of 0 represents perfect equality, where every person in the population has exactly the same income. In this case, the Lorenz curve would be a straight diagonal line (the line of equality). This is a theoretical extreme that doesn't exist in real-world economies.

Why do Nordic countries have low Gini coefficients?

Nordic countries (Sweden, Norway, Denmark, Finland) have low Gini coefficients due to their comprehensive social welfare systems, progressive taxation, strong labor unions, high minimum wages, and universal access to education and healthcare. These policies redistribute income and reduce market inequality.

Is a lower Gini coefficient always better?

Not necessarily. While very high inequality can cause social problems, some income variation can provide incentives for education, hard work, and innovation. The optimal level of inequality is debated among economists. The key is ensuring that inequality doesn't prevent social mobility or equal opportunity.