How to Calculate Gini Coefficient Using Lorenz Curve | Economic Inequality Calculator


How to Calculate Gini Coefficient Using Lorenz Curve

A professional tool for analyzing income and wealth distribution


Enter the percentage of total income held by the first quintile.
Please enter a value between 0 and 100.


Percentage of income held by the 20%-40% population segment.


Percentage of income held by the 40%-60% population segment.


Percentage of income held by the 60%-80% population segment.


Percentage of income held by the richest 20%.
Note: The sum of quintiles must equal 100%.


Gini Coefficient
0.380
Medium Inequality
Area Under Curve (B): 0.3100
Area of Inequality (A): 0.1900
Total Income Sum: 100%

Formula: G = (A) / (A + B) = 1 – 2B

Lorenz Curve Visualization

Cumulative Population % Cumulative Income %

The green line represents the Lorenz Curve. The dashed blue line is Perfect Equality.

What is How to Calculate Gini Coefficient Using Lorenz Curve?

When studying economics, understanding how to calculate gini coefficient using lorenz curve is fundamental for measuring inequality. The Gini Coefficient is a single statistical value ranging from 0 to 1 that represents the income or wealth distribution of a nation’s residents. A Gini of 0 represents perfect equality (everyone has the same income), while a Gini of 1 represents perfect inequality (one person has all the income).

Economists, policymakers, and social scientists use this methodology to track changes in social welfare over time. One common misconception is that a high Gini coefficient automatically means a country is poor. In reality, some wealthy nations have high Gini coefficients (like the USA), while some developing nations may have lower ones. The core utility of knowing how to calculate gini coefficient using lorenz curve is to visualize the gap between the actual distribution and a theoretical equal distribution.

How to Calculate Gini Coefficient Using Lorenz Curve: Formula and Mathematical Explanation

The process of how to calculate gini coefficient using lorenz curve relies on geometry. The Lorenz curve plots the cumulative percentage of total income received against the cumulative number of recipients, starting with the poorest individual or household.

The formula is derived from the areas on the Lorenz graph. Let A be the area between the line of perfect equality (the 45-degree line) and the Lorenz curve. Let B be the area under the Lorenz curve.

Gini Coefficient = A / (A + B)

Since the total area under the 45-degree line is 0.5 (in a 1×1 unit square), the formula simplifies to:

Gini = A / 0.5 = 2A = 1 – 2B

Variable Meaning Unit Typical Range
A Area of Inequality Area Units 0 to 0.5
B Area under Lorenz Curve Area Units 0 to 0.5
G Gini Coefficient Ratio 0.2 (Low) to 0.6 (High)
X Cumulative Population Percentage 0% to 100%

Practical Examples (Real-World Use Cases)

Example 1: The Balanced Economy

Imagine a small island nation with five citizens. If each citizen earns exactly 20% of the total wealth, the Lorenz Curve would fall exactly on the line of perfect equality. In this case, how to calculate gini coefficient using lorenz curve results in an Area A of zero.

Calculation: G = 0 / 0.5 = 0.

Example 2: Significant Concentration

In Country X, the bottom 80% of the population earns only 40% of the income, while the top 20% earns 60%. When we plot these points (0.2, 0.05), (0.4, 0.12), (0.6, 0.25), (0.8, 0.40), and (1.0, 1.00), the area B under the curve is calculated using the trapezoidal rule. If B sums to 0.30, then Area A is 0.20.

Gini Coefficient = 0.20 / 0.5 = 0.40.

How to Use This Gini Coefficient Calculator

  1. Gather your data: Divide your population into five equal groups (quintiles) and find the percentage of total income each group holds.
  2. Enter the values into the input fields above. Ensure the total equals 100%.
  3. The calculator will automatically plot the Lorenz Curve on the graph.
  4. Observe the Main Result: The Gini Coefficient will appear instantly.
  5. Review the intermediate values (Area A and Area B) to understand the geometric derivation.
  6. Use the “Copy Results” button to save your analysis for reports or academic papers.

Key Factors That Affect Gini Coefficient Results

  • Taxation Systems: Progressive tax systems generally lower the Gini coefficient by redistributing wealth from high-income earners to social programs.
  • Education Access: Widespread access to quality education tends to reduce long-term income inequality by empowering more citizens to enter high-paying sectors.
  • Labor Market Flexibility: Strict labor laws can sometimes protect existing workers but prevent new entrants, potentially increasing inequality.
  • Social Safety Nets: Transfer payments like unemployment benefits and social security directly increase the income share of the bottom quintiles.
  • Economic Structure: Countries relying on high-tech services often show higher inequality than manufacturing-based economies due to skill-biased technological change.
  • Inflation: High inflation often hits the poor hardest, as they have fewer assets that appreciate, leading to a rise in the Gini index.
1. Can the Gini Coefficient be greater than 1?

Theoretically, in cases of negative income (where people are in debt), the Gini coefficient could mathematically exceed 1, but in standard economic reporting, it is bounded between 0 and 1.

2. Is a Gini Coefficient of 0.4 good or bad?

It depends on the context. A Gini of 0.4 is considered a “warning level” by the UN, suggesting significant inequality that could lead to social unrest, though many developed nations hover around this mark.

3. How does the Lorenz Curve change during a recession?

If the recession hits low-wage workers harder, the Lorenz curve will bow further away from the 45-degree line, increasing the Gini coefficient.

4. Why use quintiles for the calculation?

Quintiles are a standard statistical convention that balances simplicity with enough detail to see trends in distribution.

5. Does Gini measure total wealth or annual income?

It can measure both. Income Gini and Wealth Gini are different; typically, wealth Gini is much higher than income Gini in most countries.

6. How to calculate gini coefficient using lorenz curve for small samples?

The trapezoidal rule used in this calculator is the most accurate method for discrete data points in small samples.

7. What is the difference between Gini Index and Gini Coefficient?

They are the same thing, but the “Index” is usually the coefficient multiplied by 100 (expressed as a percentage).

8. Can two countries have the same Gini but different Lorenz curves?

Yes. Different curve shapes can result in the same area A, which is why visualizing the curve is just as important as the final number.

Related Tools and Internal Resources

© 2024 Economics Insights. All rights reserved.

Expert analysis of how to calculate gini coefficient using lorenz curve for researchers and students.


Leave a Reply

Your email address will not be published. Required fields are marked *