World Sea Ports Directory

Search 5,097 sea ports in 195 countries and territories by name, country or UN/LOCODE. Each port links to its country list, a port page or the Port-to-Port distance calculator.

Ports by country

15 countries with a full port list. The search covers all 195 countries.

Best-connected container ports

The 20 best-connected container ports worldwide by UNCTAD’s Port Liner Shipping Connectivity Index (PLSCI), Q3 2026, with their world rank among 940 ports. The index measures how well a port is connected to liner shipping networks, not its cargo volume.

The 20 best-connected container ports worldwide
RankPortCountryUN/LOCODECoordinatesSea distance
1ShanghaiChinaCNSGH31.22° N, 121.50° EDistance
2NingboChinaCNNBO29.88° N, 121.55° EDistance
3SingaporeSingaporeSGSIN1.28° N, 103.85° EDistance
4BusanSouth KoreaKRPUS35.10° N, 129.03° EDistance
5Qingdao GangChinaCNQIN36.03° N, 120.27° EDistance
6ShekouChinaCNSHK22.47° N, 113.87° EDistance
7Nansha PtChinaCNNSA22.75° N, 113.58° EDistance
8Port KlangMalaysiaMYPKG3.00° N, 101.40° EDistance
9Hong KongHong KongHKHKG22.27° N, 114.20° EDistance
10RotterdamNetherlandsNLRTM51.90° N, 4.48° EDistance
11AntwerpBelgiumBEANR51.22° N, 4.40° EDistance
12XiamenChinaCNXAM24.45° N, 118.10° EDistance
13Kao-HsiungTaiwanTWKHH22.62° N, 120.25° EDistance
14YantianChinaCNYTN22.58° N, 114.27° EDistance
15Tianjin Xin GangChinaCNTXG38.97° N, 117.83° EDistance
16Laem ChabangThailandTHLCH13.08° N, 100.88° EDistance
17Yokohama KoJapanJPYOK35.45° N, 139.58° EDistance
18Hai PhongVietnamVNHPH20.92° N, 106.68° EDistance
19HamburgGermanyDEHAM53.55° N, 9.93° EDistance
20ColomboSri LankaLKCMB6.95° N, 79.85° EDistance

What a UN/LOCODE is

The United Nations Code for Trade and Transport Locations (UN/LOCODE) is a five-character code that UNECE, the United Nations Economic Commission for Europe, maintains for ports, airports, inland terminals and other places used in trade. The first two letters are the country’s ISO 3166-1 code and the last three name the place: NLRTM is Rotterdam, USHOU is Houston and MXZLO is Manzanillo in Mexico. Schedules, bills of lading and customs papers use these codes, so a code is often the quickest way to the right port when two places share a name.

Where the port positions come from

Each port has one published position. For 1,886 ports it comes from the World Port Index (Pub. 150) of the U.S. National Geospatial-Intelligence Agency (NGA); for 3,103 it is the UN/LOCODE position, given to the minute; 93 come from the SMDG terminal list and 15 from NGA Pub. 151 (2001). Where the World Port Index lists a port, its page also shows the harbor size, harbor type, shelter, maximum vessel draft and pilotage that the index gives.

How the sea distances are computed

Distances come from the BoatCalculators Port-to-Port router. It starts from a calculation point on the water near each port and follows a sea network built from public data: NOAA electronic navigational charts and USACE inland charts in US waters, and elsewhere the MARNET shipping network with OpenStreetMap land and Overture Maps water. The answer is in nautical miles (1 NM = 1.852 km). It is a planning estimate, not for navigation: traffic separation schemes, pilot areas, weather, currents and local restrictions are not modeled.

How to use the directory

Type a port name, a country or a UN/LOCODE in the search box at the top, move through the results with the arrow keys and press Enter to open one. The region buttons narrow the country list and the table of best-connected ports. Every Distance link opens the Port-to-Port calculator with that port already chosen as the departure.

Questions

What is a UN/LOCODE?

The United Nations Code for Trade and Transport Locations, maintained by UNECE: five characters, two for the country (its ISO 3166-1 code) and three for the place. NLRTM is Rotterdam in the Netherlands and USHOU is Houston in the United States.

Where do the port coordinates come from?

From the World Port Index (Pub. 150) of the U.S. National Geospatial-Intelligence Agency (NGA) where it lists the port, otherwise from UN/LOCODE, the SMDG terminal list or NGA Pub. 151. Each port page names the source of its position.

How is the sea distance between two ports calculated?

The BoatCalculators Port-to-Port router measures a route over a sea network, from a calculation point on the water near each port, in nautical miles. Routes pass through canals such as Panama or Suez where the shorter way needs them.

Can I use these distances for navigation?

No. They are planning estimates: traffic separation schemes, pilot areas, weather, currents and local restrictions are not modeled, and water on the map is not known depth. Navigate with official charts and notices.

What does the port ranking show?

The table orders ports by UNCTAD's Port Liner Shipping Connectivity Index (PLSCI) for Q3 2026, which measures a port's integration into global liner shipping networks; a higher value means better connectivity. It is not a ranking by cargo volume or port size.

Sources. Port names, UN/LOCODE codes and countries: UN/LOCODE, UNECE. Published positions: World Port Index (Pub. 150), NGA; UN/LOCODE; SMDG terminal list; NGA Pub. 151. Connectivity ranking: UNCTAD Port Liner Shipping Connectivity Index (PLSCI), Q3 2026, UNCTADstat US.PLSCI (UN Trade and Development, UNCTADstat and MDS Transmodal; CC BY 3.0 IGO). Regions: UN M49 (UN Statistics Division); Middle East is M49 Western Asia plus Iran. Sea distances: BoatCalculators Port-to-Port router, port list of 22 November 2026.