Container port traffic (TEU: 20 foot equivalent units)
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.
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
Highest, 2024
| # | Country | Value |
|---|---|---|
| 1 | China | 299.70 million |
| 2 | United States | 59.71 million |
| 3 | Singapore | 41.12 million |
| 4 | Korea, Rep. | 31.85 million |
| 5 | Malaysia | 30.66 million |
| 6 | Viet Nam | 24.42 million |
| 7 | India | 23.90 million |
| 8 | United Arab Emirates | 23.47 million |
| 9 | Japan | 21.89 million |
| 10 | Spain | 18.11 million |
Lowest, 2024
| # | Country | Value |
|---|---|---|
| 1 | Montenegro | 17,263 |
| 2 | St. Vincent and the Grenadines | 24,416 |
| 3 | Antigua and Barbuda | 28,000 |
| 4 | Cayman Islands | 46,658 |
| 5 | Samoa | 53,017 |
| 6 | Aruba | 64,800 |
| 7 | Cabo Verde | 89,382 |
| 8 | Curacao | 98,100 |
| 9 | Suriname | 105,949 |
| 10 | Nicaragua | 167,682 |
How many countries report, by decade
| Decade | Most countries in one year |
|---|---|
| 2000s | 8 |
| 2010s | 166 |
| 2020s | 125 |
World aggregate by year
As published by the World Bank (in the regions file, not the country file).
| Year | World |
|---|---|
| 2024 | 913.28 million |
| 2023 | 853.61 million |
| 2022 | 850.42 million |
| 2021 | 844.57 million |
| 2020 | 791.06 million |
| 2019 | 803.12 million |
| 2018 | 784.29 million |
| 2017 | 746.69 million |
| 2016 | 700.90 million |
| 2015 | 684.53 million |
| 2014 | 675.13 million |
| 2013 | 643.97 million |
By region, 2024
| World Bank region | Value |
|---|---|
| East Asia & Pacific | 527.45 million |
| Europe & Central Asia | 128.22 million |
| Middle East, North Africa, Afghanistan & Pakistan | 75.81 million |
| North America | 66.10 million |
| Latin America & Caribbean | 63.97 million |
| South Asia | 35.03 million |
First rows
container-port-traffic-teu-20-foot-equivalent-units.csv
| countrytext | iso3text | regiontext | income_grouptext | yearnumber | valuenumber |
|---|---|---|---|---|---|
| Albania | ALB | Europe & Central Asia | Upper middle income | 2010 | 70000 |
| Albania | ALB | Europe & Central Asia | Upper middle income | 2011 | 76700 |
| Albania | ALB | Europe & Central Asia | Upper middle income | 2012 | 83194 |
| Albania | ALB | Europe & Central Asia | Upper middle income | 2013 | 108670 |
| Albania | ALB | Europe & Central Asia | Upper middle income | 2014 | 99350 |
| Albania | ALB | Europe & Central Asia | Upper middle income | 2015 | 104000 |
| Albania | ALB | Europe & Central Asia | Upper middle income | 2016 | 118829 |
| Albania | ALB | Europe & Central Asia | Upper middle income | 2017 | 118270 |
Data dictionary
| Column | Type | Meaning |
|---|---|---|
| country | text | Country or economy, World Bank name |
| iso3 | text | ISO 3166-1 alpha-3 code |
| region | text | World Bank region |
| income_group | text | World Bank income group |
| year | number | Calendar year of the value |
| value | number | Container 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