Skip to content

Advertisement
Advertisement unavailable offline
The page content remains available.

Gini coefficient calculator

Paste nonnegative values such as incomes, shares or counts.

Gini coefficient G: —

Fill in the fields above — the result is computed on this page.

Number of values
—
Total
—
Mean
—
Minimum
—
Maximum
—
Adjusted G n/(n−1)
—

Sorted values and shares

Position Value Cumulative total Cumulative share Population share
Fill in the fields above — the result is computed on this page.
What do these numbers mean?
  • Compare results calculated with the same definition and comparable data.
  • Gini does not show where in the distribution inequality occurs.

Values must be nonnegative and at least one must be positive. A sample result is not automatically an estimate for the whole population.

How do I use this page?
  1. Paste the values.
  2. Inspect their sorted order and cumulative shares.
  3. 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?
No. The calculator sorts values in ascending order.
Does G = 0.5 mean half the population owns everything?
No. Gini summarizes the entire concentration curve and has no such direct interpretation.

See also

← All calculators

Advertisement
Advertisement unavailable offline
The page content remains available.
Offline app and draw notifications

My saved selections

Selections saved only in this browser. Numbers are shown exactly as saved; this is not a lottery ticket.

Open the My saved selections hub
Restore with preview

Restore in the hub: review the file and confirm first. Both old backups and the complete selections + journal backup are supported. Nothing is uploaded.