Gini Coefficient Calculator

Calculate a Gini coefficient and Gini index from individual incomes, weighted income groups or cumulative Lorenz curve points.

Result
—

How to calculate

Order incomes from low to high and form cumulative population and income shares. Add the trapezoid areas under that curve, double the area and subtract it from one.

Worked example

Use Data type Individual incomes · Nonnegative incomes separated by commas or new lines 0, 10, 10, 20. The result is 0.375.

Input and result notes

This is the population Gini formula for the dataset supplied. Group means treat all members of a group as having the same income. For Lorenz points give cumulative percentages ending at 100, 100.

World Bank Gini index definition

Related calculators