DataBrighten

    Net primary income (Net income from abroad) (current US$)

    9,828 × 6rows × columns: 208 countries, 1960 to 2025

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

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

    What it measures

    Net primary income includes the net labor income and net property and entrepreneurial income components of the SNA. Labor income covers compensation of employees paid to nonresident workers. Property and entrepreneurial income covers investment income from the ownership of foreign financial claims (interest, dividends, rent, etc.) and nonfinancial property income (patents, copyrights, etc.). This indicator is expressed in current prices, meaning no adjustment has been made to account for price changes over time. This indicator is expressed in United States dollars.

    The numbers in 2025

    In 2025, 157 countries have a value. The highest is Germany (182.85 billion); the lowest is China (-113.76 billion). The median country value is -918.06 million.

    Top 10 countries, 2025

    current US$

    Source: World Bank, NY.GSR.NFCY.CD, retrieved 19 November 2026. Computed from net-primary-income-net-income-from-abroad-current-usd.csv.

    Highest, 2025

    #CountryValue
    1Germany182.85 billion
    2Philippines72.84 billion
    3Hong Kong SAR, China42.89 billion
    4Sweden32.85 billion
    5Korea, Rep.32.17 billion
    6Bangladesh25.05 billion
    7Denmark12.51 billion
    8Saudi Arabia10.66 billion
    9Tajikistan6.90 billion
    10Italy2.92 billion

    Lowest, 2025

    #CountryValue
    1China-113.76 billion
    2Singapore-102.03 billion
    3Brazil-74.18 billion
    4Mexico-56.34 billion
    5Australia-50.06 billion
    6India-49.36 billion
    7Puerto Rico (US)-41.80 billion
    8Indonesia-38.45 billion
    9Poland-37.58 billion
    10Canada-31.03 billion
    How many countries report, by decade
    DecadeMost countries in one year
    1960s81
    1970s115
    1980s142
    1990s175
    2000s197
    2010s203
    2020s202

    First rows

    net-primary-income-net-income-from-abroad-current-usd.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income196011111037.7777778
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income196111111128.8888889
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income196211111128.8888889
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income196315555515.5555556
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income196415555515.5555556
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income196520000000
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income196628888888.8888889
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income196735555555.5555556

    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
    valuenumberNet primary income (Net income from abroad) (current 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 2025?

    Germany, with 182.85 billion.

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

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

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("net-primary-income-net-income-from-abroad-current-usd.csv"))

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

    File: net-primary-income-net-income-from-abroad-current-usd.csv

    How many countries report a value for 2025?

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

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

    =COUNTIF(E2:E100000,2025)

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("net-primary-income-net-income-from-abroad-current-usd.csv"))

    (df.year == 2025).sum()

    File: net-primary-income-net-income-from-abroad-current-usd.csv

    What is the median across countries in 2025?

    -918.06 million (median of the 157 country values; not a World Bank aggregate).

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

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

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

    pandas (df = pd.read_csv("net-primary-income-net-income-from-abroad-current-usd.csv"))

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

    File: net-primary-income-net-income-from-abroad-current-usd.csv

    Which country rose the most between 2015 and 2025?

    Germany: from 67.55 billion to 182.85 billion, a rise of 115.30 billion (out of 156 countries with both years).

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

    Use the wide file (net-primary-income-net-income-from-abroad-current-usd-wide.csv): add a column = [2025] - [2015], 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 = 2015 AND b.year = 2025 ORDER BY rise DESC LIMIT 1;

    pandas (df = pd.read_csv("net-primary-income-net-income-from-abroad-current-usd.csv"))

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

    File: net-primary-income-net-income-from-abroad-current-usd.csv

    Which year has the most countries reporting?

    2019, 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("net-primary-income-net-income-from-abroad-current-usd.csv"))

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

    File: net-primary-income-net-income-from-abroad-current-usd.csv