The Gini index measures the extent to which the distribution of income (or, in some cases, consumption expenditure or other variables) among individuals or households within an economy deviates from a perfectly equal distribution. A Gini index of 0 represents perfect equality, while an index of 100 implies perfect inequality.