Port-to-port distance · Shanghai, China
Oakland to Shanghai by sea
Oakland and Shanghai are 5,410 nautical miles apart by sea, across open water with no canal or strait on the route: 15.0 days at 15 knots.
- Sea route
- 5,410 nm10,019 km
- At 15 knots
- 15.0 daysTime at sea only
- Lane trade, 2025
- $9.1BCensus, by vessel $9.1B
Time at sea
Days at sea are the distance divided by the speed, around the clock, with no time in port, at anchor, in a canal or for weather. The carrier's own transit time counts its port calls and is longer.
- 12 knots
- 18.8 days
- 15 knots
- 15.0 days
- 18 knots
- 12.5 days
- 22 knots
- 10.2 days
The route
The straight line is the great-circle distance between the two ports' coordinates. The sea route runs 1% longer, around the land in its way.
- Sea route
- 5,410 nm
- Kilometres
- 10,019 km
- Statute miles
- 6,225 mi
- Straight line
- 5,335 nm
- By way of
- Open sea
US trade on the lane
Census Bureau figures for trade between Oakland and China in 2025. Census records the US port and the partner country, not the foreign port, so the figures cover Oakland's trade with China through any of its ports.
- Trade on the lane, 2025
- $9.1BDown 36.1% on 2024
- By vessel
- $9.1B100% of the lane
- In containers
- $9.0B98% of the vessel value
- Exports by vessel
- $1.3B
- Imports by vessel
- $7.8B
The two ports
As recorded in the World Port Index. Confirm current depths and limits with the port before you fix a vessel.
Oakland, California
- Channel depth
- 7.9 m
- Cargo pier depth
- 7.9 m
- Harbor type
- Coastal (Natural)
- UN/LOCODE
- US OAK
Shanghai, China
- Channel depth
- 7.9 m
- Cargo pier depth
- 11 m
- Harbor type
- River (Natural)
- UN/LOCODE
- CNSGH
Questions
How far is Shanghai from Oakland by sea?
5,410 nautical miles (10,019 km) along the shipping lanes, on the sea-lane model our calculator uses.
How many days does a ship take from Oakland to Shanghai?
At 15 knots, 15.0 days at sea; at 22 knots, 10.2 days. Port calls, canal transits and weather add time, and each carrier publishes its own transit times.
More distances
Shanghai from the other US gateways
- Charleston to Shanghai, 10,253 nm
- Houston to Shanghai, 10,207 nm
- Los Angeles to Shanghai, 5,760 nm
- Newark to Shanghai, 10,677 nm
- Norfolk-Newport News to Shanghai, 10,491 nm
- Savannah to Shanghai, 10,276 nm
- Tacoma to Shanghai, 5,158 nm
From Oakland
- Oakland to Tokyo, 4,596 nm
- Oakland to Busan, 4,959 nm
- Oakland to Kaohsiung, 5,850 nm
- Oakland to Ho Chi Minh City, 6,986 nm
- Oakland to Melbourne, 7,068 nm
- Oakland to Laem Chabang, 7,497 nm
- Oakland to Port Klang, 7,728 nm
- Oakland to Jakarta, 7,735 nm
- Oakland to Hamburg, 8,470 nm
- Oakland to Genoa, 8,613 nm
- Oakland to Nhava Sheva, 9,958 nm
Sources
- Sea-lane network: MARNET, built for Eurostat's SeaRoute, via the searoute package (Apache-2.0), as used by our sea distance calculator. Arctic passages left out. Distances are the shortest path on the network plus the leg from each port to its nearest lane.
- Port data: National Geospatial-Intelligence Agency, World Port Index (Pub 150).
- Lane figures: US Census Bureau, port-level trade by country, with value, vessel, air and container value and shipping weight, calendar 2024 and 2025, and goods by HS chapter for 2025; retrieved November 15, 2026.
- This product uses the Census Bureau Data API but is not endorsed or certified by the Census Bureau.