DataBrighten

    GNI (constant 2015 US$)

    6,081 × 6rows × columns: 203 countries, 1960 to 2025

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

    textnumberdateyes/no
    Rows6,081country-year values
    Countries203with at least one value
    Years1960 – 202566 years with data
    LicenceCC BY 4.0credit the World Bank

    What it measures

    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 2015. This indicator is expressed in United States dollars.

    The numbers in 2024

    In 2024, 148 countries have a value. The highest is United States (23.19 trillion); the lowest is Palau (240.64 million). The median country value is 45.08 billion. The World Bank's World aggregate for 2024 is 92.62 trillion.

    Top 10 countries, 2024

    constant 2015 US$

    Source: World Bank, NY.GNP.MKTP.KD, retrieved 19 November 2026. Computed from gni-constant-2015-usd.csv.

    Highest, 2024

    #CountryValue
    1United States23.19 trillion
    2Japan4.93 trillion
    3Germany3.81 trillion
    4India3.36 trillion
    5United Kingdom3.30 trillion
    6France2.74 trillion
    7Italy2.03 trillion
    8Brazil1.98 trillion
    9Canada1.88 trillion
    10Korea, Rep.1.87 trillion

    Lowest, 2024

    #CountryValue
    1Palau240.64 million
    2Marshall Islands271.86 million
    3Sao Tome and Principe377.46 million
    4Kiribati455.50 million
    5Tonga565.45 million
    6Vanuatu1.07 billion
    7Samoa1.10 billion
    8Comoros1.25 billion
    9Solomon Islands1.55 billion
    10Guinea-Bissau1.74 billion
    How many countries report, by decade
    DecadeMost countries in one year
    1960s31
    1970s58
    1980s68
    1990s106
    2000s143
    2010s203
    2020s154

    World aggregate by year

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

    YearWorld
    202492.62 trillion
    202390.35 trillion
    202288.30 trillion
    202185.40 trillion
    202079.86 trillion
    201983.64 trillion
    201881.99 trillion
    201779.87 trillion
    201677.42 trillion
    201575.82 trillion
    201474.48 trillion
    201372.85 trillion

    By region, 2024

    World Bank regionValue
    North America25.08 trillion
    Europe & Central Asia23.86 trillion
    Latin America & Caribbean 5.83 trillion
    Middle East, North Africa, Afghanistan & Pakistan4.63 trillion
    South Asia3.85 trillion

    First rows

    gni-constant-2015-usd.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201519249499438.7455
    AlbaniaALBEurope & Central AsiaUpper middle income19954827942101.46087
    AlbaniaALBEurope & Central AsiaUpper middle income19965176369675.47367
    AlbaniaALBEurope & Central AsiaUpper middle income19974527680987.05081
    AlbaniaALBEurope & Central AsiaUpper middle income19984965002835.65449
    AlbaniaALBEurope & Central AsiaUpper middle income19995745392720.66817
    AlbaniaALBEurope & Central AsiaUpper middle income20006244430601.74899
    AlbaniaALBEurope & Central AsiaUpper middle income20016842320540.19631

    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 (constant 2015 US$), 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 23.19 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-constant-2015-usd.csv"))

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

    File: gni-constant-2015-usd.csv

    How many countries report a value for 2024?

    148 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-constant-2015-usd.csv"))

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

    File: gni-constant-2015-usd.csv

    What is the median across countries in 2024?

    45.08 billion (median of the 148 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-constant-2015-usd.csv"))

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

    File: gni-constant-2015-usd.csv

    Which country rose the most between 2014 and 2024?

    United States: from 17.99 trillion to 23.19 trillion, a rise of 5.20 trillion (out of 147 countries with both years).

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

    Use the wide file (gni-constant-2015-usd-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-constant-2015-usd.csv"))

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

    File: gni-constant-2015-usd.csv

    Which year has the most countries reporting?

    2015, with 203 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-constant-2015-usd.csv"))

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

    File: gni-constant-2015-usd.csv