Container Loading Calculator

Calculate how many boxes or cargo units fit inside a 20ft or 40ft shipping container. Optimizes for 3D orientation and weight limits.

Complete User Guide

Our Container Loading Calculator helps logistics planners and exporters maximize cargo space. Here's how to use it:

Step 1: Select the container type. Options include 20ft Standard, 40ft Standard, 40ft High Cube (HC), and 45ft High Cube. Each has different internal dimensions and payload capacities.

Step 2: Enter your cargo unit (box) dimensions: length, width, and height. Choose your preferred units (cm, m, or inches).

Step 3: Enter the weight of a single cargo unit. This is critical because containers often hit their weight limit before they are physically full.

Step 4: Click 'Calculate'. The tool runs a 3D fitting algorithm that tries all 6 possible orientations of the box to find the one that fits the most units.

Step 5: Review the results, including total units, volume utilization percentage, and total weight. If the total weight exceeds the container's payload, the tool will warn you and show the maximum units allowed by weight.

The Mathematical Formula
Max Units = floor(L÷l) × floor(W÷w) × floor(H÷h) across all 6 box orientations

The calculator uses a 3D block-fitting algorithm:

For each of the 6 possible orientations of the box (LWH, LHW, WLH, WHL, HLW, HWL): 1. Units along Length = ⌊Container_L ÷ Box_dim1⌋ 2. Units along Width = ⌊Container_W ÷ Box_dim2⌋ 3. Units along Height = ⌊Container_H ÷ Box_dim3⌋ 4. Total Orientation Units = Units_L × Units_W × Units_H

The algorithm selects the orientation that yields the highest total unit count. It then checks the weight: Max Units by Weight = ⌊Container_Payload ÷ Unit_Weight⌋. The final result is the lower of the two values (Physical Fit vs. Weight Limit).

About Container Loading Calculator

Efficient container loading is the backbone of global trade. Shipping containers are the standard units of logistics, and maximizing their utilization directly reduces shipping costs per unit. This calculator handles the geometric complexity of fitting rectangular boxes into a large rectangular space, a problem that is difficult to solve mentally when box dimensions are close to container dimensions.

Standard Container Dimensions (Approximate Internal): - 20ft Standard: 5.90m × 2.35m × 2.39m (Volume: 33m³) - 40ft Standard: 12.03m × 2.35m × 2.39m (Volume: 67m³) - 40ft High Cube: 12.03m × 2.35m × 2.70m (Volume: 76m³)

'Cubing Out' vs. 'Whing Out': Logistics professionals use these terms to describe how a container reaches its limit. 'Cubing out' happens when the container is physically full of light cargo (like electronics or clothing) but hasn't reached its maximum weight. 'Whing out' happens when heavy cargo (like machinery or tiles) reaches the container's maximum payload while the interior is still half empty. This tool helps you identify which limit you will hit first, allowing for better inventory planning and more accurate shipping quotes.

Frequently Asked Questions

Calculator

Verified Precise

Secure
100% Free
Precise