DataBrighten

    Prosperity gap (average shortfall from a prosperity standard of $28/day)

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

    Real data: World Bank, World Development Indicators, indicator SI.SPR.PGAP, 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

    The average shortfall from a prosperity standard of $28 per day (adjusted for differences in purchasing power parity across countries). It is measured as the average factor by which incomes fall short of $28.

    The numbers in 2023

    In 2023, 60 countries have a value. The highest is Uganda (12.1); the lowest is Luxembourg (0.4). The median country value is 1.75. The World Bank's World aggregate for 2024 is 4.6.

    Top 10 countries, 2023

    average shortfall from a prosperity standard of $28/day

    Source: World Bank, SI.SPR.PGAP, retrieved 19 November 2026. Computed from prosperity-gap-average-shortfall-from-a-prosperity-standard-of-28-day.csv.

    Highest, 2023

    #CountryValue
    1Uganda12.1
    2Rwanda8.8
    3Honduras6.6
    4Indonesia5
    5India4.9
    6Colombia4.8
    7Guatemala4.8
    8Kyrgyz Republic4.7
    9Tajikistan4.5
    10Philippines4.4

    Lowest, 2023

    #CountryValue
    1Luxembourg0.4
    2Switzerland0.5
    3Belgium0.5
    4Slovenia0.6
    5Norway0.6
    6France0.6
    7Cyprus0.6
    8Malta0.7
    9Ireland0.7
    10Finland0.7
    How many countries report, by decade
    DecadeMost countries in one year
    1960s2
    1970s8
    1980s27
    1990s54
    2000s83
    2010s93
    2020s81

    World aggregate by year

    As published by the World Bank (in the regions file, not the country file).

    YearWorld
    20244.6
    20234.7
    20224.8
    20214.9
    20205
    20184.9
    20175
    20165.1
    20155.2
    20145.3
    20135.5
    20125.8

    By region, 2023

    World Bank regionValue
    Sub-Saharan Africa 11.6
    Middle East, North Africa, Afghanistan & Pakistan5.4
    South Asia5.1
    Latin America & Caribbean 3.2
    East Asia & Pacific2.8
    Europe & Central Asia1.3
    North America1.3

    First rows

    prosperity-gap-average-shortfall-from-a-prosperity-standard-of-28-day.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AlbaniaALBEurope & Central AsiaUpper middle income19964.2
    AlbaniaALBEurope & Central AsiaUpper middle income20024.4
    AlbaniaALBEurope & Central AsiaUpper middle income20053.9
    AlbaniaALBEurope & Central AsiaUpper middle income20083.5
    AlbaniaALBEurope & Central AsiaUpper middle income20123.6
    AlbaniaALBEurope & Central AsiaUpper middle income20143.8
    AlbaniaALBEurope & Central AsiaUpper middle income20153
    AlbaniaALBEurope & Central AsiaUpper middle income20163

    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
    valuenumberProsperity gap (average shortfall from a prosperity standard of $28/day), 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?

    Uganda, with 12.1.

    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("prosperity-gap-average-shortfall-from-a-prosperity-standard-of-28-day.csv"))

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

    File: prosperity-gap-average-shortfall-from-a-prosperity-standard-of-28-day.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("prosperity-gap-average-shortfall-from-a-prosperity-standard-of-28-day.csv"))

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

    File: prosperity-gap-average-shortfall-from-a-prosperity-standard-of-28-day.csv

    What is the median across countries in 2023?

    1.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("prosperity-gap-average-shortfall-from-a-prosperity-standard-of-28-day.csv"))

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

    File: prosperity-gap-average-shortfall-from-a-prosperity-standard-of-28-day.csv

    Which country rose the most between 2013 and 2023?

    Argentina: from 1.9 to 2.3, a rise of 0.4 (out of 51 countries with both years).

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

    Use the wide file (prosperity-gap-average-shortfall-from-a-prosperity-standard-of-28-day-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("prosperity-gap-average-shortfall-from-a-prosperity-standard-of-28-day.csv"))

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

    File: prosperity-gap-average-shortfall-from-a-prosperity-standard-of-28-day.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("prosperity-gap-average-shortfall-from-a-prosperity-standard-of-28-day.csv"))

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

    File: prosperity-gap-average-shortfall-from-a-prosperity-standard-of-28-day.csv