Calcmeister

Container loading calculator

Enter the outer size and weight of one box and pick the container. The calculator finds the best orientation and checks the weight limit.

cm
cm
cm
kg
Boxes per container
– pcs
Cargo weight
– kg
Space used
– %
Payload limit
– kg

    How the calculator fills the container

    For each allowed orientation of the box, the calculator divides the container's inside length, width and height by the box dimensions, rounds each down to whole boxes and multiplies:

    n = ⌊Lc ÷ l⌋ · ⌊Wc ÷ w⌋ · ⌊Hc ÷ h⌋

    It keeps the best orientation, then checks that the total weight stays within the container's payload. If the weight limit is reached first, it shows the lower number.

    Container dimensions and payload

    ContainerInside L × W × H (m)VolumeTypical max. payload
    20 ft standard5.90 × 2.35 × 2.3933.2 m³28,200 kg
    40 ft standard12.03 × 2.35 × 2.3967.7 m³26,700 kg
    40 ft high cube12.03 × 2.35 × 2.7076.4 m³26,500 kg

    Payload varies by container. The limit printed on the door governs, and road weight limits in the origin and destination country can be lower.

    Worked example

    Cartons of 60 × 40 × 40 cm weighing 20 kg each fit 9 × 5 × 5 = 225 times into a 20 ft container. Together they weigh 4,500 kg and use 65 % of the space; the rest is lost to gaps the cartons cannot fill.

    Getting more into the box

    What actually fits in a container

    The published volume is the box, not the cargo. Pallets, dunnage and stacking losses consume 10 to 20 % before anything is loaded badly.

    ContainerInternal dimensionsVolumeMax payload
    20 ft standard19.4 × 7.7 × 7.8 ft1,170 ft³ (33 m³)about 62,000 lb
    40 ft standard39.5 × 7.7 × 7.8 ft2,390 ft³ (67 m³)about 58,000 lb
    40 ft high cube39.5 × 7.7 × 8.8 ft2,700 ft³ (76 m³)about 58,000 lb
    45 ft high cube44.4 × 7.7 × 8.8 ft3,040 ft³ (86 m³)about 55,000 lb

    Which limit binds depends on density. A 40 ft container at 67 m³ hits the weight limit above about 390 kg/m³ (24 lb/ft³) — so steel, tile and machinery are weight-limited, while textiles and packaging are volume-limited.

    Pallet counts

    Standard GMA pallets are 48 × 40 in. A 20 ft container takes 10 pallets single-stacked, a 40 ft takes 20, a 40 ft high cube takes 20 with room to double-stack lighter loads. Euro pallets at 47.2 × 31.5 in allow 11 in a 20 ft and 23 in a 40 ft when turned.

    Loading plans that ignore the pallet count are the most common cause of a container that is "full" at 60 % of its volume. Plan by pallet footprint first, then by volume, then check weight last.

    Floor loading

    A container floor is rated for about 4,500 kg per running metre (roughly 3,000 lb per foot of length). A single concentrated point load — a machine on small feet — can exceed that even when the total weight is fine. Heavy single items need spreader beams, not just a strong forklift.

    Related calculators

    Related calculators

    Calculators that go with this one:

    Questions and answers

    How many boxes fit in a 20 ft container?

    It depends on the box size. The calculator divides each inside dimension of the container by the box dimension, rounds down and multiplies, for every allowed orientation, and keeps the best result.

    What are the inside dimensions of shipping containers?

    20 ft standard: 5.90 × 2.35 × 2.39 m. 40 ft standard: 12.03 × 2.35 × 2.39 m. 40 ft high cube: 12.03 × 2.35 × 2.70 m. Door openings are slightly smaller.

    Why can real loading plans fit more boxes?

    Professional load planners mix orientations, for example a few rows turned sideways to fill the gap at the door. This calculator uses one orientation for the whole load, so real plans can be a few percent better.

    Embed this calculator

    Copy this code into any page. The calculator stays free, no sign-up, no cookies.

    Last reviewed: 2026-10-14. Results are estimates for planning. Check them before you rely on them for design, purchase or safety decisions.