User Rating 0.0 โ˜…โ˜…โ˜…โ˜…โ˜…
Total Usage 0 times
Container Type
Cargo Dimensions
mm
mm
mm
Cargo Weight per Unit
kg
Is this tool helpful?

Your feedback helps us improve.

โ˜… โ˜… โ˜… โ˜… โ˜…

About

Miscalculating container loads costs real money. An underloaded 40ft container wastes 30m3 of paid volume. Overloading past the rated payload of 26,680 kg triggers port rejections, fines, and structural risk to the chassis. This calculator solves the 3D bin-packing problem for standard ISO 668 intermodal containers. It applies a First Fit Decreasing Height algorithm to determine how many uniform cartons fit inside a given container, respecting dimensional constraints, stacking limits, and maximum gross mass. Volumetric utilization and floor coverage are reported as percentages.

The tool assumes rigid rectangular cargo with uniform dimensions. It does not account for palletization, internal bracing, or irregular load shapes. Weight distribution across the container floor is assumed uniform. For refrigerated (reefer) containers, subtract approximately 10cm from internal length for the cooling unit. Pro tip: always verify the tare weight stamped on the container door - it varies by manufacturer and age.

container loading shipping calculator bin packing cargo optimization freight calculator container capacity logistics

Formulas

The calculator determines the maximum number of cargo units that fit inside a container using layer-based bin packing. For each candidate orientation of the cargo box, the algorithm computes how many fit per layer and how many layers stack vertically.

Nlayer = floor(Lcl) ร— floor(Wcw)
Nstack = floor(Hch)
Ntotal = Nlayer ร— Nstack

Where Lc, Wc, Hc are the internal container dimensions and l, w, h are the cargo box dimensions in the chosen orientation. The algorithm tests all 6 permutations of (l, w, h) unless orientation is locked (e.g., "this side up").

Uvol = Ntotal ร— l ร— w ร— hLc ร— Wc ร— Hc ร— 100%

Weight constraint: Ntotal ร— m โ‰ค Pmax, where m is the mass per unit and Pmax is the container's maximum payload capacity. If exceeded, Ntotal is reduced to floor(Pmax รท m).

Reference Data

Container TypeExternal L ร— W ร— HInternal L ร— W ร— H (mm)Door W ร— H (mm)Capacity (m3)Max Payload (kg)Tare Weight (kg)Max Gross (kg)
20ft Standard6,058 ร— 2,438 ร— 2,5915,898 ร— 2,352 ร— 2,3932,340 ร— 2,28033.225,0002,30030,480
40ft Standard12,192 ร— 2,438 ร— 2,59112,032 ร— 2,352 ร— 2,3932,340 ร— 2,28067.726,6803,80030,480
40ft High Cube12,192 ร— 2,438 ร— 2,89612,032 ร— 2,352 ร— 2,6982,340 ร— 2,58576.326,4604,02030,480
45ft High Cube13,716 ร— 2,438 ร— 2,89613,556 ร— 2,352 ร— 2,6982,340 ร— 2,58586.027,6004,80032,400
20ft Open Top6,058 ร— 2,438 ร— 2,5915,898 ร— 2,352 ร— 2,3462,340 ร— 2,23332.621,7002,36030,480
40ft Open Top12,192 ร— 2,438 ร— 2,59112,032 ร— 2,352 ร— 2,3462,340 ร— 2,23366.526,3304,15030,480
20ft Flat Rack6,058 ร— 2,438 ร— 2,5915,698 ร— 2,230 ร— 2,255 - 28.627,4002,87030,480
40ft Flat Rack12,192 ร— 2,438 ร— 2,59112,064 ร— 2,230 ร— 1,955 - 52.539,2005,28045,000
20ft Reefer6,058 ร— 2,438 ร— 2,5915,444 ร— 2,294 ร— 2,2712,286 ร— 2,19528.421,5203,08030,480
40ft Reefer HC12,192 ร— 2,438 ร— 2,89611,577 ร— 2,294 ร— 2,5572,286 ร— 2,50267.526,2804,20030,480
20ft Tank6,058 ร— 2,438 ร— 2,591- (cylindrical) - 24.026,0103,07030,480
Pallet-Wide 45ft13,716 ร— 2,500 ร— 2,89613,556 ร— 2,444 ร— 2,6982,426 ร— 2,58589.227,2005,20032,400

Frequently Asked Questions

Each box has 6 possible orientations (3 axes ร— 2 rotations). The calculator tests all 6 permutations of length, width, and height against the container interior and selects the orientation yielding the highest count. If you enable "This Side Up," only 2 orientations are tested (the height axis is locked), which can reduce capacity by 5-15% depending on box proportions.
Manual calculations often ignore the floor() function. For example, a container 12,032 mm long with 600 mm boxes gives 20.05 - you can only fit 20, not 21. This rounding loss compounds across all three axes and across orientations. The calculator also enforces the weight limit, which may cap the count below the volumetric maximum.
No. This calculator works with loose carton/box loading. If you use pallets (standard EUR pallet is 1,200 ร— 800 mm, US pallet is 1,219 ร— 1,016 mm), enter the full pallet footprint including overhang as your cargo dimensions and the stacked pallet height as the cargo height.
Floor utilization measures what percentage of the container's floor area (L ร— W) is covered by cargo footprints. Volumetric utilization measures total cargo volume divided by total container volume. A tall, narrow load may have 90% floor use but only 50% volume use if it doesn't stack to the ceiling.
Internal dimensions follow ISO 668 and ISO 1496-1 standards for general-purpose containers manufactured after 2000. Actual internal dimensions vary by ยฑ10 mm due to corrugation depth and manufacturer tolerances. For critical loads, measure the specific container assigned to your shipment.
No. The maximum payload is a structural and regulatory limit. Exceeding it risks chassis failure, port rejection, and violates SOLAS (Safety of Life at Sea) VGM requirements. Since July 2016, shippers must declare Verified Gross Mass before loading. The calculator caps the count at the weight limit and flags the constraint.