DataBrighten

    Imports of goods and services (% of GDP)

    9,038 × 6rows × columns: 194 countries, 1960 to 2025

    Real data: World Bank, World Development Indicators, indicator NE.IMP.GNFS.ZS, retrieved 19 November 2026. Values are as published; we only reshaped the file.

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

    What it measures

    Imports of goods includes change in the economic ownership of goods from non-residents to residents of the compiling economy, irrespective of physical movement of goods across national borders. Imports of services includes services provided by non-residents to residents. This indicator is expressed as a percentage of Gross Domestic Product (GDP) which is the total income earned through the production of goods and services in an economic territory during an accounting period.

    Limits and exceptions (World Bank note)

    Because policymakers have tended to focus on fostering the growth of output, and because data on production are easier to collect than data on spending, many countries generate their primary estimate of GDP using the production approach. Moreover, many countries do not estimate all the components of national expenditures but instead derive some of the main aggregates indirectly using GDP (based on the production approach) as the control total. Data on exports and imports are compiled from customs reports and balance of payments data. Although the data from the payments side provide reasonably reliable records of cross-border transactions, they may not adhere strictly to the appropriate definitions of valuation and timing used in the balance of payments or corresponds to the change-of ownership criterion. This issue has assumed greater significance with the increasing globalization of international business. Neither customs nor balance of payments data usually capture the illegal transactions that occur in many countries. Goods carried by travelers across borders in legal but unreported shuttle trade may further distort trade statistics.

    The numbers in 2025

    In 2025, 138 countries have a value. The highest is Hong Kong SAR, China (196.9); the lowest is Sudan (1.28). The median country value is 41.72. The World Bank's World aggregate for 2025 is 28.5.

    Top 10 countries, 2025

    % of GDP

    Source: World Bank, NE.IMP.GNFS.ZS, retrieved 19 November 2026. Computed from imports-of-goods-and-services-percent-of-gdp.csv.

    Highest, 2025

    #CountryValue
    1Hong Kong SAR, China196.9
    2Luxembourg159.4
    3Singapore142.5
    4Lesotho104.5
    5Naoero103.7
    6Malta99.9
    7Ireland99.89
    8Somalia, Fed. Rep.98.81
    9Djibouti95.8
    10Seychelles92.67

    Lowest, 2025

    #CountryValue
    1Sudan1.28
    2Venezuela, RB10.11
    3Angola11.67
    4Turkmenistan13.7
    5Haiti14.33
    6Argentina14.81
    7Russian Federation15.51
    8Chad16.72
    9Bangladesh16.83
    10China16.89
    How many countries report, by decade
    DecadeMost countries in one year
    1960s76
    1970s106
    1980s127
    1990s163
    2000s179
    2010s185
    2020s184

    World aggregate by year

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

    YearWorld
    202528.5
    202428.11
    202328.3
    202229.95
    202127.53
    202025.38
    201927.4
    201828.2
    201727.26
    201626.35
    201527.3
    201428.86

    By region, 2025

    World Bank regionValue
    Europe & Central Asia41.01
    East Asia & Pacific28.45
    Sub-Saharan Africa 27.88
    Latin America & Caribbean 26.43
    South Asia23.46

    First rows

    imports-of-goods-and-services-percent-of-gdp.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income202036.2890774127896
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income202137.06956357719
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income202254.5054272070161
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income202350.764299620256
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income202468.0602732398198
    AlbaniaALBEurope & Central AsiaUpper middle income198023.5366005935177
    AlbaniaALBEurope & Central AsiaUpper middle income198122.2899596239822
    AlbaniaALBEurope & Central AsiaUpper middle income198224.7376437022741

    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
    valuenumberImports of goods and services (% of GDP), 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?

    Hong Kong SAR, China, with 196.9.

    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("imports-of-goods-and-services-percent-of-gdp.csv"))

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

    File: imports-of-goods-and-services-percent-of-gdp.csv

    How many countries report a value for 2025?

    138 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("imports-of-goods-and-services-percent-of-gdp.csv"))

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

    File: imports-of-goods-and-services-percent-of-gdp.csv

    What is the median across countries in 2025?

    41.72 (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=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("imports-of-goods-and-services-percent-of-gdp.csv"))

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

    File: imports-of-goods-and-services-percent-of-gdp.csv

    Which country rose the most between 2015 and 2025?

    Somalia, Fed. Rep.: from 59.61 to 98.81, a rise of 39.21 (out of 137 countries with both years).

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

    Use the wide file (imports-of-goods-and-services-percent-of-gdp-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("imports-of-goods-and-services-percent-of-gdp.csv"))

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

    File: imports-of-goods-and-services-percent-of-gdp.csv

    Which year has the most countries reporting?

    2018, with 185 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("imports-of-goods-and-services-percent-of-gdp.csv"))

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

    File: imports-of-goods-and-services-percent-of-gdp.csv