CargoMath
Tools / Container Cost

Container Shipping Cost Calculator — 20ft / 40ft / 40HQ All-In Estimate

Tool creator: Helenpeng, CEO of Honourocean Shipping Co., Ltd., working in logistics since 2009. About CargoMath · Honourocean

Answer: Container shipping cost = ocean freight per container + origin local charges + destination local charges + terminal handling, multiplied by the number of containers booked.

Estimated total
4800.00 USD
Cost per container
4800.00 USD
Container count
1

What does it cost to ship a container?

Container shipping cost = base ocean freight + origin local charges + destination local charges + terminal handling, multiplied by the number of containers booked. The freight line on a forwarder quote is rarely the full bill — local charges on both ends typically add 25–60% to the headline rate.

How the calculator works

Enter the four cost layers per container, plus how many containers you are booking. The calculator sums the layers to get cost-per-container, then multiplies by container count for the total. Keeping the layers separate makes it easy to swap one forwarder’s quote against another and spot where margin is hidden.

  • Ocean freight — the base port-to-port linehaul charge for one container.
  • Origin fees — export customs clearance, origin docs, origin THC, telex release.
  • Destination fees — destination THC, ISF (US imports), customs entry, AMS, doc release.
  • Terminal handling — any extra wharfage, pier pass, congestion surcharge some lanes break out.

Cost-per-container reference (as of May 2026)

LaneContainerBase ocean freight (USD)Typical local charges (origin + destination)
China → US West Coast40HQ3,200 – 4,5001,000 – 1,800
China → US East Coast40HQ4,000 – 5,4001,200 – 2,100
China → US West Coast20ft GP2,400 – 3,300900 – 1,500
China → North Europe40HQ2,800 – 3,900950 – 1,600
Vietnam → US West Coast40HQ3,400 – 4,8001,100 – 1,900

Spot rates move week to week. Use these as a sanity range, not a quote.

Worked example

You are booking 2 × 40HQ from Shenzhen to Long Beach.

  • Ocean freight per container: USD 3,800
  • Origin fees per container: USD 450
  • Destination fees per container: USD 850
  • Terminal handling per container: USD 300
  • Container count: 2

Cost per container = 3,800 + 450 + 850 + 300 = USD 5,400. Total cost = 5,400 × 2 = USD 10,800.

Add US customs duty (use the US Customs Duty Calculator) and drayage to your warehouse for the true door-to-door number.

20ft vs 40ft vs 40HQ — when does each size win?

ContainerInternal volumeMax payloadTypical cost-per-CBM
20ft GP~33 m³~28,000 kgLowest USD/kg for dense, heavy cargo
40ft GP~67 m³~26,500 kgBest USD/CBM for general cargo
40HQ~76 m³~26,500 kgBest USD/CBM for light, voluminous cargo
45HQ~86 m³~26,000 kgMarginal gain; limited availability and chassis fit

If your cargo is heavy and dense (machinery, books, liquids), the 20ft is often the lowest cost per kg even though the headline rate is lower for a 40ft. For boxed consumer goods and FBA-bound product, 40HQ usually wins.

FAQs

Does this calculator include customs duty? No. It estimates the container freight line and local container charges. Duty, MPF, HMF, customs brokerage, and tariffs must be added separately.

Why is the ocean freight line lower than the final container bill? Forwarders often split quotes into ocean freight, origin charges, destination charges, terminal handling, and documentation. The local charges can add 25-60% to the headline freight rate.

Which container size is cheapest per CBM? For light boxed cargo, 40HQ is usually cheapest per usable CBM. For dense cargo, 20ft can be better because payload weight becomes the constraint before volume.

When should I use FCL instead of LCL? On China-US lanes, FCL often starts to beat LCL around 12-18 CBM depending on fixed LCL charges and the 20ft/40ft container quote.

Does the calculator include drayage to Amazon FBA or a warehouse? No. Add drayage, appointment fees, prep-center handling, and FBA receiving costs after you estimate the container line.

Dated facts (as of May 2026)

  • China-US West Coast 40HQ spot quotes commonly sit around USD 3,200-4,500 base ocean freight before all destination and origin extras.
  • Combined origin and destination local charges on China-US FCL quotes commonly add about USD 1,000-1,800 per container.
  • East Coast routings generally add USD 800-1,200 versus US West Coast for comparable China-origin FCL shipments.

When this calculator isn’t enough

This tool prices the container line only. For a full landed cost, also factor:

  1. US customs duty + MPF + HMF — see the US Customs Duty Calculator.
  2. Last-mile drayage and warehouse delivery — quote separately with a domestic trucker.
  3. Demurrage and detention — if you exceed free time at the port or with the chassis.
  4. LCL break-even — under ~15 CBM, LCL is usually cheaper than booking a 20ft. See the FCL vs LCL Calculator.

Lock the container cost number here, then request a live quote for the missing layers.

Frequently asked questions

What does the container shipping cost calculator include?
It estimates all-in port-to-port container spend by adding base ocean freight, origin local charges (export customs, doc fee, THC origin), destination local charges (THC destination, ISF, customs entry), and terminal handling, then multiplying by the number of containers booked.
Does this calculator include US customs duty and final delivery?
No. Import duty, HMF, MPF, customs brokerage, and last-mile trucking to your warehouse or FBA center sit outside this calculator unless you fold them into destination fees manually. Pair it with the US Customs Duty Calculator and a separate drayage quote for a true door-to-door number.
How much does a 40HQ container cost to ship from China to the US in 2026?
As of May 2026, all-in 40HQ China–US West Coast typically runs USD 3,200–4,500 base ocean freight plus USD 1,000–1,800 in combined origin and destination local charges. East Coast adds roughly USD 800–1,200 for the Panama or Suez routing. Spot rates move week to week, so always confirm with a live quote.
Why separate origin fees and destination fees from the ocean freight line?
Many forwarders quote a low headline ocean rate and recover margin in local charges. Breaking the cost into four buckets makes apples-to-apples quote comparison cleaner and reveals where one forwarder is actually cheaper than another.
Does container size change the cost dramatically?
Yes, but not linearly. A 40ft container generally costs only 20–40% more than a 20ft container while holding roughly twice the volume, so cost-per-CBM is much lower for 40ft and 40HQ. The break-even from LCL to FCL is usually around 15 CBM.
What is THC and where does it go in this calculator?
THC stands for Terminal Handling Charge — the port-side cost of loading or unloading the container. Origin THC goes into origin fees; destination THC goes into destination fees. The dedicated terminal handling input is for additional terminal or wharfage charges that some lanes break out separately.

Related tools