DataBrighten

    GNI, PPP (constant 2021 international $)

    4,590 × 6rows × columns: 197 countries, 1990 to 2025

    Real data: World Bank, World Development Indicators, indicator NY.GNP.MKTP.PP.KD, retrieved 19 November 2026. Values are as published; we only reshaped the file.

    textnumberdateyes/no
    Rows4,590country-year values
    Countries197with at least one value
    Years1990 – 202536 years with data
    LicenceCC BY 4.0credit the World Bank

    What it measures

    This indicator provides values for gross national income (GNI) expressed in constant international dollars, converted by purchasing power parities (PPPs). PPPs account for the different price levels across countries and thus PPP-based comparisons of economic output are more appropriate for comparing the output of economies and the average material well-being of their inhabitants than exchange-rate based comparisons. Gross national income is the total income earned by all residents within an economic territory during an accounting period. It is equal to gross domestic product plus earned…

    Read the full definition

    This indicator provides values for gross national income (GNI) expressed in constant international dollars, converted by purchasing power parities (PPPs). PPPs account for the different price levels across countries and thus PPP-based comparisons of economic output are more appropriate for comparing the output of economies and the average material well-being of their inhabitants than exchange-rate based comparisons. Gross national income is the total income earned by all residents within an economic territory during an accounting period. It is equal to gross domestic product plus earned income receivable from abroad minus earned income payable abroad. This indicator is expressed in constant prices, meaning the series has been adjusted to account for price changes over time. The reference year for this adjustment is 2021. The PPP conversion factor is a currency conversion factor and a spatial price deflator. PPPs convert different currencies to a common currency and, in the process of conversion, equalize their purchasing power by eliminating the differences in price levels between countries, thereby allowing volume or output comparisons of GDP and its expenditure components.

    The numbers in 2024

    In 2024, 151 countries have a value. The highest is United States (25.61 trillion); the lowest is Marshall Islands (324.03 million). The median country value is 117.18 billion. The World Bank's World aggregate for 2024 is 157.94 trillion.

    Top 10 countries, 2024

    constant 2021 international $

    Source: World Bank, NY.GNP.MKTP.PP.KD, retrieved 19 November 2026. Computed from gni-ppp-constant-2021-international.csv.

    Highest, 2024

    #CountryValue
    1United States25.61 trillion
    2India13.48 trillion
    3Japan6.21 trillion
    4Germany5.45 trillion
    5Brazil4.00 trillion
    6Indonesia3.93 trillion
    7France3.78 trillion
    8United Kingdom3.65 trillion
    9Italy3.13 trillion
    10Mexico2.95 trillion

    Lowest, 2024

    #CountryValue
    1Marshall Islands324.03 million
    2Palau327.32 million
    3Kiribati693.67 million
    4Tonga790.64 million
    5Vanuatu1.28 billion
    6Sao Tome and Principe1.43 billion
    7Samoa1.75 billion
    8Solomon Islands2.09 billion
    9Comoros3.13 billion
    10Timor-Leste4.86 billion
    How many countries report, by decade
    DecadeMost countries in one year
    1990s108
    2000s139
    2010s157
    2020s197

    World aggregate by year

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

    YearWorld
    2024157.94 trillion
    2023153.25 trillion
    2022149.48 trillion
    2021144.17 trillion
    2020134.66 trillion
    2019140.68 trillion
    2018137.69 trillion
    2017133.63 trillion
    2016129.03 trillion
    2015125.23 trillion
    2014123.01 trillion
    2013119.92 trillion

    By region, 2024

    World Bank regionValue
    Europe & Central Asia39.61 trillion
    North America27.93 trillion
    South Asia15.49 trillion
    Latin America & Caribbean 12.96 trillion
    Middle East, North Africa, Afghanistan & Pakistan11.76 trillion

    First rows

    gni-ppp-constant-2021-international.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income2020110096227393.526
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income202186285361406.7876
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income202280327049279.0636
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income202384471815065.9958
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income202483594966558.2361
    AlbaniaALBEurope & Central AsiaUpper middle income199515863070274.846
    AlbaniaALBEurope & Central AsiaUpper middle income199617007891603.7071
    AlbaniaALBEurope & Central AsiaUpper middle income199714876508493.7407

    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
    valuenumberGNI, PPP (constant 2021 international $), 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 2024?

    United States, with 25.61 trillion.

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

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

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("gni-ppp-constant-2021-international.csv"))

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

    File: gni-ppp-constant-2021-international.csv

    How many countries report a value for 2024?

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

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

    =COUNTIF(E2:E100000,2024)

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("gni-ppp-constant-2021-international.csv"))

    (df.year == 2024).sum()

    File: gni-ppp-constant-2021-international.csv

    What is the median across countries in 2024?

    117.18 billion (median of the 151 country values; not a World Bank aggregate).

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

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

    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 = 2024 ORDER BY value
      LIMIT 2 - (SELECT COUNT(*) FROM wb WHERE year = 2024) % 2
      OFFSET (SELECT (COUNT(*) - 1) / 2 FROM wb WHERE year = 2024));

    pandas (df = pd.read_csv("gni-ppp-constant-2021-international.csv"))

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

    File: gni-ppp-constant-2021-international.csv

    Which country rose the most between 2014 and 2024?

    India: from 7.66 trillion to 13.48 trillion, a rise of 5.82 trillion (out of 145 countries with both years).

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

    Use the wide file (gni-ppp-constant-2021-international-wide.csv): add a column = [2024] - [2014], 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 = 2014 AND b.year = 2024 ORDER BY rise DESC LIMIT 1;

    pandas (df = pd.read_csv("gni-ppp-constant-2021-international.csv"))

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

    File: gni-ppp-constant-2021-international.csv

    Which year has the most countries reporting?

    2021, with 197 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("gni-ppp-constant-2021-international.csv"))

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

    File: gni-ppp-constant-2021-international.csv