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

    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.

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