CalcWorldHub
Free online calculator · no signup

Income Inequality Gini Coefficient Calculator

Calculate the empirical Gini coefficient from nonnegative income or wealth observations, including zero-valued observations.

4,000 tools
Income Inequality Gini Coefficient Calculator — Income or wealth observations and calculation method
Income Inequality Gini Coefficient Calculator: inputs and calculation method.

How to use this calculator

Calculate the empirical Gini coefficient from nonnegative income or wealth observations, including zero-valued observations.

  1. Enter Income or wealth observations. Match the units shown beside each field and review the result together with the assumptions below.
  2. Read the worked example below to check the expected input format and result.
  3. Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Business calculation

How this calculation works

The Gini coefficient summarizes relative inequality in a distribution by comparing its Lorenz curve with perfect equality. This calculator treats each entered value as one equally weighted person or household, sorts observations from smallest to largest, and computes the exact empirical coefficient for those observations. It reports both the 0–1 coefficient and a 0–100 index. Grouped income brackets require population weights and a grouped-data method, so enter individual observations here.

Inputs and units

values — Income or wealth observations
Enter one nonnegative value per person or household, separated by commas, spaces, or new lines. Include zero values when present.

Formula

Displayed formula

G = 2 × Σ(i × xᵢ)/(n × Σxᵢ) − (n + 1)/n, where xᵢ are sorted observations and i is 1-based.

Method

Sort the nonnegative observations in ascending order, multiply each value by its one-based rank, and apply the finite-sample empirical Gini formula. The index is 100 × G.

Worked example

For observations 0, 10, and 20, the empirical Gini coefficient is 0.4444, the Gini index is 44.44, and the sample contains 3 observations.

Assumptions and limits

Use observations measured on the same income or wealth basis and time period. Negative values, all-zero data, grouped summaries without weights, and unequal survey weights are not handled. The result describes relative inequality in the entered sample and is not a poverty measure.

Frequently asked questions

Can an observation be zero?

Yes. Include zero incomes or wealth values when they belong to the population being summarized.

Does this calculator accept grouped income brackets?

No. It gives each entered observation equal weight. Grouped brackets or survey weights need a method that incorporates each group's population weight.

Does a larger Gini mean more inequality?

Yes. A value near zero indicates a more equal distribution; a higher value indicates greater relative concentration in the observations supplied.

How do I use the Income Inequality Gini Coefficient Calculator?

Enter Income or wealth observations. Match the units shown beside each field and review the result together with the assumptions below.

What is a worked example of Income Inequality Gini Coefficient?

For observations 0, 10, and 20, the empirical Gini coefficient is 0.4444, the Gini index is 44.44, and the sample contains 3 observations.