DataBrighten

    Ores and metals imports (% of merchandise imports)

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

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

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

    What it measures

    Ores and metals comprise the commodities in SITC (Rev. 3) sections 27 (crude fertilizer, minerals nes); 28 (metalliferous ores, scrap); and 68 (non-ferrous metals). Imports of services are services provided by non-residents to residents. 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 Bahrain (22.03); the lowest is Macao SAR, China (0.287). The median country value is 1.73. The World Bank's World aggregate for 2025 is 5.

    Top 10 countries, 2024

    % of merchandise imports

    Source: World Bank, TM.VAL.MMTL.ZS.UN, retrieved 19 November 2026. Computed from ores-and-metals-imports-percent-of-merchandise-imports.csv.

    Highest, 2024

    #CountryValue
    1Bahrain22.03
    2China15.1
    3North Macedonia11.18
    4Namibia9.92
    5Bulgaria9.83
    6Iceland8.91
    7Japan7.2
    8Egypt, Arab Rep.7.1
    9Finland7.1
    10Turkiye7.01

    Lowest, 2024

    #CountryValue
    1Macao SAR, China0.287
    2Bermuda0.305
    3Honduras0.318
    4Brunei Darussalam0.321
    5Jamaica0.343
    6Burkina Faso0.378
    7Mauritania0.386
    8French Polynesia0.421
    9Lesotho0.479
    10Andorra0.552
    How many countries report, by decade
    DecadeMost countries in one year
    1960s88
    1970s122
    1980s116
    1990s150
    2000s174
    2010s177
    2020s167

    World aggregate by year

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

    YearWorld
    20255
    20244.67
    20234.49
    20224.69
    20215.27
    20204.53
    20194.14
    20184.12
    20174.11
    20163.69
    20153.88
    20144.15

    By region, 2024

    World Bank regionValue
    East Asia & Pacific8.26
    South Asia6.6
    Europe & Central Asia3.51
    Latin America & Caribbean 2.32
    North America2.26
    Sub-Saharan Africa 2.04

    First rows

    ores-and-metals-imports-percent-of-merchandise-imports.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19620.039774951722225
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19630.227884455495729
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19640.162912596757714
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19650.126047621345445
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19660.0692505644993633
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19670.0863434810109968
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19680.0531414387918182
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19690.141623999936692

    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
    valuenumberOres and metals 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?

    Bahrain, with 22.03.

    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("ores-and-metals-imports-percent-of-merchandise-imports.csv"))

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

    File: ores-and-metals-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("ores-and-metals-imports-percent-of-merchandise-imports.csv"))

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

    File: ores-and-metals-imports-percent-of-merchandise-imports.csv

    What is the median across countries in 2024?

    1.73 (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("ores-and-metals-imports-percent-of-merchandise-imports.csv"))

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

    File: ores-and-metals-imports-percent-of-merchandise-imports.csv

    Which country rose the most between 2014 and 2024?

    Bahrain: from 7.86 to 22.03, a rise of 14.17 (out of 134 countries with both years).

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

    Use the wide file (ores-and-metals-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("ores-and-metals-imports-percent-of-merchandise-imports.csv"))

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

    File: ores-and-metals-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("ores-and-metals-imports-percent-of-merchandise-imports.csv"))

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

    File: ores-and-metals-imports-percent-of-merchandise-imports.csv