Gini Coefficient Calculator

Calculate the Gini coefficient of income inequality from up to 10 incomes or from the income shares of five quintiles (the Lorenz curve).

Results

Enter your details and click Calculate to see your results.
About This Calculator

Enter up to 10 incomes (a small group, a company's pay or a classroom example) or switch to quintiles and enter the share of total income each fifth of households receives.

Example

Example: incomes of $20k, $35k, $50k, $70k and $125k have a Gini of 0.3267. US quintile shares of about 3%, 8%, 14%, 22% and 53% give about 0.46.

Assumptions

List mode: G = Σ|xᵢ − xⱼ| ÷ (2n²μ). Quintile mode: 1 − Σ (Xₖ − Xₖ₋₁)(Yₖ + Yₖ₋₁) from the Lorenz curve, which understates inequality within each fifth. US household Gini ≈ 0.48–0.49 (Census). Textbook macroeconomic relationships for learning and rough estimates — real economies are messier.

Frequently Asked Questions

What is a high Gini coefficient?

Above about 0.4 is considered high; Nordic countries are near 0.25–0.28 after taxes and transfers.

What does a Gini of 0 or 1 mean?

0 is perfect equality (everyone has the same); 1 is perfect inequality (one person has everything).

Related Calculators

About the Author

Imran Hossain
Imran Hossain

Professional SEO, Digital Marketer Specialist

I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist

View full profile