What is a Container Loading Calculator?
The container loading calculator computes how many boxes fit into a shipping container based on box dimensions and container type, comparing 20-foot, 40-foot, and 40-foot high-cube options.
How it's calculated
Calculations use the container's internal usable dimensions. A 20-foot dry container has an interior of about 5,898 × 2,352 × 2,393mm (roughly 33 CBM).
Loading example
Example: loading 60×40×40cm boxes into a 20-foot container
- Volume per box: 0.096 m³
- Theoretical maximum: 33 m³ ÷ 0.096 m³ ≈ 343 boxes
- Realistic count at 80% fill efficiency: about 274 boxes
Real-world sources of error
- Door and wall clearance: Space near the container doors and walls is needed for loading access, so theoretical volume is never fully usable.
- Pallet use: Loading on pallets reduces effective capacity by the thickness and gaps the pallets themselves introduce.
Good to know
- The shipping container was not invented by a shipping line — it was trucking entrepreneur Malcom McLean, who in 1956 proposed loading entire truck trailers onto a ship instead of hand-loading cargo piece by piece. That standardization dramatically lowered global shipping costs and became the foundation of modern supply chains.
- TEU stands for Twenty-foot Equivalent Unit — a 20-foot container counts as 1 TEU, a 40-foot container as 2 TEU.
- A 40-foot container is not exactly double a 20-foot one. Its volume is more than double (about 67 CBM), but its maximum payload weight is not.
- The High-Cube (HC) variant is about 30cm taller, which makes a real difference for lightweight, bulky cargo.
- Real-world container fill rates are typically 80 to 85 percent, since boxes rarely fit perfectly and space is needed for unloading access and cargo securing.
Frequently asked questions
Q. Which is better, a 20-foot or 40-foot container?
Bulky, lightweight cargo often favors the 40-foot; heavy, compact cargo may be more economical split across two 20-foot containers. Check the weight limit first.
Q. If the CBM matches, does everything fit?
Not necessarily. Even if total volume matches, mismatched box dimensions against container width can leave unused gaps. Loading is a placement problem, not just a volume problem.
Q. What happens if I exceed the container weight limit?
The port may refuse the load or charge extra fees. VGM (Verified Gross Mass) declaration is mandatory, so check limits in advance.