Home · Finance · Economics & Macro · Gini Coefficient Calculator

Gini Coefficient Calculator

Computes the Gini coefficient of a list of incomes: 0 means everyone has the same, and values closer to 1 mean income is concentrated in fewer hands.

Your figures

Example result — edit the figures to make it yours

0.4562

Gini coefficient

Total320,000.00
Mean53,333.33

0 is complete equality; 1 is one recipient holding everything.

What this calculator does

Computes the Gini coefficient of a list of incomes: 0 means everyone has the same, and values closer to 1 mean income is concentrated in fewer hands. Every figure on this page is your own input — no lender's rate, no country's tax table and no market forecast is built in — and every result is computed from the formula stated below, with no hidden rounding steps. Results are estimates for planning, not financial advice.

The formula and method

G = (2 × Σ i·xᵢ) ÷ (n × Σx) − (n + 1) ÷ n, with incomes sorted ascending and i from 1

Enter incomes as a comma-separated list, one per person or household, all in the same currency and period. The engine sorts them from smallest to largest before applying the formula.

The coefficient is a summary of the whole distribution, not of any one income: the same Gini can come from different distributions, and it says nothing about the absolute level of income.

Worked example

With the example inputs this page opens with, the result is 0.4562 — gini coefficient.

Quick reference

Quick reference — the worked example in full
FigureValue
Gini coefficient0.4562
Total320,000.00
Mean53,333.33

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

How does the Gini Coefficient Calculator work?

Computes the Gini coefficient of a list of incomes: 0 means everyone has the same, and values closer to 1 mean income is concentrated in fewer hands. Income list → Gini coefficient. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Gini Coefficient Calculator need?

Income list → Gini coefficient. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.

Is the Gini Coefficient Calculator free to use?

Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.