How to Load a Shipping Container (The Right Way)
Loading a shipping container sounds straightforward — put things inside, close the doors. In practice, a poorly loaded container means damaged freight, failed inspections, unstable loads at sea, and wasted money on containers you didn't need to book.
This guide covers exactly how to load a shipping container: the preparation steps, the rules that actually matter (weight distribution, stacking, securing), common mistakes that cost shippers real money, and how container loading software handles all of this automatically at scale.
Before You Start: Preparation Checklist
Rushing to load without preparation is how cargo gets damaged. Before the first item goes in, work through this list:
- Inspect the container. Check for holes, rust, damaged door seals, and signs of pests or chemical contamination. A compromised container can ruin an entire shipment.
- Verify the floor. The container floor should be clean, dry, and structurally sound. Look for soft spots or broken floorboards.
- Check the door operation. Both doors should open, close, and lock without force. Locking rods need to move freely.
- Know your cargo dimensions and weights. You need exact weights and dimensions for every item or carton before you can plan a safe load.
- Have your load plan ready. Know what goes in first, where the heavy items sit, and which cargo needs to be accessible at destination. Improvising inside a container leads to poor space utilization and shifting freight.
- Gather securing materials. Dunnage bags, load bars, cargo straps, and edge protectors should all be on site before loading starts.
Know Your Container Specs
The two most common containers in international shipping are the 20ft and 40ft ISO standard containers. Their internal dimensions differ from their external dimensions, and it's the internal dimensions that determine how much you can fit.
| Container Type | Internal Length | Internal Width | Internal Height | Max Payload | Internal Volume |
|---|---|---|---|---|---|
| 20ft Standard | 5.89 m (232.7 in) | 2.34 m (92.1 in) | 2.38 m (93.7 in) | ~21,600–28,000 kg | ~33 m³ |
| 40ft Standard | 12.02 m (473.1 in) | 2.34 m (92.1 in) | 2.38 m (93.7 in) | ~26,500–27,000 kg | ~67 m³ |
| 40ft High Cube | 12.02 m (473.1 in) | 2.34 m (92.1 in) | 2.69 m (105.9 in) | ~26,300–26,800 kg | ~76 m³ |
Always check the actual door placard on the container for the specific gross weight limit and tare weight. These vary by manufacturer and container age. Exceeding the payload limit is a serious liability — port authorities and carriers enforce weight restrictions strictly.
The 40ft high cube is worth considering when cargo is lightweight but voluminous — the extra 30 cm of height adds roughly 9 m³ of usable space without adding to your floor footprint.
Weight Distribution Rules
Weight distribution is the single most important factor in container loading. Getting this wrong affects stability at sea, road transport compliance, and can make a container physically dangerous to unload.
The core principle: heavy low, even across the floor
Heavy cargo should always go on the floor, close to the center of the container lengthwise. Stacking heavy items high raises the container's center of gravity and increases the risk of tipping during transport or crane lifts.
Side-to-side balance
Distribute weight evenly from left to right. Overloading one side of the container causes uneven stress on the container structure and creates a risk of toppling when the container is lifted by crane. A simple rule: if you split the container down the middle lengthwise, both halves should carry similar weight.
Front-to-back balance
For road transport, weight should be distributed evenly across the chassis axles. Overloading the rear causes axle overweight violations. Overloading the front affects the truck's steering and braking. Your freight forwarder or trucking company can advise on the axle weight limits for the specific chassis type.
Weight limits per floor section
Most ISO containers have a maximum point load of around 3,000–5,000 kg per square meter on the floor. Cargo on forklift tines or skids concentrates weight over a small area. If you're loading extremely dense freight (machinery, metal parts, stone), check the container floor's load capacity and use spreader plates if needed.
Step-by-Step Loading Process
With your container inspected, your specs confirmed, and your load plan in hand, here's how the actual loading should proceed.
Place the heaviest cargo first, against the front wall
The front wall (opposite the doors) is the most rigid fixed surface in a shipping container — corrugated steel braced between the corner posts. It can't shift, swing open, or settle the way the doors can, which makes it the natural surface to brace your heaviest, densest freight against. Load that cargo first, on the floor, hard against the front wall. This anchors the load and creates a stable base to build on.
If you're loading pallets, use a forklift to position them starting from the front wall and working toward the doors. If you're hand-loading, work from front to back.
Fill the floor before stacking
Try to cover the container floor with cargo before you start stacking upward. Gaps in the first layer mean unstable stacking and wasted volume. Heavy items should sit directly on the floor — never suspend them on top of lighter cargo.
Stack lighter cargo on top, respect orientation rules
Lighter cartons go on top of heavier ones, never the other way around. Items marked "this side up" or "upright only" must stay in that orientation throughout. Fragile goods should be positioned where they won't bear any load from above.
If you're using containerization software, you can flag items as uprightOnly in the API and the system enforces those constraints automatically when generating placement coordinates.
Fill voids as you go
Every void inside a loaded container is a place where freight can shift. As you load each row or layer, fill gaps with dunnage (airbags, foam, cardboard) before moving to the next row. Don't load the whole container and then try to fill voids at the end — it doesn't work effectively that way.
Work toward the doors
Always load from the front wall toward the doors. The last cargo loaded should be positioned near the doors and should be the first freight needed at the destination. This matters for multi-stop shipments or when loading a mix of cargo for different consignees.
Secure, check, and close
Before closing the doors, do a final check: is the load stable, are all voids filled, is any cargo at risk of falling when the doors open at destination? Install any remaining load bars or straps, then close and seal the container.
Securing Cargo Inside the Container
A container moves through rough seas, sharp truck maneuvers, and crane lifts. Cargo that isn't secured will shift. Shifted cargo damages freight and can create a container that's physically dangerous to open.
Dunnage bags (airbags)
Inflate dunnage bags inside the voids between cargo and the container walls, or between rows of pallets. They expand to fill irregular gaps and are one of the most effective methods for preventing cargo movement in standard containers. Size them to fit the void — undersized bags don't provide enough resistance to keep freight in place.
Load bars and cargo straps
Extend load bars horizontally between the container walls to brace pallets or cartons in place. Run cargo straps over the top of freight and anchor them to the container's lashing rings. Both are standard on pallet loads and for any cargo that can't be stabilized with dunnage alone.
Blocking and bracing
Use timber or engineered lumber to block cargo from moving forward, backward, or sideways. This is common for heavy machinery or irregular freight that can't be fully surrounded by dunnage. Blocking lumber must be secured to the container floor — don't just wedge it in loosely.
Anti-slip mats (friction materials)
Lay anti-slip mats between cargo layers and under the bottom row to dramatically reduce sliding. They're inexpensive and worth using on any load where cartons or pallets are stacked directly on each other.
Common Loading Mistakes to Avoid
Most container loading problems come down to the same repeated errors. Here are the ones that actually cost shippers money or result in damaged freight:
Overloading the container
Every ISO container has a stamped maximum gross weight. Exceeding it is a legal violation at ports worldwide and risks damage to the container structure. Weigh your freight before committing to a container size, not after.
Ignoring center-of-gravity requirements
A high center of gravity makes a loaded container unstable during crane operations and on ships in heavy swell. The IMO/ILO/UNECE CTU Code for safe packing of cargo transport units recommends keeping the center of gravity as low as possible — in most cases at or below half the container's internal height. Your freight forwarder can advise if your cargo mix creates a high-CG problem.
Leaving large voids unfilled
Empty space inside a container is where freight shifts. A shipment that looks well-loaded when you close the doors can arrive with everything collapsed if voids weren't properly filled. Dunnage is not optional on any load that isn't a perfect floor-to-ceiling brick of cargo.
Loading without a plan
Sending a team to load a container without a predetermined load plan leads to poor space utilization, inconsistent results across shipments, and avoidable mistakes. A proper load plan tells every person on the floor exactly what goes where and in what order. If you're loading containers regularly at any volume, this is where container loading optimization software pays for itself — the API generates an exact load plan with coordinates and loading sequence before any physical work starts.
Mixing incompatible cargo without separation
Chemicals, food products, and fragile goods have strict separation requirements. Some combinations are prohibited outright by international regulations. Always check compatibility before loading a mixed container, and use physical barriers between incompatible cargo categories.
Forgetting moisture protection
Temperature differentials inside ocean containers create condensation — the so-called "container rain" effect. Moisture-sensitive cargo should be protected with desiccants or moisture-barrier packaging, especially on long ocean routes or humid climate routes.
Skip the manual planning
P4P's containerization API generates exact load plans with placement coordinates, loading sequence, and space utilization stats in under a second. No spreadsheets, no guesswork.
Try the Free Sandbox Read the DocsHow Container Loading Software Handles This Automatically
Everything described in this guide — weight distribution, loading sequence, orientation rules, space utilization — has to be calculated manually when you plan loads without software. For a single container with a handful of SKUs, that's manageable. For teams loading containers daily with dozens of item types, it becomes the kind of problem that eats hours and produces inconsistent results.
This is exactly what containerization software solves. P4P's 3D container loading API takes your item dimensions, quantities, weights, and orientation rules, then calculates the optimal arrangement automatically. The response includes precise x/y/z coordinates for every item, the loading sequence, and total space utilization.
What the API handles that manual planning can't
- Combinatorial optimization across hundreds of SKUs. A human planner can't evaluate every possible arrangement of 50 item types to find the densest valid packing. The API can, in milliseconds.
- Upright-only and fragile item constraints. Set
uprightOnly: trueper item and the algorithm never rotates that item on its side, regardless of where it needs to fit. - Side-loading mode for shipping containers. Unlike pallets loaded top-down, shipping containers are loaded from the side (through the doors). The API's
sideLoadmode generates placement coordinates in physical loading order — you work from the front wall back, with each item placed in the sequence the API specifies. - Multi-container optimization. Pass multiple container sizes and the API determines the optimal distribution of freight across them, minimizing containers needed.
- Weight limit enforcement. Set
maxContainerWeightand the algorithm never exceeds it, distributing freight to stay within limits.
The output is JSON, ready to feed directly into your TMS, WMS, or ERP. Your warehouse team gets a loading manifest with exact instructions rather than making judgment calls on the floor. This is how palletization and truck loading get handled in the same workflow — one API, one integration, consistent results across every use case.
If you want to see what the output looks like before integrating anything, the interactive sandbox lets you input your own dimensions, run the optimization, and view the result in 3D, no account required.
A practical example
Say you're loading a 20ft ISO container with electronics shipments and furniture sets. Instead of manually figuring out what goes where, you POST to the API with your item list, set the container to sideLoad mode, specify the max container weight, and get back exact placement coordinates for every item in the order they should be loaded. The furniture sets go in first at the back, electronics stack on top and alongside. The response includes a utilization figure for the resulting load — a number you can compare against whatever your team currently hits by eye.
For teams running multiple containers per week, that consistency translates directly to fewer containers booked, lower freight spend, and fewer damaged shipment claims.
Frequently Asked Questions
Automate your container load planning
P4P's containerization API generates optimal load plans in under a second. $0.03 per request, no subscription, no setup fee. Works alongside palletization and truck loading in the same integration.
Try the Sandbox Free Containerization API