DataBrighten

    Portfolio Investment, net (BoP, current US$)

    5,950 × 6rows × columns: 192 countries, 1960 to 2025

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

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

    What it measures

    Portfolio investment includes cross-border flows and positions involving debt or equity securities, other than those included in direct investment or reserve assets. 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, 136 countries have a value. The highest is China (425.58 billion); the lowest is United States (-1.41 trillion). The median country value is 48.47 million.

    Top 10 countries, 2025

    BoP, current US$

    Source: World Bank, BN.KLT.PTXL.CD, retrieved 19 November 2026. Computed from portfolio-investment-net-bop-current-usd.csv.

    Highest, 2025

    #CountryValue
    1China425.58 billion
    2France141.76 billion
    3Korea, Rep.87.73 billion
    4Singapore72.86 billion
    5Norway63.03 billion
    6Hong Kong SAR, China62.54 billion
    7Germany53.99 billion
    8Kuwait37.66 billion
    9Thailand36.38 billion
    10Qatar28.96 billion

    Lowest, 2025

    #CountryValue
    1United States-1.41 trillion
    2Japan-105.45 billion
    3Netherlands-103.33 billion
    4Luxembourg-95.16 billion
    5Ireland-63.02 billion
    6Saudi Arabia-52.39 billion
    7United Kingdom-48.49 billion
    8Italy-37.23 billion
    9Belgium-24.05 billion
    10Australia-20.11 billion
    How many countries report, by decade
    DecadeMost countries in one year
    1960s5
    1970s51
    1980s58
    1990s116
    2000s166
    2010s178
    2020s173

    First rows

    portfolio-investment-net-bop-current-usd.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20109981996.02521271
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201178370572.8485648
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201226581573.339764
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201366453024.6844597
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201447978886.2853406
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201580679314.0598525
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201699469761.4627858
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income2017-29571651.8682689

    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
    valuenumberPortfolio Investment, net (BoP, 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?

    China, with 425.58 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("portfolio-investment-net-bop-current-usd.csv"))

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

    File: portfolio-investment-net-bop-current-usd.csv

    How many countries report a value for 2025?

    136 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("portfolio-investment-net-bop-current-usd.csv"))

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

    File: portfolio-investment-net-bop-current-usd.csv

    What is the median across countries in 2025?

    48.47 million (median of the 136 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("portfolio-investment-net-bop-current-usd.csv"))

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

    File: portfolio-investment-net-bop-current-usd.csv

    Which country rose the most between 2015 and 2025?

    China: from 66.47 billion to 425.58 billion, a rise of 359.11 billion (out of 133 countries with both years).

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

    Use the wide file (portfolio-investment-net-bop-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("portfolio-investment-net-bop-current-usd.csv"))

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

    File: portfolio-investment-net-bop-current-usd.csv

    Which year has the most countries reporting?

    2014, with 178 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("portfolio-investment-net-bop-current-usd.csv"))

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

    File: portfolio-investment-net-bop-current-usd.csv