Gini coefficient calculator
Paste nonnegative values such as incomes, shares or counts.
Sorted values and shares
| Position | Value | Cumulative total | Cumulative share | Population share |
|---|---|---|---|---|
| Fill in the fields above — the result is computed on this page. | ||||
How do I use this page?
- Paste the values.
- Inspect their sorted order and cumulative shares.
- Read G and the adjusted variant.
What this page does not do: Values must be nonnegative and at least one must be positive. A sample result is not automatically an estimate for the whole population.
Further reading
Theory — what is the Gini coefficient?
The Gini coefficient measures inequality in a distribution of values such as incomes, shares or counts. A value of 0 means all values are identical, while a value closer to 1 indicates stronger concentration. The calculator sorts the pasted nonnegative values in ascending order and applies the formula for ordered observations, also showing the n/(n-1) correction for small samples. The order in which you enter the data does not matter, since sorting happens automatically.
Frequently asked questions
Does input order matter?
Does G = 0.5 mean half the population owns everything?
See also
A/B test calculator
Compare two proportions in an A/B test. Calculate conversion rates, difference, uplift, z score, p value and c
A/B test planning — sample size, MDE and duration
Plan a two-proportion experiment, estimate detectable effect and traffic duration.
ACF and PACF autocorrelation calculator
Calculate ACF and PACF across time-series lags. Review the chart, reference bounds and coefficient table.