DataBrighten

    Food imports (% of merchandise imports)

    8,093 × 6rows × columns: 198 countries, 1962 to 2025

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

    textnumberdateyes/no
    Rows8,093country-year values
    Countries198with at least one value
    Years1962 – 202564 years with data
    LicenceCC BY 4.0credit the World Bank

    What it measures

    Food comprises the commodities in SITC (Rev. 3) sections 0 (food and live animals), 1 (beverages and tobacco), and 4 (animal and vegetable oils and fats) and division 22 (oil seeds, oil nuts, and oil kernels). This indicator is expressed as a percentage of merchandise imports which is comprised of goods whose economic ownership is changed between a non-resident and a resident and that are not included in the following specific categories: goods under merchanting, non-monetary gold, and parts of travel, construction, and government goods and services n.i.e.

    Limits and exceptions (World Bank note)

    Previous editions contained data based on the SITC revision 1. Data for earlier years in previous editions may differ because of the change in methodology. Concordance tables are available to convert data reported in one system to another.

    The numbers in 2024

    In 2024, 138 countries have a value. The highest is Yemen, Rep. (43.95); the lowest is Hong Kong SAR, China (3.32). The median country value is 13.21. The World Bank's World aggregate for 2025 is 8.88.

    Top 10 countries, 2024

    % of merchandise imports

    Source: World Bank, TM.VAL.FOOD.ZS.UN, retrieved 19 November 2026. Computed from food-imports-percent-of-merchandise-imports.csv.

    Highest, 2024

    #CountryValue
    1Yemen, Rep.43.95
    2Niger37.89
    3Benin33.27
    4Cabo Verde32.56
    5Samoa29.63
    6Algeria28.2
    7Antigua and Barbuda27.67
    8Seychelles26.11
    9Grenada24.18
    10Mauritania23.87

    Lowest, 2024

    #CountryValue
    1Hong Kong SAR, China3.32
    2Singapore3.65
    3Switzerland4.64
    4India5.06
    5Slovenia5.35
    6Brazil5.71
    7Turkiye6.21
    8Korea, Rep.6.29
    9Mexico6.42
    10Australia6.45
    How many countries report, by decade
    DecadeMost countries in one year
    1960s88
    1970s122
    1980s117
    1990s150
    2000s174
    2010s177
    2020s167

    World aggregate by year

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

    YearWorld
    20258.88
    20249
    20238.78
    20228.31
    20218.58
    20209.21
    20198.28
    20188.11
    20178.54
    20168.71
    20158.38
    20147.96

    By region, 2024

    World Bank regionValue
    Sub-Saharan Africa 12.25
    Europe & Central Asia10.31
    Latin America & Caribbean 9.13
    East Asia & Pacific7.43
    North America7.29
    South Asia5.6

    First rows

    food-imports-percent-of-merchandise-imports.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19627.83526679894446
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income196313.1198638928934
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income196417.3358407967507
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income196517.099850581365
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income196620.8006767904764
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income196720.8816634027342
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income196816.00906677632
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income196920.5806444720536

    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
    valuenumberFood imports (% of merchandise imports), 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 2024?

    Yemen, Rep., with 43.95.

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

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

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("food-imports-percent-of-merchandise-imports.csv"))

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

    File: food-imports-percent-of-merchandise-imports.csv

    How many countries report a value for 2024?

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

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

    =COUNTIF(E2:E100000,2024)

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("food-imports-percent-of-merchandise-imports.csv"))

    (df.year == 2024).sum()

    File: food-imports-percent-of-merchandise-imports.csv

    What is the median across countries in 2024?

    13.21 (median of the 138 country values; not a World Bank aggregate).

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

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

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

    pandas (df = pd.read_csv("food-imports-percent-of-merchandise-imports.csv"))

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

    File: food-imports-percent-of-merchandise-imports.csv

    Which country rose the most between 2014 and 2024?

    Niger: from 24.79 to 37.89, a rise of 13.1 (out of 134 countries with both years).

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

    Use the wide file (food-imports-percent-of-merchandise-imports-wide.csv): add a column = [2024] - [2014], 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 = 2014 AND b.year = 2024 ORDER BY rise DESC LIMIT 1;

    pandas (df = pd.read_csv("food-imports-percent-of-merchandise-imports.csv"))

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

    File: food-imports-percent-of-merchandise-imports.csv

    Which year has the most countries reporting?

    2017, with 177 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("food-imports-percent-of-merchandise-imports.csv"))

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

    File: food-imports-percent-of-merchandise-imports.csv