DataBrighten

    Container port traffic (TEU: 20 foot equivalent units)

    2,232 × 6rows × columns: 168 countries, 2005 to 2024

    Real data: World Bank, World Development Indicators, indicator IS.SHP.GOOD.TU, retrieved 19 November 2026. Values are as published; we only reshaped the file.

    textnumberdateyes/no
    Rows2,232country-year values
    Countries168with at least one value
    Years2005 – 202420 years with data
    LicenceCC BY 4.0credit the World Bank

    What it measures

    Port container traffic measures the flow of containers from land to sea transport modes, and vice versa, in twenty-foot equivalent units (TEUs), a standard-size container. Data refer to coastal shipping as well as international journeys. Transshipment traffic is counted as two lifts at the intermediate port (once to off-load and again as an outbound lift) and includes empty units.

    Limits and exceptions (World Bank note)

    Measures of port container traffic, much of it commodities of medium to high value added, give some indication of economic growth in a country. But when traffic is merely transshipment, much of the economic benefit goes to the terminal operator and ancillary services for ships and containers rather than to the country more broadly. In transshipment centers empty containers may account for as much as 40 percent of traffic. Data cover coastal shipping as well as international journeys. Transshipment traffic is counted as two lifts at the intermediate port (once to off-load and again as an outbound lift) and includes empty units. Data for transport sectors are not always internationally comparable. Unlike for demographic statistics, national income accounts, and international trade data, the collection of infrastructure data has not been "internationalized."

    The numbers in 2024

    In 2024, 103 countries have a value. The highest is China (299.70 million); the lowest is Montenegro (17,263). The median country value is 1.83 million. The World Bank's World aggregate for 2024 is 913.28 million.

    Top 10 countries, 2024

    TEU: 20 foot equivalent units

    Source: World Bank, IS.SHP.GOOD.TU, retrieved 19 November 2026. Computed from container-port-traffic-teu-20-foot-equivalent-units.csv.

    Highest, 2024

    #CountryValue
    1China299.70 million
    2United States59.71 million
    3Singapore41.12 million
    4Korea, Rep.31.85 million
    5Malaysia30.66 million
    6Viet Nam24.42 million
    7India23.90 million
    8United Arab Emirates23.47 million
    9Japan21.89 million
    10Spain18.11 million

    Lowest, 2024

    #CountryValue
    1Montenegro17,263
    2St. Vincent and the Grenadines24,416
    3Antigua and Barbuda28,000
    4Cayman Islands46,658
    5Samoa53,017
    6Aruba64,800
    7Cabo Verde89,382
    8Curacao98,100
    9Suriname105,949
    10Nicaragua167,682
    How many countries report, by decade
    DecadeMost countries in one year
    2000s8
    2010s166
    2020s125

    World aggregate by year

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

    YearWorld
    2024913.28 million
    2023853.61 million
    2022850.42 million
    2021844.57 million
    2020791.06 million
    2019803.12 million
    2018784.29 million
    2017746.69 million
    2016700.90 million
    2015684.53 million
    2014675.13 million
    2013643.97 million

    By region, 2024

    World Bank regionValue
    East Asia & Pacific527.45 million
    Europe & Central Asia128.22 million
    Middle East, North Africa, Afghanistan & Pakistan75.81 million
    North America66.10 million
    Latin America & Caribbean 63.97 million
    South Asia35.03 million

    First rows

    container-port-traffic-teu-20-foot-equivalent-units.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AlbaniaALBEurope & Central AsiaUpper middle income201070000
    AlbaniaALBEurope & Central AsiaUpper middle income201176700
    AlbaniaALBEurope & Central AsiaUpper middle income201283194
    AlbaniaALBEurope & Central AsiaUpper middle income2013108670
    AlbaniaALBEurope & Central AsiaUpper middle income201499350
    AlbaniaALBEurope & Central AsiaUpper middle income2015104000
    AlbaniaALBEurope & Central AsiaUpper middle income2016118829
    AlbaniaALBEurope & Central AsiaUpper middle income2017118270

    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
    valuenumberContainer port traffic (TEU: 20 foot equivalent units), 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?

    China, with 299.70 million.

    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("container-port-traffic-teu-20-foot-equivalent-units.csv"))

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

    File: container-port-traffic-teu-20-foot-equivalent-units.csv

    How many countries report a value for 2024?

    103 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("container-port-traffic-teu-20-foot-equivalent-units.csv"))

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

    File: container-port-traffic-teu-20-foot-equivalent-units.csv

    What is the median across countries in 2024?

    1.83 million (median of the 103 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("container-port-traffic-teu-20-foot-equivalent-units.csv"))

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

    File: container-port-traffic-teu-20-foot-equivalent-units.csv

    Which country rose the most between 2014 and 2024?

    China: from 187.29 million to 299.70 million, a rise of 112.41 million (out of 103 countries with both years).

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

    Use the wide file (container-port-traffic-teu-20-foot-equivalent-units-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("container-port-traffic-teu-20-foot-equivalent-units.csv"))

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

    File: container-port-traffic-teu-20-foot-equivalent-units.csv

    Which year has the most countries reporting?

    2015, with 166 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("container-port-traffic-teu-20-foot-equivalent-units.csv"))

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

    File: container-port-traffic-teu-20-foot-equivalent-units.csv