# Gini coefficient

In economics, the Gini coefficient (/ˈdʒiːni/ JEE-nee), also known as the Gini index or Gini ratio, is a measure of statistical dispersion intended to represent the income inequality, the wealth inequality, or the consumption inequality within a nation or a social group. It was developed by Italian statistician and sociologist Corrado Gini.
The Gini coefficient measures the inequality among the values of a frequency distribution, such as income levels. A Gini coefficient of 0 reflects perfect equality, where all income or wealth values are the same. In contrast, a Gini coefficient of 1 (or 100%) reflects maximal inequality among values, where a single individual has all the income while all others have none.
Corrado Gini proposed the Gini coefficient as a measure of inequality of income or wealth. For OECD countries in the late 20th century, considering the effect of taxes and transfer payments, the income Gini coefficient ranged between 0.24 and 0.49, with Slovakia being the lowest and Mexico the highest. African countries had the highest pre-tax Gini coefficients in 2008–2009, with South Africa having the world's highest, estimated to be 0.63 to 0.7. However, this figure drops to 0.52 after social assistance is taken into account and drops again to 0.47 after taxation. Slovakia has the lowest Gini coefficient, with a Gini coefficient of 0.232. Various sources have estimated the Gini coefficient of the global income in 2005 to be between 0.61 and 0.68.
There are multiple issues in interpreting a Gini coefficient, as the same value may result from many different distribution curves. The demographic structure should be taken into account to mitigate this. Countries with an aging population or those with an increased birth rate experience an increasing pre-tax Gini coefficient even if real income distribution for working adults remains constant. Many scholars have devised over a dozen variants of the Gini coefficient.

## History

The Italian statistician Corrado Gini developed the Gini coefficient and published it in his 1912 paper Variabilità e mutabilità (English: variability and mutability). Building on the work of American economist Max Lorenz, Gini proposed using the difference between the hypothetical straight line depicting perfect equality and the actual line depicting people's incomes as a measure of inequality. In this paper, he introduced the concept of simple mean difference as a measure of variability.
He then applied the simple mean difference of observed variables to income and wealth inequality in his work On the measurement of concentration and variability of characters in 1914. Here, he presented the concentration ratio, which further developed into today's Gini coefficient. Secondly, Gini observed that improving methods introduced by Lorenz, Chatelain, or Séailles could also achieve his proposed ratio.
In 1915, Gaetano Pietra introduced a geometrical interpretation between Gini's proposed ratio and between the observed area of concentration and maximum concentration. This altered version of the Gini coefficient became the most commonly used inequality index in upcoming years.
According to data from the OECD, the Gini coefficient was first officially used country-wide in Canada in the 1970s. Canadian index of income inequality ranged from 0.303 to 0.284 from 1976 to the end of the 1980s. The OECD has published more data on countries since the start of the 21st century. The Central European countries of Slovenia, Czechia, and Slovakia have had the lowest inequality index of all OECD countries ever since the 2000s. Scandinavian countries also frequently appeared at the top of the equality list in recent decades.

## Definition

The Gini coefficient is an index for the degree of inequality in the distribution of income/wealth, used to estimate how far a country's wealth or income distribution deviates from an equal distribution.
The Gini coefficient is usually defined mathematically based on the Lorenz curve, which plots the proportion of the total income of the population (y-axis) that is cumulatively earned by the bottom x of the population (see diagram). The line at 45 degrees thus represents perfect equality of incomes. The Gini coefficient can then be thought of as the ratio of the area that lies between the line of equality and the Lorenz curve (marked A in the diagram) over the total area under the line of equality (marked A and B in the diagram); i.e., G = A/(A + B). If there are no negative incomes, it is also equal to 2A and 1 − 2B due to the fact that A + B = 0.5.
Assuming non-negative income or wealth for all, the Gini coefficient's theoretical range is from 0 (total equality) to 1 (absolute inequality). This measure is often rendered as a percentage, spanning 0 to 100. However, if negative values are factored in, as in cases of debt, the Gini index could exceed 1. Typically, we presuppose a positive mean or total, precluding a Gini coefficient below zero.
An alternative approach is to define the Gini coefficient as half of the relative mean absolute difference, which is equivalent to the definition based on the Lorenz curve. The mean absolute difference is the average absolute difference of all pairs of items of the population, and the relative mean absolute difference is the mean absolute difference divided by the average, ${\bar {x}}$, to normalize for scale. If x$_i$ is the wealth or income of person i, and there are n persons, then the Gini coefficient G is given by:
    $G={\frac {\displaystyle {\sum _{i=1}^{n}\sum _{j=1}^{n}\left|x_{i}-x_{j}\right|}}{\displaystyle {2n^{2}{\bar {x}}}}}={\frac {\displaystyle {\sum _{i=1}^{n}\sum _{j=1}^{n}\left|x_{i}-x_{j}\right|}}{\displaystyle {2n\sum _{i=1}^{n}x_{i}}}}$
When the income (or wealth) distribution is given as a continuous probability density function p(x), the Gini coefficient is again half of the relative mean absolute difference:
    $G={\frac {1}{2\mu }}\int _{-\infty }^{\infty }\int _{-\infty }^{\infty }p(x)p(y)\,|x-y|\,dx\,dy$
where $\textstyle \mu =\int _{-\infty }^{\infty }xp(x)\,dx$ is the mean of the distribution, and the lower limits of integration may be replaced by zero when all incomes are positive.

## Calculation

While the income distribution of any particular country will not correspond perfectly to the theoretical models, these models can provide a qualitative explanation of the income distribution in a nation given the Gini coefficient.

### Example: Two levels of income

The extreme cases are represented by the most equal possible society in which every person receives the same income (G = 0), and the most unequal society (with N individuals) where a single person receives 100% of the total income and the remaining N − 1 people receive none (G = 1 − 1/N).
A simple case assumes just two levels of income, low and high. If the high income group is a proportion u of the population and earns a proportion f of all income, then the Gini coefficient is f − u. A more graded distribution with these same values u and f will always have a higher Gini coefficient than f − u.
For example, if the wealthiest u = 20% of the population has f = 80% of all income (see Pareto principle), the income Gini coefficient is at least 60%. In another example, if u = 1% of the world's population owns f = 50% of all wealth, the wealth Gini coefficient is at least 49%.

### Alternative expressions

In some cases, this equation can be applied to calculate the Gini coefficient without direct reference to the Lorenz curve. For example, (taking y to indicate the income or wealth of a person or household):
* For a population of n individuals with values $y_{1}\leq y_{2}\leq \cdots \leq y_{n}$,
       $G={\frac {1}{n}}\left(n+1-2\left({\frac {\sum _{i=1}^{n}(n+1-i)y_{i}}{\sum _{i=1}^{n}y_{i}}}\right)\right).$
    This may be simplified to:
       $G={\frac {2\sum _{i=1}^{n}iy_{i}}{n\sum _{i=1}^{n}y_{i}}}-{\frac {n+1}{n}}.$
The Gini coefficient can also be considered as half the relative mean absolute difference. For a random sample S with values $y_{1}\leq y_{2}\leq \cdots \leq y_{n}$, the sample Gini coefficient
    $G(S)={\frac {1}{n-1}}\left(n+1-2\left({\frac {\sum _{i=1}^{n}(n+1-i)y_{i}}{\sum _{i=1}^{n}y_{i}}}\right)\right)$
is a consistent estimator of the population Gini coefficient, but is not in general unbiased. In simplified form:
    $G(S)=1-{\frac {2}{n-1}}\left(n-{\frac {\sum _{i=1}^{n}iy_{i}}{\sum _{i=1}^{n}y_{i}}}\right).$
There does not exist a sample statistic that is always an unbiased estimator of the population Gini coefficient.

### Discrete probability distribution

For a discrete probability distribution with probability mass function $f(y_{i}),$ $i=1,\ldots ,n$, where $f(y_{i})$ is the fraction of the population with income or wealth $y_{i}>0$, the Gini coefficient is:
    $G={\frac {1}{2\mu }}\sum \limits _{i=1}^{n}\sum \limits _{j=1}^{n}\,f(y_{i})f(y_{j})|y_{i}-y_{j}|$
where
    $\mu =\sum \limits _{i=1}^{n}y_{i}f(y_{i}).$
If the points with non-zero probabilities are indexed in increasing order $(y_{i}<y_{i+1})$, then:
    $G=1-{\frac {\sum _{i=1}^{n}f(y_{i})(S_{i-1}+S_{i})}{S_{n}}}$
where
    $S_{i}=\sum _{j=1}^{i}f(y_{j})\,y_{j}\,$ and $S_{0}=0.$ These formulas are also applicable in the limit, as $n\rightarrow \infty .$

### Continuous probability distribution

When the population is large, the income distribution may be represented by a continuous probability density function f(x) where f(x) dx is the fraction of the population with wealth or income in the interval dx about x. If F(x) is the cumulative distribution function for f(x):
    $F(x)=\int _{0}^{x}f(x)\,dx$
and L(x) is the Lorenz function:
    $L(x)={\frac {\int _{0}^{x}x\,f(x)\,dx}{\int _{0}^{\infty }x\,f(x)\,dx}}$
then the Lorenz curve L(F) may then be represented as a function parametric in L(x) and F(x) and the value of B can be found by integration:
    $B=\int _{0}^{1}L(F)\,dF.$
The Gini coefficient can also be calculated directly from the cumulative distribution function of the distribution F(y). Defining μ as the mean of the distribution, and specifying that F(y) is zero for all negative values, the Gini coefficient is given by:
    $G=1-{\frac {1}{\mu }}\int _{0}^{\infty }(1-F(y))^{2}\,dy={\frac {1}{\mu }}\int _{0}^{\infty }F(y)(1-F(y))\,dy$
The latter result comes from integration by parts. (Note that this formula can be applied when there are negative values if the integration is taken from minus infinity to plus infinity.)
The Gini coefficient may be expressed in terms of the quantile function Q(F) (inverse of the cumulative distribution function: Q(F(x)) = x)
    $G={\frac {1}{2\mu }}\int _{0}^{1}\int _{0}^{1}|Q(F_{1})-Q(F_{2})|\,dF_{1}\,dF_{2}.$
Since the Gini coefficient is independent of scale, if the distribution function can be expressed in the form f(x,φ,a,b,c...) where φ is a scale factor and a, b, c... are dimensionless parameters, then the Gini coefficient will be a function only of a, b, c.... For example, for the exponential distribution, which is a function of only x and a scale parameter, the Gini coefficient is a constant, equal to 1/2.
For some functional forms, the Gini index can be calculated explicitly. For example, if y follows a log-normal distribution with the standard deviation of logs equal to $\sigma$, then $G=\operatorname {erf} \left({\frac {\sigma }{2}}\right)$ where $\operatorname {erf}$ is the error function ( since $G=2\Phi \left({\frac {\sigma }{\sqrt {2}}}\right)-1$, where $\Phi$ is the cumulative distribution function of a standard normal distribution). In the table below, some examples for probability density functions with support on $[0,\infty )$ are shown. The Dirac delta distribution represents the case where everyone has the same wealth (or income); it implies no variations between incomes.
    Income Distribution functionPDF(x)Gini Coefficient Dirac delta function$\delta (x-x_{0}),\,x_{0}>0$0 Uniform distribution ${\begin{cases}{\frac {1}{b-a}}&a\leq x\leq b\\0&\mathrm {otherwise} \end{cases}}$ ${\frac {(b-a)}{3(b+a)}}$ Exponential distribution $\lambda e^{-x\lambda },\,\,x>0$ $1/2$ Log-normal distribution ${\frac {1}{x\sigma {\sqrt {2\pi }}}}e^{-{\frac {1}{2}}\left({\frac {\ln \,(x)-\mu }{\sigma }}\right)^{2}}$ ${\textrm {erf}}(\sigma /2)=2\Phi \left({\frac {\sigma }{\sqrt {2}}}\right)-1$ Pareto distribution ${\begin{cases}{\frac {\alpha k^{\alpha }}{x^{\alpha +1}}}&x\geq k\\0&x<k\end{cases}}$ ${\begin{cases}1&0<\alpha <1\\{\frac {1}{2\alpha -1}}&\alpha \geq 1\end{cases}}$ Chi distribution $f(x;k)={\begin{cases}{\dfrac {x^{k-1}e^{-x^{2}/2}}{2^{k/2-1}\Gamma \left({\frac {k}{2}}\right)}},&x\geq 0\\0,&x<0\end{cases}}$ $(-1)^{k}\left|I_{-1}(k,{\tfrac {1}{2}})\right|$ Chi-squared distribution ${\frac {2^{-k/2}e^{-x/2}x^{k/2-1}}{\Gamma (k/2)}}$ ${\frac {2\,\Gamma \left({\frac {1+k}{2}}\right)}{k\,\Gamma (k/2){\sqrt {\pi }}}}$ Gamma distribution ${\frac {e^{-x/\theta }x^{k-1}\theta ^{-k}}{\Gamma (k)}}$ ${\frac {\Gamma \left({\frac {2k+1}{2}}\right)}{k\,\Gamma (k){\sqrt {\pi }}}}$ Weibull distribution ${\frac {k}{\lambda }}\,\left({\frac {x}{\lambda }}\right)^{k-1}e^{-(x/\lambda )^{k}}$ $1-2^{-1/k}$ Beta distribution ${\frac {x^{\alpha -1}(1-x)^{\beta -1}}{B(\alpha ,\beta )}}$ $\left({\frac {2}{\alpha }}\right){\frac {B(\alpha +\beta ,\alpha +\beta )}{B(\alpha ,\alpha )B(\beta ,\beta )}}$ Log-logistic distribution ${\frac {(\beta /\alpha )(x/\alpha )^{\beta -1}}{\left(1+(x/\alpha )^{\beta }\right)^{2}}}$ $1/\beta$
* $\Gamma (\,)$ is the Gamma function
* $B(\,)$ is the Beta function
* $I_{k}(\,)$ is the Regularized incomplete beta function

### Other approaches

Sometimes the entire Lorenz curve is not known, and only values at certain intervals are given. In that case, the Gini coefficient can be approximated using various techniques for interpolating the missing values of the Lorenz curve. If (X$_k$, Y$_k$) are the known points on the Lorenz curve, with the X$_k$ indexed in increasing order (X$_{k–1}$ < X$_k$), so that:
* X$_k$ is the cumulated proportion of the population variable, for k = 0,...,n, with X$_0$ = 0, X$_n$ = 1.
* Y$_k$ is the cumulated proportion of the income variable, for k = 0,...,n, with Y$_0$ = 0, Y$_n$ = 1.
* Y$_k$ should be indexed in non-decreasing order (Y$_k$ > Y$_{k–1}$)
If the Lorenz curve is approximated on each interval as a line between consecutive points, then the area B can be approximated with trapezoids and:
    $G_{1}=1-\sum _{k=1}^{n}(X_{k}-X_{k-1})(Y_{k}+Y_{k-1})$
is the resulting approximation for G. More accurate results can be obtained using other methods to approximate the area B, such as approximating the Lorenz curve with a quadratic function across pairs of intervals or building an appropriately smooth approximation to the underlying distribution function that matches the known data. If the population mean and boundary values for each interval are also known, these can also often be used to improve the accuracy of the approximation.
The Gini coefficient calculated from a sample is a statistic, and its standard error, or confidence intervals for the population Gini coefficient, should be reported. These can be calculated using bootstrap techniques, mathematically complicated and computationally demanding even in an era of fast computers. Economist Tomson Ogwang made the process more efficient by setting up a "trick regression model" in which respective income variables in the sample are ranked, with the lowest income being allocated rank 1. The model then expresses the rank (dependent variable) as the sum of a constant A and a normal error term whose variance is inversely proportional to y$_k$:
    $k=A+\ N(0,s^{2}/y_{k})$
Thus, G can be expressed as a function of the weighted least squares estimate of the constant A and that this can be used to speed up the calculation of the jackknife estimate for the standard error. Economist David Giles argued that the standard error of the estimate of A can be used to derive the estimate of G directly without using a jackknife. This method only requires using ordinary least squares regression after ordering the sample data. The results compare favorably with the estimates from the jackknife with agreement improving with increasing sample size.
However, it has been argued that this depends on the model's assumptions about the error distributions and the independence of error terms. These assumptions are often not valid for real data sets. There is still ongoing debate surrounding this topic.
Guillermina Jasso and Angus Deaton independently proposed the following formula for the Gini coefficient:
    $G={\frac {N+1}{N-1}}-{\frac {2}{N(N-1)\mu }}(\sum _{i=1}^{n}P_{i}X_{i})$
where $\mu$ is mean income of the population, P$_i$ is the income rank P of person i, with income X, such that the richest person receives a rank of 1 and the poorest a rank of N. This effectively gives higher weight to poorer people in the income distribution, which allows the Gini to meet the Transfer Principle. Note that the Jasso-Deaton formula rescales the coefficient so that its value is one if all the $X_{i}$ are zero except one. Note however Allison's reply on the need to divide by N² instead.
FAO explains another version of the formula.

## Generalized inequality indices

The Gini coefficient and other standard inequality indices reduce to a common form. Perfect equality—the absence of inequality—exists when and only when the inequality ratio, $r_{j}=x_{j}/{\overline {x}}$, equals 1 for all j units in some population (for example, there is perfect income equality when everyone's income $x_{j}$ equals the mean income ${\overline {x}}$, so that $r_{j}=1$ for everyone). Measures of inequality, then, are measures of the average deviations of the $r_{j}=1$ from 1; the greater the average deviation, the greater the inequality. Based on these observations the inequality indices have this common form:
    ${\text{Inequality}}=\sum _{j}p_{j}\,f(r_{j}),$
where p$_j$ weights the units by their population share, and f(r$_j$) is a function of the deviation of each unit's r$_j$ from 1, the point of equality. The insight of this generalized inequality index is that inequality indices differ because they employ different functions of the distance of the inequality ratios (the r$_j$) from 1.

## Of income distributions

Gini coefficients of income are calculated on a market income and a disposable income basis. The Gini coefficient on market income—sometimes referred to as a pre-tax Gini coefficient—is calculated on income before taxes and transfers. It measures inequality in income without considering the effect of taxes and social spending already in place in a country. The Gini coefficient on disposable income—sometimes referred to as the after-tax Gini coefficient—is calculated on income after taxes and transfers. It measures inequality in income after considering the effect of taxes and social spending already in place in a country.
For OECD countries over the 2008–2009 period, the Gini coefficient (pre-taxes and transfers) for a total population ranged between 0.34 and 0.53, with South Korea the lowest and Italy the highest. The Gini coefficient (after-taxes and transfers) for a total population ranged between 0.25 and 0.48, with Denmark the lowest and Mexico the highest. For the United States, the country with the largest population among OECD countries, the pre-tax Gini index was 0.49, and the after-tax Gini index was 0.38 in 2008–2009. The OECD average for total populations in OECD countries was 0.46 for the pre-tax income Gini index and 0.31 for the after-tax income Gini index. Taxes and social spending that were in place in 2008–2009 period in OECD countries significantly lowered effective income inequality, and in general, "European countries—especially Nordic and Continental welfare states—achieve lower levels of income inequality than other countries."
Using the Gini can help quantify differences in welfare and compensation policies and philosophies. However, it should be borne in mind that the Gini coefficient can be misleading when used to make political comparisons between large and small countries or those with different immigration policies (see limitations section).
The Gini coefficient for the entire world has been estimated by various parties to be between 0.61 and 0.68. The graph shows the values expressed as a percentage in their historical development for a number of countries.

### Regional income Gini indices

According to UNICEF, Latin America and the Caribbean region had the highest net income Gini index in the world at 48.3, on an unweighted average basis in 2008. The remaining regional averages were: sub-Saharan Africa (44.2), Asia (40.4), Middle East and North Africa (39.2), Eastern Europe and Central Asia (35.4), and High-income Countries (30.9). Using the same method, the United States is claimed to have a Gini index of 36, while South Africa had the highest income Gini index score of 67.8.

### World income Gini index since 1800s

Taking income distribution of all human beings, worldwide income inequality has been constantly increasing since the early 19th century (and will keep on increasing over the years) . There was a steady increase in the global income inequality Gini score from 1820 to 2002, with a significant increase between 1980 and 2002. This trend appears to have peaked and begun a reversal with rapid economic growth in emerging economies, particularly in the large populations of BRIC countries.
The table below presents the estimated world income Gini coefficients over the last 200 years, as calculated by Milanovic.
Income Gini coefficient - World, 1820–2005 :
| Year | World Gini coefficients |
| 1820 | 0.43 |
| 1850 | 0.53 |
| 1870 | 0.56 |
| 1913 | 0.61 |
| 1929 | 0.62 |
| 1950 | 0.64 |
| 1960 | 0.64 |
| 1980 | 0.66 |
| 2002 | 0.71 |
| 2005 | 0.68 |
More detailed data from similar sources plots a continuous decline since 1988. This is attributed to globalization increasing incomes for billions of poor people, mostly in countries like China and India. Developing countries like Brazil have also improved basic services like health care, education, and sanitation; others like Chile and Mexico have enacted more progressive tax policies.
Income Gini coefficient - World, 1988–2013 :
| Year | World Gini coefficients |
| 1988 | 0.80 |
| 1993 | 0.76 |
| 1998 | 0.74 |
| 2003 | 0.72 |
| 2008 | 0.70 |
| 2013 | 0.65 |

## Of social development

The Gini coefficient is widely used in fields as diverse as sociology, economics, health science, ecology, engineering, and agriculture. For example, in social sciences and economics, in addition to income Gini coefficients, scholars have published education Gini coefficients and opportunity Gini coefficients.

### Education

Education Gini index estimates the inequality in education for a given population. It is used to discern trends in social development through educational attainment over time. A study across 85 countries by three World Bank economists, Vinod Thomas, Yan Wang, and Xibo Fan, estimated Mali had the highest education Gini index of 0.92 in 1990 (implying very high inequality in educational attainment across the population), while the United States had the lowest education inequality Gini index of 0.14. Between 1960 and 1990, China, India and South Korea had the fastest drop in education inequality Gini Index. They also claim education Gini index for the United States slightly increased over the 1980–1990 period.
Though India's education Gini Index has been falling from 1960 through 1990, most of the population still has not received any education, while 10 percent of the population received more than 40% of the total educational hours in the nation. This means that a large portion of capable children in the country are not receiving the support necessary to allow them to become positive contributors to society. This will lead to a deadweight loss to the national society because there are many people who are underdeveloped and underutilized.

### Opportunity

Similar in concept to the Gini income coefficient, the Gini opportunity coefficient measures inequality in opportunities. The concept builds on Amartya Sen's suggestion that inequality coefficients of social development should be premised on the process of enlarging people's choices and enhancing their capabilities, rather than on the process of reducing income inequality. Kovacevic, in a review of the Gini opportunity coefficient, explained that the coefficient estimates how well a society enables its citizens to achieve success in life where the success is based on a person's choices, efforts and talents, not their background defined by a set of predetermined circumstances at birth, such as gender, race, place of birth, parent's income and circumstances beyond the control of that individual.
In 2003, Roemer reported Italy and Spain exhibited the largest opportunity inequality Gini index amongst advanced economies.

### Income mobility

In 1978, Anthony Shorrocks introduced a measure based on income Gini coefficients to estimate income mobility. This measure, generalized by Maasoumi and Zandvakili, is now generally referred to as Shorrocks index, sometimes as Shorrocks mobility index or Shorrocks rigidity index. It attempts to estimate whether the income inequality Gini coefficient is permanent or temporary and to what extent a country or region enables economic mobility to its people so that they can move from one (e.g., bottom 20%) income quantile to another (e.g., middle 20%) over time. In other words, the Shorrocks index compares inequality of short-term earnings, such as the annual income of households, to inequality of long-term earnings, such as 5-year or 10-year total income for the same households.
Shorrocks index is calculated in several different ways, a common approach being from the ratio of income Gini coefficients between short-term and long-term for the same region or country.
A 2010 study using social security income data for the United States since 1937 and Gini-based Shorrock's indices concludes that income mobility in the United States has had a complicated history, primarily due to the mass influx of women into the American labor force after World War II. Income inequality and income mobility trends have been different for men and women workers between 1937 and the 2000s. When men and women are considered together, the Gini coefficient-based Shorrocks index trends imply long-term income inequality has been substantially reduced among all workers, in recent decades for the United States. Other scholars, using just 1990s data or other short periods have come to different conclusions. For example, Sastre and Ayala conclude from their study of income Gini coefficient data between 1993 and 1998 for six developed economies that France had the least income mobility, Italy the highest, and the United States and Germany intermediate levels of income mobility over those five years.

## Features

The Gini coefficient has features that make it useful as a measure of dispersion in a population, and inequalities in particular. The coefficient ranges from 0, for perfect equality, to 1, indicating perfect inequality. The Gini is based on the comparison of cumulative proportions of the population against cumulative proportions of income they receive.

## Limitations
### Relative, not absolute

The Gini coefficient is a relative measure. The Gini coefficient of a developing country can rise (due to increasing inequality of income) even when the number of people in absolute poverty decreases. This is because the Gini coefficient measures relative, not absolute, wealth.
Gini coefficients are simple, and this simplicity can lead to oversights and can confuse the comparison of different populations; for example, while both Bangladesh (per capita income of $1,693) and the Netherlands (per capita income of $42,183) had an income Gini coefficient of 0.31 in 2010, the quality of life, economic opportunity and absolute income in these countries are very different, i.e. countries may have identical Gini coefficients, but differ greatly in wealth. Basic necessities may be available to all in a developed economy, while in an undeveloped economy with the same Gini coefficient, basic necessities may be unavailable to most or unequally available due to lower absolute wealth.

### Mathematical limitations

Gini has some mathematical limitations as well. It is not additive and different sets of people cannot be averaged to obtain the Gini coefficient of all the people in the sets.
Table A. Different income distributions with the same Gini index :
| Household group | Country A annual income ($) | Country B annual income ($) |
| 1 | 20,000 | 9,000 |
| 2 | 30,000 | 40,000 |
| 3 | 40,000 | 48,000 |
| 4 | 50,000 | 48,000 |
| 5 | 60,000 | 55,000 |
| Total income | $200,000 | $200,000 |
| Country's Gini | 0.2 | 0.2 |
Even when the total income of a population is the same, in certain situations two countries with different income distributions can have the same Gini index (e.g. cases when income Lorenz Curves cross). Table A illustrates one such situation. Both countries have a Gini coefficient of 0.2, but the average income distributions for household groups are different. As another example, in a population where the lowest 50% of individuals have no income, and the other 50% have equal income, the Gini coefficient is 0.5; whereas for another population where the lowest 75% of people have 25% of income and the top 25% have 75% of the income, the Gini index is also 0.5. Economies with similar incomes and Gini coefficients can have very different income distributions. Bellù and Liberati claim that ranking income inequality between two populations is not always possible based on their Gini indices. Similarly, computational social scientist Fabian Stephany illustrates that income inequality within the population, e.g., in specific socioeconomic groups of same age and education, also remains undetected by conventional Gini indices.

### Income Gini can conceal wealth inequality

A Gini index does not contain information about absolute national or personal incomes. Populations can simultaneously have very low income Gini indices and very high wealth Gini indexes. By measuring inequality in income, the Gini ignores the differential efficiency of the use of household income. By ignoring wealth (except as it contributes to income), the Gini can create the appearance of inequality when the people compared are at different stages in their life. Wealthy countries such as Sweden can show a low Gini coefficient for the disposable income of 0.31, thereby appearing equal, yet have a very high Gini coefficient for wealth of 0.79 to 0.86, suggesting an extremely unequal wealth distribution in its society. These factors are not assessed in income-based Gini.

### Country size and granularity bias

Gini index has a downward-bias for small populations. Counties or states or countries with small populations and less diverse economies will tend to report small Gini coefficients. For economically diverse large population groups, a much higher coefficient is expected than for each of its regions. For example, taking the world economy as a whole and income distribution for all human beings, different scholars estimate the global Gini index to range between 0.61 and 0.68. As with other inequality coefficients, the Gini coefficient is influenced by the granularity of the measurements. For example, five 20% quantiles (low granularity) will usually yield a lower Gini coefficient than twenty 5% quantiles (high granularity) for the same distribution. Philippe Monfort has shown that using inconsistent or unspecified granularity limits the usefulness of Gini coefficient measurements.

### Changes in population

Changing income inequality, measured by Gini coefficients, can be due to structural changes in a society such as growing population (increased birth rates, aging populations, emigration, immigration) and income mobility.
Another limitation of the Gini coefficient is that it is not a proper measure of egalitarianism, as it only measures income dispersion. For example, suppose two equally egalitarian countries pursue different immigration policies. In that case, the country accepting a higher proportion of low-income or impoverished migrants will report a higher Gini coefficient and, therefore, may exhibit more income inequality.

### Household vs individual

Table B. Same income distributions, but different Gini Index :
| Household number | Country Annual Income ($) | Household combined number | Country A combined Annual Income ($) |
| 1 | 20,000 | 1 & 2 | 50,000 |
| 2 | 30,000 | 1 & 2 | 50,000 |
| 3 | 40,000 | 3 & 4 | 90,000 |
| 4 | 50,000 | 3 & 4 | 90,000 |
| 5 | 60,000 | 5 & 6 | 130,000 |
| 6 | 70,000 | 5 & 6 | 130,000 |
| 7 | 80,000 | 7 & 8 | 170,000 |
| 8 | 90,000 | 7 & 8 | 170,000 |
| 9 | 120,000 | 9 & 10 | 270,000 |
| 10 | 150,000 | 9 & 10 | 270,000 |
| Total Income | $710,000 | | $710,000 |
| Country's Gini | 0.303 | | 0.293 |
The Gini coefficient measure gives different results when applied to individuals instead of households, for the same economy and same income distributions. If household data is used, the measured value of income Gini depends on how the household is defined. The comparison is not meaningful when different populations are not measured with consistent definitions. Furthermore, changes to the household income Gini can be driven by changes in household formation, such as increased divorce rates or extended family households splitting into nuclear families.
Deininger and Squire (1996) show that the income Gini coefficient based on individual income rather than household income is different. For example, for the United States, they found that the individual income-based Gini index was 0.35, while for France, 0.43. According to their individual-focused method, in the 108 countries they studied, South Africa had the world's highest Gini coefficient at 0.62, Malaysia had Asia's highest Gini coefficient at 0.5, Brazil the highest at 0.57 in Latin America and the Caribbean region, and Turkey the highest at 0.5 in OECD countries.
Billionaire Thomas Kwok claimed the income Gini coefficient for Hong Kong has been high (0.434 in 2010), in part because of structural changes in its population. Over recent decades, Hong Kong has witnessed increasing numbers of small households, elderly households, and elderly living alone. The combined income is now split into more households. Many older people live separately from their children in Hong Kong. These social changes have caused substantial changes in household income distribution. The income Gini coefficient, claims Kwok, does not discern these structural changes in its society. Household money income distribution for the United States, summarized in Table C of this section, confirms that this issue is not limited to just Hong Kong. According to the US Census Bureau, between 1979 and 2010, the population of the United States experienced structural changes in overall households; the income for all income brackets increased in inflation-adjusted terms, household income distributions shifted into higher income brackets over time, while the income Gini coefficient increased.
Table C. Household money income distributions and Gini Index, US :
| Income bracket (in 2010 adjusted dollars) | % of Population 1979 | % of Population 2010 |
| Under $15,000 | 14.6% | 13.7% |
| $15,000 – $24,999 | 11.9% | 12.0% |
| $25,000 – $34,999 | 12.1% | 10.9% |
| $35,000 – $49,999 | 15.4% | 13.9% |
| $50,000 – $74,999 | 22.1% | 17.7% |
| $75,000 – $99,999 | 12.4% | 11.4% |
| $100,000 – $149,999 | 8.3% | 12.1% |
| $150,000 – $199,999 | 2.0% | 4.5% |
| $200,000 and over | 1.2% | 3.9% |
| Total Households | 80,776,000 | 118,682,000 |
| United States' Gini on pre-tax basis | 0.404 | 0.469 |

### Instantaneous inequality vs lifetime inequality

The Gini coefficient is unable to discern the effects of structural changes in populations. Expanding on the importance of life-span measures, the Gini coefficient as a point-estimate of equality at a certain time ignores life-span changes in income. Typically, increases in the proportion of young or old members of a society will drive apparent changes in equality simply because people generally have lower incomes and wealth when they are young than when they are old. Because of this, factors such as age distribution within a population and mobility within income classes can create the appearance of inequality when none exist, taking into account demographic effects. Thus a given economy may have a higher Gini coefficient at any timepoint compared to another, while the Gini coefficient calculated over individuals' lifetime income is lower than the apparently more equal (at a given point in time) economy's. Essentially, what matters is not just inequality in any particular year but the distribution composition over time.

### Benefits and income in kind

Inaccuracies in assign monetary value to income in kind reduce the accuracy of Gini as a measurement of true inequality.
While taxes and cash transfers are relatively straightforward to account for, other government benefits can be difficult to value. Benefits such as subsidized housing, medical care, and education are difficult to value objectively, as it depends on the quality and extent of the benefit. In absence of a free market, valuing these income transfers as household income is subjective. The theoretical model of the Gini coefficient is limited to accepting correct or incorrect subjective assumptions.
In subsistence-driven and informal economies, people may have significant income in other forms than money, for example, through subsistence farming or bartering. These forms of income tend to accrue to poor segments of populations in emerging and transitional economy countries such as those in sub-Saharan Africa, Latin America, Asia, and Eastern Europe. Informal economy accounts for over half of global employment and as much as 90 percent of employment in some of the poorer sub-Saharan countries with high official Gini inequality coefficients. Schneider et al., in their 2010 study of 162 countries, report about 31.2%, or about $20 trillion, of world's GDP is informal. In developing countries, the informal economy predominates for all income brackets except the richer, urban upper-income bracket populations. Even in developed economies, 8% (United States) to 27% (Italy) of each nation's GDP is informal. The resulting informal income predominates as a livelihood activity for those in the lowest income brackets. The value and distribution of the incomes from informal or underground economy is difficult to quantify, making true income Gini coefficients estimates difficult. Different assumptions and quantifications of these incomes will yield different Gini coefficients.

## Alternatives

Given the limitations of the Gini coefficient, other statistical methods are used in combination or as an alternative measure of population dispersity. For example, entropy measures are frequently used (e.g. the Atkinson index or the Theil Index and Mean log deviation as special cases of the generalized entropy index). These measures attempt to compare the distribution of resources by intelligent agents in the market with a maximum entropy random distribution, which would occur if these agents acted like non-interacting particles in a closed system following the laws of statistical physics.
The Ortego two-parameter model may be superior to the GINI index.

## Relation to other statistical measures

There is a summary measure of the diagnostic ability of a binary classifier system that is also called the Gini coefficient, which is defined as twice the area between the receiver operating characteristic (ROC) curve and its diagonal. It is related to the AUC (Area Under the ROC Curve) measure of performance given by $AUC=(G+1)/2$ and to Mann–Whitney U. Although both Gini coefficients are defined as areas between certain curves and share certain properties, there is no simple direct relationship between the Gini coefficient of statistical dispersion and the Gini coefficient of a classifier.
The Gini index is also related to the Pietra index — both of which measure statistical heterogeneity and are derived from the Lorenz curve and the diagonal line.
In certain fields such as ecology, inverse Simpson's index $1/\lambda$ is used to quantify diversity, and this should not be confused with the Simpson index $\lambda$. These indicators are related to Gini. The inverse Simpson index increases with diversity, unlike the Simpson index and Gini coefficient, which decrease with diversity. The Simpson index is in the range [0, 1], where 0 means maximum and 1 means minimum diversity (or heterogeneity). Since diversity indices typically increase with increasing heterogeneity, the Simpson index is often transformed into inverse Simpson, or using the complement $1-\lambda$, known as the Gini-Simpson Index.
The Lorenz curve is another method of graphical representation of wealth distribution. It was developed 9 years before the Gini coefficient, which quantifies the extent to which the Lorenz curve deviates from the perfect equality line (with slope of 1). The Hoover index (also known as Robin Hood index) presents the percentage of total population's income that would have to be redistributed to make the Gini coefficient equal to 0 (perfect equality).

## Gini coefficients for pre-modern societies

In recent decades, researchers have attempted to estimate Gini coefficients for pre-20th century societies. In the absence of household income surveys and income taxes, scholars have relied on proxy variables. These include wealth taxes in medieval European city states, patterns of landownership in Roman Egypt, variation of the size of houses in societies from ancient Greece to Aztec Mexico, and inheritance and dowries in Babylonian society. Other data does not directly document variations in wealth or income but are known to reflect inequality, such as the ratio of rents to wages or of labor to capital.

## Other uses

Although the Gini coefficient is most popular in economics, it can, in theory, be applied in any field of science that studies a distribution. For example, in ecology, the Gini coefficient has been used as a measure of biodiversity, where the cumulative proportion of species is plotted against the cumulative proportion of individuals. In health, it has been used as a measure of the inequality of health-related quality of life in a population. In education, it has been used as a measure of the inequality of universities. In chemistry it has been used to express the selectivity of protein kinase inhibitors against a panel of kinases. In engineering, it has been used to evaluate the fairness achieved by Internet routers in scheduling packet transmissions from different flows of traffic. In machine learning, it has been used as a unified metric for evaluating many-versus-many (all-to-all) similarity in vector spaces across various data types, including images and text, and to show their effectiveness in guiding machine learning training sample selection, especially in sparse information settings.
The Gini coefficient is sometimes used for the measurement of the discriminatory power of rating systems in credit risk management.
A 2005 study accessed US census data to measure home computer ownership and used the Gini coefficient to measure inequalities amongst whites and African Americans. Results indicated that although decreasing overall, home computer ownership inequality was substantially smaller among white households.
A 2016 peer-reviewed study titled Employing the Gini coefficient to measure participation inequality in treatment-focused Digital Health Social Networks illustrated that the Gini coefficient was helpful and accurate in measuring shifts in inequality, however as a standalone metric it failed to incorporate overall network size.
Discriminatory power refers to a credit risk model's ability to differentiate between defaulting and non-defaulting clients. The formula $G_{1}$, in the calculation section above, may be used for the final model and at the individual model factor level to quantify the discriminatory power of individual factors. It is related to the accuracy ratio in population assessment models.
The Gini coefficient has also been applied to analyze inequality in dating apps.
Kaminskiy and Krivtsov extended the concept of the Gini coefficient from economics to reliability theory and proposed a Gini-type coefficient that helps to assess the degree of aging of non-repairable systems or aging and rejuvenation of repairable systems. The coefficient is defined between −1 and 1 and can be used in both empirical and parametric life distributions. It takes negative values for the class of decreasing failure rate distributions and point processes with decreasing failure intensity rate and is positive for the increasing failure rate distributions and point processes with increasing failure intensity rate. The value of zero corresponds to the exponential life distribution or the Homogeneous Poisson Process.