MapTools
marineFree · No signup

Global Seaport & Maritime Harbor Directory

Locate commercial seaports, container terminals, and marinas worldwide. View UN/LOCODE identifiers, coordinates, and tidal characteristics.

Nautical Miles (NM)
2,991.4 NM
1 NM = 1,852 meters
Ground Distance
3,442 mi
5,540 km
True Heading (Initial)
51.4°
Cardinal: NE (Final: 108°)
Est. Transit Time
kts
149h 34m
Direct air/sea passage without headwind
Loading Google Maps JavaScript Canvas...
Great circle routes represent the shortest geodesic path between two points on the curved sphere.

Runs entirely in your browser — your inputs never leave this page.

How this tool works

  1. 1

    Integrates United Nations Code for Trade and Transport Locations (UN/LOCODE) with nautical coastline boundaries.

Common uses

  • Ocean freight forwarding
  • Yacht cruising waypoint planning
  • Supply chain marine routing

Frequently asked questions

A five-character code scheme (e.g. USNYC for New York) maintained by UNECE to designate locations used in international trade.

More in Marine Navigation

View all →
Worked example

Tracing a Container Shipment from Hamburg to the Port of Rotterdam

A small furniture exporter in Ohio has a container leaving Hamburg, Germany, bound for Rotterdam in the Netherlands, where a truck will collect it. The shipping line's paperwork lists the destination only as NLRTM. She opens the port and harbor finder and searches the code to learn what she is actually dealing with, and when she should book the truck.

The finder decodes the UN/LOCODE for her. The first two letters, NL, are the country code for the Netherlands, and RTM is the place code for Rotterdam, so NLRTM is simply Rotterdam, Netherlands. The port sits at about 51.95 N, 4.14 E, near the mouth of the Rhine. It is the largest seaport in Europe, and the finder shows that its terminals stretch for miles downriver toward the sea, with the newest container terminals near the river mouth rather than in the old city harbor. It also notes the port can berth the largest container ships afloat, which is why her shipping line routes through it instead of a smaller Dutch port. She also notes the finder lists pilot boarding points and the general anchorage area offshore, small details that explain why ships sometimes wait at anchor for hours before a berth opens, a delay her delivery promises quietly need to allow for.

She also checks the sailing math. Hamburg's port code is DEHAM, and the sea route down the Elbe River and along the Dutch coast to Rotterdam is about 200 nautical miles. A feeder ship making 12 knots covers that in roughly 17 hours, so a Monday evening departure means a Tuesday arrival. Both ports are tidal, but in different ways: Hamburg sits about 60 miles up the Elbe, where the tide runs roughly 12 feet, while Rotterdam, close to the open sea, sees a gentler range of roughly 5 to 6 feet (about 1.7 meters). Those tides decide the exact docking windows her freight forwarder books at each end.

With the coordinates and terminal layout clear, she can finally picture the journey: down the Elbe with the ebb tide, across the top of the Netherlands, and into the Maasvlakte terminals. She sends the truck driver the terminal location from the finder, not the city center, because on a port this size the wrong pin can mean a 30-minute drive and a missed pickup slot. She also saves the Hamburg entry, so when the next container moves in the opposite direction, both ends of the route are already documented in her files.

Common mistakes to avoid

  • Sending drivers to the city center pin. Big ports are spread out. Rotterdam's deep-water terminals sit about 20 miles west of downtown, so a city-center coordinate sends trucks to the wrong gate entirely. Always use the terminal or harbor location the finder gives, not the city's general pin.
  • Guessing a LOCODE instead of looking it up. LOCODEs are exactly five characters, two for the country and three for the place. One wrong letter points your paperwork at a different port, sometimes on another continent, and the mistake may not surface until the container is already on the water.
  • Assuming every listed harbor takes cargo ships. Directories mix container terminals, fishing harbors, ferry docks, and pleasure marinas. Check the port type and facilities in the finder before assuming your freight can berth there, especially in small coastal towns with one of each.

Pro tips

  • Decode any LOCODE by splitting it after two letters: the country first, then the place.
  • Use the finder coordinates to check which terminal your ship uses, since terminals in one port can be miles apart.
  • Note the tidal range for ports your cargo uses, because docking and departure times often follow the tide.
Geospatial Engineering Reference & Field Manual

Applied Geospatial: Aviation, Marine, Time & Map APIs

Where mapping meets the real world: how planes navigate the curve of the Earth, how ships measure the sea, how time zones really work, and how developers build on map tiles and APIs. Written for Global Seaport & Maritime Harbor Directory and the everyday mapping tasks around it.

1

Great-Circle Navigation: Why Planes Arc

The shortest path between two points on a sphere is a great circle — the route you get slicing the planet through its center. On a flat map this looks like a dramatic arc, which is why New York to Tokyo flights swing near Alaska. The map is lying; the plane is flying straight.

Airlines do not fly perfect great circles. Jet streams — rivers of wind at 35,000 feet — can add 100 mph to ground speed or subtract it. Dispatchers nudge routes into favorable winds, trading a few extra miles for much faster trips. The planned track is a great circle bent by the weather.

For flight planning, distances come in flavors. Great-circle miles are the geometric minimum; filed flight plans run 3 to 7 percent longer for airways and maneuvering. Fuel planning adds reserves on top. When a tool reports 5,500 miles for a transatlantic hop, the airline plans for 5,800.

Airports are identified by two code systems. The 3-letter IATA codes (JFK, LHR, CDG) are for travelers; the 4-letter ICAO codes (KJFK, EGLL, LFPG) are for pilots and air traffic control, with the first letter naming the region. Both point to the same runways.

2

At Sea: Nautical Miles, Knots & Rhumb Lines

A nautical mile is one minute of latitude — about 1.15 land miles or 1.85 kilometers. Because it derives from the Earth's geometry, it is the natural unit for marine navigation: one minute of latitude traveled equals one nautical mile made good, anywhere on the planet.

Speed at sea is measured in knots — nautical miles per hour. The word comes from sailors tossing a knotted rope overboard and counting knots paid out against a sandglass. A container ship at 20 knots covers about 480 nautical miles a day, which is why your overseas order takes weeks.

Sailors historically steered rhumb lines: courses of constant compass bearing. A rhumb line spirals toward the pole and runs longer than the great circle, but it is trivially easy to follow — just hold the heading. Modern ships with GPS follow great circles, but the rhumb line remains the backup every navigator learns.

Ports are the fixed points of maritime geography. Each major harbor publishes exact coordinates for its harbor entrance, and shipping contracts price by port pair. A few miles of error in a port position can misroute a vessel into the wrong traffic lane — precision matters even on the open ocean.

This page shows the first two chapters. Read the complete this category field guide →