DataBrighten

    Gini index

    2,434 × 6rows × columns: 171 countries, 1963 to 2025

    Real data: World Bank, World Development Indicators, indicator SI.POV.GINI, retrieved 19 November 2026. Values are as published; we only reshaped the file.

    textnumberdateyes/no
    Rows2,434country-year values
    Countries171with at least one value
    Years1963 – 202563 years with data
    LicenceCC BY 4.0credit the World Bank

    What it measures

    Gini index measures the extent to which the distribution of income (or, in some cases, consumption expenditure) among individuals or households within an economy deviates from a perfectly equal distribution. A Lorenz curve plots the cumulative percentages of total income received against the cumulative number of recipients, starting with the poorest individual or household. The Gini index measures the area between the Lorenz curve and a hypothetical line of absolute equality, expressed as a percentage of the maximum area under the line. Thus a Gini index of 0 represents perfect equality, while an index of 100 implies perfect inequality.

    Limits and exceptions (World Bank note)

    Gini coefficients are not unique. It is possible for two different Lorenz curves to give rise to the same Gini coefficient. Furthermore it is possible for the Gini coefficient of a developing country to rise (due to increasing inequality of income) while the number of people in absolute poverty decreases. This is because the Gini coefficient measures relative, not absolute, wealth. Another limitation of the Gini coefficient is that it is not additive across groups, i.e. the total Gini of a society is not equal to the sum of the Gini's for its sub-groups. Thus, country-level Gini coefficients cannot be aggregated into regional or global Gini's, although a Gini coefficient can be computed for the aggregate. Because the underlying household surveys differ in methods and types of welfare measures collected, data are not strictly comparable across countries or even across years within a country. Two sources of non-comparability should be noted for distributions of income in particular. First, the surveys can differ in many respects, including whether they use income or consumption expenditure as the living standard indicator. The distribution of income is typically more un

    The numbers in 2023

    In 2023, 60 countries have a value. The highest is Colombia (54.6); the lowest is India (23). The median country value is 33.75.

    Top 10 countries, 2023

    value

    Source: World Bank, SI.POV.GINI, retrieved 19 November 2026. Computed from gini-index.csv.

    Highest, 2023

    #CountryValue
    1Colombia54.6
    2Brazil51.5
    3Panama48.9
    4Honduras46.8
    5Costa Rica46.7
    6Guatemala45.2
    7Ecuador44.6
    8Paraguay44.2
    9Turkiye43.7
    10Argentina42.4

    Lowest, 2023

    #CountryValue
    1India23
    2Slovak Republic23.8
    3Slovenia24.7
    4Kiribati24.7
    5Czechia25.7
    6Norway26.5
    7Moldova26.8
    8Belgium26.8
    9Kyrgyz Republic27.2
    10Armenia27.2
    How many countries report, by decade
    DecadeMost countries in one year
    1960s2
    1970s8
    1980s27
    1990s54
    2000s83
    2010s93
    2020s81

    First rows

    gini-index.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AlbaniaALBEurope & Central AsiaUpper middle income199627
    AlbaniaALBEurope & Central AsiaUpper middle income200231.7
    AlbaniaALBEurope & Central AsiaUpper middle income200530.6
    AlbaniaALBEurope & Central AsiaUpper middle income200830
    AlbaniaALBEurope & Central AsiaUpper middle income201229
    AlbaniaALBEurope & Central AsiaUpper middle income201434.6
    AlbaniaALBEurope & Central AsiaUpper middle income201532.8
    AlbaniaALBEurope & Central AsiaUpper middle income201633.7

    Data dictionary

    ColumnTypeMeaning
    countrytextCountry or economy, World Bank name
    iso3textISO 3166-1 alpha-3 code
    regiontextWorld Bank region
    income_grouptextWorld Bank income group
    yearnumberCalendar year of the value
    valuenumberGini index, exactly as the World Bank API returns it (not rounded)

    Only country-years with a value are in the long file; blank cells in the wide file mean no value was published.

    Practice questions

    answers computed from the file

    Which country has the highest value in 2023?

    Colombia, with 54.6.

    Excel (on the long CSV: E = year, F = value)

    =FILTER(A2:A100000,(E2:E100000=2023)*(F2:F100000=MAXIFS(F2:F100000,E2:E100000,2023)))

    SQL (table wb = the CSV)

    SELECT country, value FROM wb WHERE year = 2023
      AND value = (SELECT MAX(value) FROM wb WHERE year = 2023);

    pandas (df = pd.read_csv("gini-index.csv"))

    y = df[df.year == 2023]
    y[y.value == y.value.max()][["country", "value"]]

    File: gini-index.csv

    How many countries report a value for 2023?

    60 of the 217 economies in the file's country list.

    Excel (on the long CSV: E = year, F = value)

    =COUNTIF(E2:E100000,2023)

    SQL (table wb = the CSV)

    SELECT COUNT(*) FROM wb WHERE year = 2023;

    pandas (df = pd.read_csv("gini-index.csv"))

    (df.year == 2023).sum()

    File: gini-index.csv

    What is the median across countries in 2023?

    33.75 (median of the 60 country values; not a World Bank aggregate).

    Excel (on the long CSV: E = year, F = value)

    =MEDIAN(FILTER(F2:F100000,E2:E100000=2023))

    SQL (table wb = the CSV)

    -- SQLite has no MEDIAN(); this picks the middle value(s)
    SELECT AVG(value) FROM (SELECT value FROM wb WHERE year = 2023 ORDER BY value
      LIMIT 2 - (SELECT COUNT(*) FROM wb WHERE year = 2023) % 2
      OFFSET (SELECT (COUNT(*) - 1) / 2 FROM wb WHERE year = 2023));

    pandas (df = pd.read_csv("gini-index.csv"))

    df[df.year == 2023]["value"].median()

    File: gini-index.csv

    Which country rose the most between 2013 and 2023?

    Turkiye: from 40.2 to 43.7, a rise of 3.5 (out of 51 countries with both years).

    Excel (on the long CSV: E = year, F = value)

    Use the wide file (gini-index-wide.csv): add a column = [2023] - [2013], then sort it largest to smallest.

    SQL (table wb = the CSV)

    SELECT a.country, b.value - a.value AS rise FROM wb a JOIN wb b ON a.iso3 = b.iso3
    WHERE a.year = 2013 AND b.year = 2023 ORDER BY rise DESC LIMIT 1;

    pandas (df = pd.read_csv("gini-index.csv"))

    w = df.pivot(index="country", columns="year", values="value")
    (w[2023] - w[2013]).dropna().nlargest(1)

    File: gini-index.csv

    Which year has the most countries reporting?

    2018, with 93 countries. (Later years are still filling in as countries report.)

    Excel (on the long CSV: E = year, F = value)

    Make a pivot table: year in Rows, Count of value in Values, then sort by the count.

    SQL (table wb = the CSV)

    SELECT year, COUNT(*) AS n FROM wb GROUP BY year ORDER BY n DESC, year DESC LIMIT 1;

    pandas (df = pd.read_csv("gini-index.csv"))

    df.groupby("year").size().sort_values(ascending=False).head(1)

    File: gini-index.csv