Gini Coefficient and Lorenz Curve Calculator
Calculate the Gini coefficient and a Lorenz curve table from a list of incomes or values.
Runs in your browser. Your files never leave your device. See how to check
…
How to do it
- 1Step 1: Open Gini Coefficient and Lorenz Curve Calculator and add your input
Type your numbers or text, add your file, or pick the options you need. Nothing is uploaded: everything stays in your browser.
- 2Step 2: What Gini Coefficient and Lorenz Curve Calculator does
Calculate the Gini coefficient and a Lorenz curve table from a list of incomes or values.
- 3Step 3: Read the result and compare
The result appears at once. Change one value to see how the answer moves, then keep the figure that fits your case.
- 4Step 4: Copy or save it
Copy the result or download it. For an important decision, confirm it with the official source or an adviser.
About this tool
Type the incomes (or any non-negative values). The calculator sorts them, gives the Gini coefficient, the number of values, the mean, the share held by the top 10% and a table of the cumulative share against the cumulative population.
Gini coefficient
The Gini coefficient measures inequality from 0 (everyone has the same) to nearly 1 (one person has everything). It is twice the area between the Lorenz curve and the line of equality.
Lorenz curve
The Lorenz curve plots the cumulative share of total income against the cumulative share of the population, ordered from poorest to richest. The table shows these points.
Interpretation
Countries' income Gini values are mostly between 0.25 and 0.6. The result for a small list depends strongly on the data. Numbers can be separated by spaces, commas or new lines.
Worked example
Ten incomes from 12,000 to 400,000 give a Gini of 0.552; the poorest half holds 13.4% of the total and the top 10% holds 42.6%.
Tips for best results
Check every box before you rely on a result, because one wrong digit changes the whole answer. Use the exact figures from your payslip, bill, certificate or contract, and keep a note of the date you calculated. Rates, thresholds and rules change from time to time, so for tax, fees and legal matters treat the output as an estimate and confirm with the official source named on this page. You can run as many scenarios as you like; nothing is saved or sent, and refreshing the page clears the boxes.
Quick facts
- Category: Math & Science
- Works in your browser, no sign-up, no upload.
- Your input stays on your device.
- Available in many languages.
- Content last reviewed:
Frequently asked questions
What does 0.5 mean?
High inequality, such as the most unequal national incomes.
Can there be negative values?
The tool uses non-negative values only.
What is the Lorenz curve?
Cumulative share of income against cumulative share of people.
Is the Gini sensitive to sample size?
For small lists, yes.
