DataBrighten

    Foreign direct investment, net outflows (BoP, current US$)

    7,575 × 6rows × columns: 199 countries, 1970 to 2025

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

    textnumberdateyes/no
    Rows7,575country-year values
    Countries199with at least one value
    Years1970 – 202556 years with data
    LicenceCC BY 4.0credit the World Bank

    What it measures

    Foreign direct investment refers to direct investment equity flows in an economy. It is the sum of equity capital, reinvestment of earnings, and other capital. Direct investment is a category of cross-border investment associated with a resident in one economy having control or a significant degree of influence on the management of an enterprise that is resident in another economy. Ownership of 10 percent or more of the ordinary shares of voting stock is the criterion for determining the existence of a direct investment relationship. This series shows net outflows of investment from the reporting economy to the rest of the world. Data are in current U.S. dollars.

    Limits and exceptions (World Bank note)

    FDI data do not give a complete picture of international investment in an economy. Balance of payments data on FDI do not include capital raised locally, an important source of investment financing in some developing countries. In addition, FDI data omit nonequity cross-border transactions such as intra-unit flows of goods and services. The volume of global private financial flows reported by the World Bank generally differs from that reported by other sources because of differences in sources, classification of economies, and method used to adjust and disaggregate reported information. In addition, particularly for debt financing, differences may also reflect how some installments of the transactions and certain offshore issuances are treated. Data on equity flows are shown for all countries for which data are available.

    The numbers in 2025

    In 2025, 176 countries have a value. The highest is United States (389.60 billion); the lowest is Hungary (-60.84 billion). The median country value is 116.32 million. The World Bank's World aggregate for 2025 is 2.08 trillion.

    Top 10 countries, 2025

    BoP, current US$

    Source: World Bank, BM.KLT.DINV.CD.WD, retrieved 19 November 2026. Computed from foreign-direct-investment-net-outflows-bop-current-usd.csv.

    Highest, 2025

    #CountryValue
    1United States389.60 billion
    2Japan217.76 billion
    3China157.21 billion
    4Netherlands121.38 billion
    5Germany108.13 billion
    6Luxembourg101.38 billion
    7Hong Kong SAR, China99.85 billion
    8France96.66 billion
    9Singapore94.20 billion
    10Ireland86.44 billion

    Lowest, 2025

    #CountryValue
    1Hungary-60.84 billion
    2Belgium-19.31 billion
    3Australia-6.75 billion
    4Austria-6.07 billion
    5Russian Federation-5.46 billion
    6South Africa-4.01 billion
    7Panama-870.79 million
    8Iceland-658.51 million
    9Croatia-416.34 million
    10Trinidad and Tobago-390.11 million
    How many countries report, by decade
    DecadeMost countries in one year
    1970s118
    1980s143
    1990s135
    2000s164
    2010s178
    2020s179

    World aggregate by year

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

    YearWorld
    20252.08 trillion
    20241.49 trillion
    20231.13 trillion
    20222.24 trillion
    20212.56 trillion
    2020974.37 billion
    20191.57 trillion
    2018867.93 billion
    20172.12 trillion
    20162.21 trillion
    20152.22 trillion
    20141.86 trillion

    By region, 2025

    World Bank regionValue
    East Asia & Pacific679.78 billion
    Europe & Central Asia655.93 billion
    North America446.47 billion
    Latin America & Caribbean 137.84 billion
    Middle East, North Africa, Afghanistan & Pakistan126.07 billion
    South Asia38.34 billion
    Sub-Saharan Africa -934.57 million

    First rows

    foreign-direct-investment-net-outflows-bop-current-usd.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19790
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19800
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19810
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19820
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19830
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19840
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19850
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19860

    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 direct investment, net outflows (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?

    United States, with 389.60 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("foreign-direct-investment-net-outflows-bop-current-usd.csv"))

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

    File: foreign-direct-investment-net-outflows-bop-current-usd.csv

    How many countries report a value for 2025?

    176 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("foreign-direct-investment-net-outflows-bop-current-usd.csv"))

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

    File: foreign-direct-investment-net-outflows-bop-current-usd.csv

    What is the median across countries in 2025?

    116.32 million (median of the 176 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("foreign-direct-investment-net-outflows-bop-current-usd.csv"))

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

    File: foreign-direct-investment-net-outflows-bop-current-usd.csv

    Which country rose the most between 2015 and 2025?

    United States: from 302.07 billion to 389.60 billion, a rise of 87.53 billion (out of 168 countries with both years).

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

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

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

    File: foreign-direct-investment-net-outflows-bop-current-usd.csv

    Which year has the most countries reporting?

    2021, with 179 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-direct-investment-net-outflows-bop-current-usd.csv"))

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

    File: foreign-direct-investment-net-outflows-bop-current-usd.csv