DataBrighten

    Foreign assets (real chained 2019 US$)

    3,801 × 6rows × columns: 150 countries, 1995 to 2020

    Real data: World Bank, Wealth Accounts, indicator NW.NFA.TO, retrieved 19 November 2026. Values are as published; we only reshaped the file.

    textnumberdateyes/no
    Rows3,801country-year values
    Countries150with at least one value
    Years1995 – 202026 years with data
    LicenceCC BY 4.0credit the World Bank

    What it measures

    Foreign financial assets encompass portfolio equity, FDI, debt instruments, financial derivatives, and foreign exchange reserves (excluding gold). These assets are reported in real chained 2019 US dollars, adjusted for inflation using the consumer price index (CPI).

    The numbers in 2020

    In 2020, 149 countries have a value. The highest is United States (31.16 trillion); the lowest is Comoros (347.87 million). The median country value is 34.30 billion.

    Top 10 countries, 2020

    real chained 2019 US$

    Source: World Bank, NW.NFA.TO, retrieved 19 November 2026. Computed from foreign-assets-real-chained-2019-usd.csv.

    Highest, 2020

    #CountryValue
    1United States31.16 trillion
    2United Kingdom17.18 trillion
    3Luxembourg13.51 trillion
    4Germany12.59 trillion
    5Netherlands11.20 trillion
    6Japan11.00 trillion
    7France9.72 trillion
    8China8.53 trillion
    9Ireland8.34 trillion
    10Switzerland5.97 trillion

    Lowest, 2020

    #CountryValue
    1Comoros347.87 million
    2Central African Republic568.89 million
    3Liberia600.74 million
    4Belize604.27 million
    5Chad622.79 million
    6Gambia, The635.32 million
    7Burundi786.42 million
    8Guinea-Bissau867.86 million
    9Solomon Islands912.94 million
    10Sierra Leone1.14 billion
    How many countries report, by decade
    DecadeMost countries in one year
    1990s143
    2000s148
    2010s150
    2020s149

    First rows

    foreign-assets-real-chained-2019-usd.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AlbaniaALBEurope & Central AsiaUpper middle income19951521917284.59337
    AlbaniaALBEurope & Central AsiaUpper middle income19961715494094.28153
    AlbaniaALBEurope & Central AsiaUpper middle income19971196648079.8922
    AlbaniaALBEurope & Central AsiaUpper middle income19981256397809.98926
    AlbaniaALBEurope & Central AsiaUpper middle income19991576052554.15634
    AlbaniaALBEurope & Central AsiaUpper middle income20001812919240.24348
    AlbaniaALBEurope & Central AsiaUpper middle income20012191230122.2356
    AlbaniaALBEurope & Central AsiaUpper middle income20022174855410.01867

    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
    valuenumberForeign assets (real chained 2019 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 2020?

    United States, with 31.16 trillion.

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

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

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("foreign-assets-real-chained-2019-usd.csv"))

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

    File: foreign-assets-real-chained-2019-usd.csv

    How many countries report a value for 2020?

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

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

    =COUNTIF(E2:E100000,2020)

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("foreign-assets-real-chained-2019-usd.csv"))

    (df.year == 2020).sum()

    File: foreign-assets-real-chained-2019-usd.csv

    What is the median across countries in 2020?

    34.30 billion (median of the 149 country values; not a World Bank aggregate).

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

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

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

    pandas (df = pd.read_csv("foreign-assets-real-chained-2019-usd.csv"))

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

    File: foreign-assets-real-chained-2019-usd.csv

    Which country rose the most between 2010 and 2020?

    Luxembourg: from 7.36 trillion to 13.51 trillion, a rise of 6.15 trillion (out of 148 countries with both years).

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

    Use the wide file (foreign-assets-real-chained-2019-usd-wide.csv): add a column = [2020] - [2010], 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 = 2010 AND b.year = 2020 ORDER BY rise DESC LIMIT 1;

    pandas (df = pd.read_csv("foreign-assets-real-chained-2019-usd.csv"))

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

    File: foreign-assets-real-chained-2019-usd.csv

    Which year has the most countries reporting?

    2019, with 150 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("foreign-assets-real-chained-2019-usd.csv"))

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

    File: foreign-assets-real-chained-2019-usd.csv