GNI (constant 2015 US$)
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.
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$
Highest, 2024
| # | Country | Value |
|---|---|---|
| 1 | United States | 23.19 trillion |
| 2 | Japan | 4.93 trillion |
| 3 | Germany | 3.81 trillion |
| 4 | India | 3.36 trillion |
| 5 | United Kingdom | 3.30 trillion |
| 6 | France | 2.74 trillion |
| 7 | Italy | 2.03 trillion |
| 8 | Brazil | 1.98 trillion |
| 9 | Canada | 1.88 trillion |
| 10 | Korea, Rep. | 1.87 trillion |
Lowest, 2024
| # | Country | Value |
|---|---|---|
| 1 | Palau | 240.64 million |
| 2 | Marshall Islands | 271.86 million |
| 3 | Sao Tome and Principe | 377.46 million |
| 4 | Kiribati | 455.50 million |
| 5 | Tonga | 565.45 million |
| 6 | Vanuatu | 1.07 billion |
| 7 | Samoa | 1.10 billion |
| 8 | Comoros | 1.25 billion |
| 9 | Solomon Islands | 1.55 billion |
| 10 | Guinea-Bissau | 1.74 billion |
How many countries report, by decade
| Decade | Most countries in one year |
|---|---|
| 1960s | 31 |
| 1970s | 58 |
| 1980s | 68 |
| 1990s | 106 |
| 2000s | 143 |
| 2010s | 203 |
| 2020s | 154 |
World aggregate by year
As published by the World Bank (in the regions file, not the country file).
| Year | World |
|---|---|
| 2024 | 92.62 trillion |
| 2023 | 90.35 trillion |
| 2022 | 88.30 trillion |
| 2021 | 85.40 trillion |
| 2020 | 79.86 trillion |
| 2019 | 83.64 trillion |
| 2018 | 81.99 trillion |
| 2017 | 79.87 trillion |
| 2016 | 77.42 trillion |
| 2015 | 75.82 trillion |
| 2014 | 74.48 trillion |
| 2013 | 72.85 trillion |
By region, 2024
| World Bank region | Value |
|---|---|
| North America | 25.08 trillion |
| Europe & Central Asia | 23.86 trillion |
| Latin America & Caribbean | 5.83 trillion |
| Middle East, North Africa, Afghanistan & Pakistan | 4.63 trillion |
| South Asia | 3.85 trillion |
First rows
gni-constant-2015-usd.csv
| countrytext | iso3text | regiontext | income_grouptext | yearnumber | valuenumber |
|---|---|---|---|---|---|
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2015 | 19249499438.7455 |
| Albania | ALB | Europe & Central Asia | Upper middle income | 1995 | 4827942101.46087 |
| Albania | ALB | Europe & Central Asia | Upper middle income | 1996 | 5176369675.47367 |
| Albania | ALB | Europe & Central Asia | Upper middle income | 1997 | 4527680987.05081 |
| Albania | ALB | Europe & Central Asia | Upper middle income | 1998 | 4965002835.65449 |
| Albania | ALB | Europe & Central Asia | Upper middle income | 1999 | 5745392720.66817 |
| Albania | ALB | Europe & Central Asia | Upper middle income | 2000 | 6244430601.74899 |
| Albania | ALB | Europe & Central Asia | Upper middle income | 2001 | 6842320540.19631 |
Data dictionary
| Column | Type | Meaning |
|---|---|---|
| country | text | Country or economy, World Bank name |
| iso3 | text | ISO 3166-1 alpha-3 code |
| region | text | World Bank region |
| income_group | text | World Bank income group |
| year | number | Calendar year of the value |
| value | number | GNI (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