DataBrighten

    Merchandise imports by the reporting economy (current US$)

    10,491 × 6rows × columns: 205 countries, 1960 to 2023

    Real data: World Bank, World Development Indicators, indicator TM.VAL.MRCH.WL.CD, retrieved 19 November 2026. Values are as published; we only reshaped the file.

    textnumberdateyes/no
    Rows10,491country-year values
    Countries205with at least one value
    Years1960 – 202364 years with data
    LicenceCC BY 4.0credit the World Bank

    What it measures

    Merchandise imports by the reporting economy are the total merchandise imports by the reporting economy from the rest of the world, as reported in the IMF's Direction of trade database. Data are in current U.S. dollars.

    The numbers in 2023

    In 2023, 205 countries have a value. The highest is United States (3.08 trillion); the lowest is Naoero (71.29 million). The median country value is 12.27 billion. The World Bank's World aggregate for 2023 is 23.45 trillion.

    Top 10 countries, 2023

    current US$

    Source: World Bank, TM.VAL.MRCH.WL.CD, retrieved 19 November 2026. Computed from merchandise-imports-by-the-reporting-economy-current-usd.csv.

    Highest, 2023

    #CountryValue
    1United States3.08 trillion
    2China2.46 trillion
    3Germany1.47 trillion
    4Netherlands838.01 billion
    5Japan785.51 billion
    6France783.36 billion
    7United Kingdom721.75 billion
    8India666.53 billion
    9Hong Kong SAR, China655.42 billion
    10Korea, Rep.640.41 billion

    Lowest, 2023

    #CountryValue
    1Naoero71.29 million
    2Tuvalu72.73 million
    3Sao Tome and Principe181.65 million
    4Kiribati198.07 million
    5American Samoa208.32 million
    6Tonga257.53 million
    7Palau269.22 million
    8Dominica298.14 million
    9Guinea-Bissau322.03 million
    10St. Kitts and Nevis330.59 million
    How many countries report, by decade
    DecadeMost countries in one year
    1960s123
    1970s133
    1980s154
    1990s179
    2000s202
    2010s205
    2020s205

    World aggregate by year

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

    YearWorld
    202323.45 trillion
    202224.67 trillion
    202121.72 trillion
    202017.11 trillion
    201918.66 trillion
    201819.18 trillion
    201717.38 trillion
    201615.62 trillion
    201516.02 trillion
    201418.30 trillion
    201318.17 trillion
    201218.04 trillion

    By region, 2023

    World Bank regionValue
    Europe & Central Asia9.21 trillion
    East Asia & Pacific6.63 trillion
    North America3.67 trillion
    Latin America & Caribbean 1.43 trillion
    Middle East, North Africa, Afghanistan & Pakistan1.27 trillion
    South Asia763.31 billion
    Sub-Saharan Africa 467.85 billion

    First rows

    merchandise-imports-by-the-reporting-economy-current-usd.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income196460200000
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income196559000000
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income196768205000
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income196851435000
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income196970977000
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197063472000
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income1971104381000
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income1973102531000

    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
    valuenumberMerchandise imports by the reporting economy (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 2023?

    United States, with 3.08 trillion.

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

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

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("merchandise-imports-by-the-reporting-economy-current-usd.csv"))

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

    File: merchandise-imports-by-the-reporting-economy-current-usd.csv

    How many countries report a value for 2023?

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

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

    =COUNTIF(E2:E100000,2023)

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("merchandise-imports-by-the-reporting-economy-current-usd.csv"))

    (df.year == 2023).sum()

    File: merchandise-imports-by-the-reporting-economy-current-usd.csv

    What is the median across countries in 2023?

    12.27 billion (median of the 205 country values; not a World Bank aggregate).

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

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

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

    pandas (df = pd.read_csv("merchandise-imports-by-the-reporting-economy-current-usd.csv"))

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

    File: merchandise-imports-by-the-reporting-economy-current-usd.csv

    Which country rose the most between 2013 and 2023?

    United States: from 2.27 trillion to 3.08 trillion, a rise of 816.15 billion (out of 205 countries with both years).

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

    Use the wide file (merchandise-imports-by-the-reporting-economy-current-usd-wide.csv): add a column = [2023] - [2013], 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 = 2013 AND b.year = 2023 ORDER BY rise DESC LIMIT 1;

    pandas (df = pd.read_csv("merchandise-imports-by-the-reporting-economy-current-usd.csv"))

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

    File: merchandise-imports-by-the-reporting-economy-current-usd.csv

    Which year has the most countries reporting?

    2023, with 205 countries.

    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("merchandise-imports-by-the-reporting-economy-current-usd.csv"))

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

    File: merchandise-imports-by-the-reporting-economy-current-usd.csv