Analyzer · Economics, Development & Economic Policy, Society & Social Sciences, Politics, Government & International Affairs

Gini Coefficient, Income Shares and Palma Ratio

Paste a list of incomes or wages to get the Gini coefficient of inequality, each quintile's share of the total, the bottom 40% and top 10% shares, and the Palma ratio.

Inputs

The calculation runs only in your browser; your figures are not sent to our servers or stored.

The page shows the result for the example values; turn on JavaScript to calculate with your own figures.

Result

Gini coefficient
0.3769
Palma ratio
1.71
Bottom 40% share
18.3%
Top 10% share
31.33%
Values
10
Income share by quintile
QuintileShare %
17.14
211.15
314.16
420.55
546.99

The result updates with every change.

The result is a standard formula; interpreting it and deciding on it need professional judgment in your context.

How the tool works: formula and worked example

Whether income is shared fairly is a question an economist asks of a household survey, an HR specialist asks of a pay scale and a policymaker asks of a support programme. The Gini coefficient is the best-known measure of that inequality, but on its own it does not show where the gap sits, so this tool reports quintile shares and the Palma ratio alongside it.

The coefficient is computed with the mean-difference formula on values sorted from lowest to highest: G = (2 × Σ rank × value) ÷ (n × Σ values) − (n + 1) ÷ n, as set out in the World Bank handbook on poverty and inequality by Haughton and Khandker. Zero means everyone has the same income; values near 1 mean income is held by a few. Shares come from the Lorenz curve, and the Palma ratio proposed by Cobham and Sumner divides the top 10% share by the bottom 40% share.

The default list has ten incomes: 2,500, 3,200, 4,100, 4,800, 5,200, 6,100, 7,400, 9,000, 12,500 and 25,000, totalling 79,800. The Gini comes out at 0.3769. The poorest fifth receives 7.14% of income, followed by 11.15%, 14.16% and 20.55%, while the richest fifth takes 46.99%. The bottom 40% hold 18.3%; the top 10%, here just the single highest income, hold 31.33%, so the Palma ratio is 1.71.

Read the two figures together. The Gini summarises inequality across the whole distribution, while the Palma ratio looks at the tails, where most real-world change happens. In the example the top tenth earns roughly 1.7 times what the bottom 40% earn combined, a picture that speaks to decision-makers more clearly than an abstract 0.38.

Small samples are very sensitive: one extreme value, like the 25,000 in the example, moves the coefficient a great deal. Do not compare a company pay Gini with a national figure, pre-tax income with post-transfer income, or household with individual income. The tool drops negative values, so treat any losses in your data before you paste them.

Standard and formula

Gini by the mean-difference formula on sorted values: G = (2 × Σ i × xᵢ) ÷ (n × Σx) − (n + 1) ÷ n, from 0 (perfect equality) to 1. Palma ratio = top 10% share ÷ bottom 40% share (Cobham & Sumner). Shares from the Lorenz curve.

Sources

How to use it

  1. Paste incomes or wages, one value per line (a household or an employee).
  2. Read the Gini with the shares: the number alone does not show where inequality sits.
  3. In small samples one extreme value moves the coefficient a lot.

Frequently asked questions

What does the Gini coefficient measure?

It measures how unequally income or wealth is distributed, from 0 where everyone has the same to 1 where one person has everything. Higher means more unequal.

How do I calculate the Gini coefficient by hand or in Excel?

Sort the values, multiply each by its rank and add the products, then apply G = 2 × that sum ÷ (n × total) − (n + 1) ÷ n. The tool does this as soon as you paste the column.

What is the Palma ratio and how does it differ from Gini?

It is the top 10% income share divided by the bottom 40% share. It focuses on the two ends of the distribution, whereas the Gini is more sensitive to the middle.

Can I use the Gini to assess pay equity inside a company?

Yes, as a descriptive measure of pay dispersion, with quintile shares to locate the gap. It cannot separate differences justified by grade from unjustified ones.

Domains

Careers this tool serves

Programs that build this skill

  • Bustling paper market square from above: stalls with clay fruit, sacks and scales, small figurines trading, a gold price board left blank: cover of the ARPS program Short Diploma in Economics and Markets Short Diplomas

    Economics, Development & Economic Policy

    Short Diploma in Economics and Markets

    A foundational short diploma explaining how economists reason about choices and how prices and quantities interact in markets, then connecting those ideas to firms, macroeconomic indicators, and monetary and fiscal policy. It balances concepts, simple calculations and interpretation without requiring advanced prior economics.

    • 6 subjects
    • 25 lessons
    • 62 hours
    Free
    Start the first subject now
  • Supermarket aisle in paper: a shopper figurine pausing between two shelves, one product placed at eye level glowing amber, a nudge arrow on the floor: cover of the ARPS program Short Diploma in Behavioral Economics Short Diplomas

    Economics, Development & Economic Policy

    Short Diploma in Behavioral Economics

    A foundational, applied diploma on why real decisions can differ from simplified models and how to analyze judgment, choice, incentives, choice architecture, and experiments without turning biases into personal diagnoses or manipulation recipes.

    • 6 subjects
    • 24 lessons
    • 67 hours
    Free
    Start the first subject now
  • Researcher's study: a desk with notebook, questionnaire stack, a paper flask and a plotted scatter of tiny clay beads on a tray: cover of the ARPS program Short Diploma in Research Methodology Short Diplomas

    Research, Knowledge, Thinking & Analytics

    Short Diploma in Research Methodology

    Turn an observation from work or study into a researchable question. Gather evidence, choose a design and sample, and communicate what your results support in a project you can complete independently.

    • 6 subjects
    • 24 lessons
    • 62 hours
    Free
    Start the first subject now

Related tools

All tools · Professional encyclopedia