How does a shipping container get from China to your door? The route to Los Angeles
A steel box of standard size leaves Shanghai, crosses the Pacific in 14 to 17 days depending on the service, and lands in Los Angeles or Long Beach. And the ocean freight is a smaller slice of what you pay than you might think.
Published Updated 7 min readApplies to: United States
Short answer
The container is sealed at the factory, trucked or railed to the port, lifted onto the ship by cranes and carried across the ocean. Shanghai to Los Angeles is about 5,700 to 5,810 nautical miles, and one MSC service schedules 17 days to Long Beach, with a stop in Busan. At the port the box goes to the yard, clears customs and leaves by truck or rail. Routes, transit times and rates vary by carrier and date.
Key points
- 1Containers work because their size is standard: ISO 20-foot and 40-foot boxes date from 1968.
- 2A ship-to-shore crane averaged 23.5 moves per hour worldwide in 2023, and several cranes work the same ship at once.
- 3Shanghai to Los Angeles is about 5,700 nautical miles. One carrier schedules 17 days to Long Beach, including a call at Busan.
- 4Sailing slower saves a lot of fuel: daily burn rises roughly with the cube of speed.
- 5Ocean freight is often less than 1% of the value of shoes and clothing, but can reach 14% for furniture and appliances.
One box, five stages
The sneakers, the phone charger or the skillet that came from China made almost the whole trip inside a steel box nobody opened after the factory. That box changes trucks, cranes and ships without anyone touching the cargo.
The journey has five stages. Some are measured precisely; others vary so much that there is no honest single number for them. Let's take them in order.
From the factory to your door: Factory (in China) → Port of Shanghai (loading) [truck or rail]; Port of Shanghai (loading) → Ship (Pacific Ocean) [crane]; Ship (Pacific Ocean) → LA / Long Beach (unloading) [across the Pacific]; LA / Long Beach (unloading) → Your home (delivery) [customs, truck or rail]
The box that changed everything
The first container voyage left Port Newark, New Jersey, on April 26, 1956. The Ideal X, organized by trucking entrepreneur Malcolm McLean, carried 58 containers to Houston and arrived five days later. Loading took under eight hours.
McLean's own math explains the revolution: loading a ton of loose cargo cost $5.83 in 1956; with containers, less than $0.16. But those boxes were 35 feet long, the size of truck trailers at the time. They weren't standard yet.
The standard came with ISO 668, introduced in 1968. Today the most common boxes are 20 feet (6.058 m long) or 40 feet (12.192 m), both 8 feet wide and 8 feet 6 inches high, with a maximum loaded weight of 36,000 kg. The industry counts everything in TEU, the 20-foot box: a 40-footer is 2 TEU.
Loading in Shanghai
Shanghai has been the world's busiest container port for 16 years in a row, with more than 55 million TEU in 2025. Its deep-water terminal, Yangshan, ranked No. 1 in the World Bank's 2023 port performance index.
Ship-to-shore gantry cranes put the boxes on board. The global average in 2023 was 23.5 moves per crane hour, where a move is one box lifted. Records are far higher: one Long Beach crane crew hit 70 moves an hour over a shift in 2018. That's why several cranes work the same ship at once. A whole port call, from arrival to departure, averaged 40.5 hours worldwide in 2023.
And the ships are huge. The MSC Irina, among the largest ever built, is 399.9 m long and 61.3 m wide, carries 24,346 TEU and stacks boxes up to 26 tiers high.
Across the Pacific
According to the US government's official table of distances between ports (Pub. 151), Shanghai to Los Angeles is 5,699 nautical miles through Japan's Tsugaru Strait and 5,810 through the Osumi Strait. Long Beach uses the same distances as Los Angeles.
Shanghai → Los Angeles: two straits: Tsugaru Strait: 5,699 nautical miles; North of Honshu, Japan; ≈ 14.8 days at sea at 16 knots (math only) | Osumi Strait: 5,810 nautical miles; South of Kyushu, Japan; ≈ 15.1 days at sea at 16 knots (math only)
How long does it take? MSC's Orient service schedules 17 days from Shanghai to Long Beach, with a call at Busan on the way, and the carrier says times are indicative. A port-economics textbook uses 14 days for Shanghai to LA. The simple math, at 16 knots with no stops, gives 14.8 days at sea. Each carrier runs its own rotation, and transit times change with it.
Slower burns less
Most container ships are designed for about 24 knots. But they usually sail slower: 20 to 25 knots counts as normal speed, 18 to 20 as slow steaming, 15 to 18 as extra slow steaming and 12 to 15 as minimal-cost speed. A port-economics textbook uses 16 knots to compare routes.
The reason is fuel. An 8,000-TEU ship burns about 225 tons a day at 24 knots and about 150 at 21 knots, a third less. That matches the rule used in most estimates: daily fuel burn rises roughly with the cube of speed. Because a slower ship spends more days at sea, fuel for the whole voyage falls roughly with the square of speed.
Try the route
In the simulator, pick the speed and the days of waiting at the destination port; the route is the direct Pacific crossing via the Tsugaru Strait (5,699 nautical miles). It also adds the average 40.5-hour port call at each end. Extra waiting runs from 0 to 4 days: in Shanghai, waiting time had reached 97 hours (about 4 days) and fell to 38 hours in the week to October 22, 2026. The rate is the market spot price for one 40-foot box from Shanghai to Los Angeles: $8,007 on October 22, 2026. Pick how many units fit in the box to see the freight per unit; that number is yours, not a measurement.
Simulator of a container's trip from Shanghai to Los Angeles across the Pacific: pick the speed and the days of waiting at port, and see days at sea, relative fuel and freight cost per unit.
How much freight adds to the price
Thousands of dollars per box sounds like a lot, but it's split across everything inside. According to an analysis based on OECD data (2005), container shipping is often less than 1% of the value of shoes and clothing. For appliances and furniture, which take up a lot of space for what they're worth, it can reach 14%.
And the ocean isn't even the biggest cost. In a classic breakdown of container transport costs (Stopford, 2002), the ship accounts for 23%; ports and terminals for 21%; inland transport for 25%; the boxes themselves for 18%; and everything else for 13%.
From the port to your door
The stages and what we know about them: Varies Factory → port (Box sealed and moved by truck or rail to the terminal) → ≈ 40 h Port call (Global average port call in 2023: 40.5 hours) → 14–17 days Pacific crossing (14 days in a textbook; 17 on one MSC service, via Busan) → Varies Unloading and yard (A crane lifts the box off the ship; it waits in the stacks) → Varies Customs (Procedures and timing differ from country to country) → 5–8 days by rail Inland to you (Double-stack rail to the East Coast, or a truck to a nearby warehouse)
At Los Angeles or Long Beach, a crane lifts the box off the ship onto the dock, and it moves to the yard, stacked with thousands of others. In the World Bank's 2023 index, which measures how long ships spend in port, Long Beach ranked 373rd and Los Angeles 375th out of 405 ports.
Then comes customs. Procedures and timing differ from country to country, and there is no comparable data for China-origin cargo. Once cleared, the box leaves by truck or by train: freight bound for the East Coast can cross the country by double-stack rail in 5 to 8 days. At a warehouse it's opened for the first time since the factory, and the goods head to you.
Questions people ask
How long does a container take from China to Los Angeles?
It depends on the service. MSC's Orient service schedules 17 days from Shanghai to Long Beach, including a call at Busan, and a textbook uses 14 days for Shanghai to LA. Add time in port, customs and the inland leg, which vary a lot.
How much does it cost to ship a container from Shanghai to Los Angeles?
On October 22, 2026, Drewry's index put one 40-foot box from Shanghai to Los Angeles at $8,007. The price changes every week and doesn't include port charges, customs or inland transport.
What is a TEU?
It's the industry's unit of measure: one 20-foot container. A 40-foot box counts as 2 TEU. A 24,346-TEU ship like the MSC Irina carries the equivalent of 24,346 twenty-foot boxes.
How does a container get from the West Coast to the East Coast?
Often by train. Cargo for the East Coast can land at Los Angeles or Long Beach and cross the country on double-stacked rail cars in 5 to 8 days.
Why do ships sail slowly on purpose?
To save fuel. Daily fuel burn rises roughly with the cube of speed: an 8,000-TEU ship burns about 225 tons a day at 24 knots and about 150 at 21 knots. The cube rule is an approximation and, according to a 2023 study, can overstate the savings.
Who invented the shipping container?
The first container voyage was organized by trucking entrepreneur Malcolm McLean in 1956, aboard the Ideal X from Port Newark to Houston, with 58 boxes 35 feet long. Standard ISO sizes came later, in 1968.
Sources and notes
- Confirmed factPub. 151 Distances Between Ports, 11th ed. (2001), US National Geospatial-Intelligence Agency (third-party mirror)Shanghai → Los Angeles: 5,699 nm via Tsugaru Kaikyo, 5,810 nm via Osumi Kaikyo. Long Beach uses Los Angeles distances.
- Confirmed factWorld Container Index (assessment of Oct 22, 2026), DrewryShanghai → Los Angeles: $8,007 per FEU; Shanghai → Rotterdam: $3,632 (Oct 22, 2026). Shanghai waiting time fell from 97 h to 38 h that week.
- Confirmed factAsia – North America West Coast 2026 (service brochure), MSCOrient service: 17 days Shanghai → Long Beach, with a call at Busan. Transit times are “indicative and subject to change”.
- Confirmed factRouting Options between Shanghai, Rotterdam and New York, Notteboom, Pallis, Rodrigue, Port Economics, Management and PolicyShanghai → LA/LB: 14 days; double-stack rail to the US East Coast: 5–8 days; 16 knots used as the planning speed.
- Confirmed factThe Container Port Performance Index 2023, World Bank and S&P Global Market Intelligence23.5 moves per gross crane hour (global average); average port call of 40.5 h in 2023; Yangshan 1st, Long Beach 373rd, Los Angeles 375th of 405 (Table E.1).
- Confirmed factPort of Long Beach crane operators set new single-shift cargo record, SudohodstvoRecord of 70 moves per hour over an 8-hour shift (Pier T, Long Beach, May 15, 2018).
- Confirmed factShanghai retains world's busiest container port title for 16th year in a row, Shanghai Municipal GovernmentMore than 55 million TEU in 2025.
- Confirmed factWorld's Largest Container Ship MSC IRINA Makes Historic Debut at Vizhinjam, Adani PortsMSC Irina: 24,346 TEU, 399.9 m × 61.3 m, up to 26 tiers. Described here as among the largest, not the largest.
- Confirmed factISO 668, Wikipedia (summary of ISO 668:2020)Standard from 1968; 20-ft (6.058 m) and 40-ft (12.192 m) boxes, 8 ft wide and 8 ft 6 in high; maximum gross mass 36,000 kg.
- Confirmed factIdeal X, Port HoustonLeft Port Newark on April 26, 1956 with 58 containers 35 ft long, organized by Malcolm McLean; loaded in under 8 hours; arrived five days later.
- Confirmed factFirst Containership, Ideal-X, 1956, J.-P. Rodrigue, The Geography of Transport SystemsLoading cost: $5.83 per ton for loose cargo vs less than $0.16 with containers, by McLean's own calculation.
- Confirmed factFuel Consumption by Containership Size and Speed, J.-P. Rodrigue, citing Notteboom & Cariou (2009)Designed for ~24 knots; speed classes from 12 to 25 knots; 8,000-TEU ship: ~225 t/day at 24 knots and ~150 t/day at 21 knots.
- Confirmed factEmissions assessment of container ships sailing under off-design conditions, Borén Altés, Grifoll Colls, Castells Sanabra, J. Mar. Sci. Eng. (2023)The cubic relation “could overestimate the impact of slow steaming”; exponents of 3.1 and 3.5; overrating above 20% in all cases analyzed.
- Confirmed factContainer Shipping Costs and Cargo Value, J.-P. Rodrigue, adapted from OECD (2005)Container transport is often less than 1% of the value of shoes and apparel; up to 14% for appliances and furniture. 1 FEU = 2 TEU.
- Confirmed factContainer Transport Costs, J.-P. Rodrigue, citing Stopford (2002)Cost split: ship 23%, containers 18%, ports and terminals 21%, inland transport 25%, other 13%.
- Teaching simplificationDays at sea = distance ÷ (speed × 24)Ignores port calls, deviations, currents and weather. At 16 knots: 14.8 days via Tsugaru and 15.1 via Osumi. Real services stop at several ports.
- Teaching simplificationFuel by the cube ruleDaily burn ∝ speed³; voyage fuel ∝ speed². May overstate slow-steaming savings (Borén Altés et al., 2023).
- Teaching simplificationFreight per unit = rate per 40-ft box ÷ unitsPort-to-port ocean freight only. The reader chooses the number of units: we found no reliable source for how many items fit in a box.