LASHED & SECURED3D load planning
Out-of-gauge cargo
Guide · Containers

Shipping container dimensions: 20ft and 40ft sizes in mm and feet

Lashed & Secured editorial team · Updated November 2026 · Figures: Hapag-Lloyd Container Specification, ISO 668, ISO 1496-1

A 20ft container is 5,898 mm long, 2,352 mm wide and 2,393 mm high inside (about 33.2 m³), and a 40ft is 12,029 × 2,350 × 2,392 mm (about 67.6 m³). A 40ft high cube is 12,032 × 2,342 × 2,700 mm inside (about 76.1 m³); outside, all three are 2,438 mm (8 ft) wide, and 2,591 mm (8 ft 6 in) high, or 2,896 mm (9 ft 6 in) for the high cube.

Got a piece to check? Type its size and weight into Will it fit? (no sign-in). Whole packing list: the 3D Load Planner picks the containers and shows how everything loads, in 3D.

Container dimensions at a glance (mm)

20ft (20GP)40ft (40GP)40ft high cube (40HC)
Outside length6,058 mm12,192 mm12,192 mm
Outside width2,438 mm2,438 mm2,438 mm
Outside height2,591 mm2,591 mm2,896 mm
Inside length5,898 mm12,029 mm12,032 mm
Inside width2,352 mm2,350 mm2,342 mm
Inside height2,393 mm2,392 mm2,700 mm
Door width2,340 mm2,340 mm2,340 mm
Door height2,280 mm2,292 mm2,597 mm
Cubic capacity33.2 m³67.6 m³76.1 m³
Tare (empty weight)2,300 kg3,780 kg4,300 kg
Maximum payload28,180 kg26,700 kg28,200 kg
Maximum gross weight30,480 kg30,480 kg32,500 kg

Inside sizes, doors and payloads are the lowest Hapag-Lloyd publishes for each type, and tare is from the same row, so a real box is usually the same or a little bigger. Capacity is worked out from the inside sizes. Outside sizes are the ISO 668 standard.

Container dimensions in feet and inches

20ft40ft40ft high cube
Outside (L × W × H)19' 10½" × 8' × 8' 6"40' × 8' × 8' 6"40' × 8' × 9' 6"
Inside (L × W × H)19' 4" × 7' 8½" × 7' 10"39' 5½" × 7' 8½" × 7' 10"39' 5½" × 7' 8" × 8' 10"
Door (W × H)7' 8" × 7' 5¾"7' 8" × 7' 6"7' 8" × 8' 6"
Cubic capacity1,172 cu ft2,388 cu ft2,687 cu ft
Maximum payload62,126 lb58,863 lb62,170 lb

Converted from the millimetre table and rounded down to the nearest ¼ inch, except outside sizes, which are the nominal ISO figures.

What each figure means

20ft, 40ft or high cube?

A 20ft takes pieces up to 5,898 mm long and suits heavy, dense cargo: it carries more weight than a 40ft for half the floor. A 40ft takes pieces up to 12,029 mm long and twice the volume. A 40ft high cube is the same length with 308 mm more height inside and a door 305 mm higher, so it is the one for tall pieces and light, bulky cargo.

Worked examples (made-up cargo)

Each answer below was checked against our Load Planner's engine.

Piece (L × W × H, weight)ContainerWhy
Crate, 2.3 × 2.0 × 2.35 m, 4,000 kg40ft high cube70 mm too tall for the 20ft door and 58 mm too tall for the 40ft door. The high cube door leaves 247 mm to spare.
Crate, 6.0 × 2.0 × 2.0 m, 3,000 kg40ft102 mm too long for a 20ft (5,898 mm inside).
Machine, 2.0 × 1.2 × 2.65 m, 1,500 kg20ft open top, over-heightFits inside a high cube (2,700 mm) but is 53 mm too tall for its door. In a 20ft open top it stands 310 mm above the sides, which needs the line's approval.
Press, 3.0 × 2.0 × 2.0 m, 8,000 kg20ft open topSmall enough for any box, but over 7 t: it is craned into an open top, not driven in on a forklift.

Other containers

Questions

What are the inside dimensions of a 40ft container?

A 40ft general purpose container is 12,029 mm long, 2,350 mm wide and 2,392 mm high inside, about 67.6 m³. A 40ft high cube has the same length and width but is 2,700 mm high inside, about 76 m³.

How big is a 20ft container in feet?

Outside, a 20ft container is 19 ft 10½ in long, 8 ft wide and 8 ft 6 in high. Inside it is about 19 ft 4 in long, 7 ft 8½ in wide and 7 ft 10 in high (5,898 × 2,352 × 2,393 mm).

What is the difference between a 40ft and a 40ft high cube container?

Height. A high cube is 2,896 mm (9 ft 6 in) high outside instead of 2,591 mm (8 ft 6 in), so it gives 2,700 mm inside instead of 2,392 mm and a door 2,597 mm high instead of 2,292 mm.

How big is a shipping container door?

2,340 mm wide on 20ft and 40ft boxes. It is 2,280 mm high on a 20ft, 2,292 mm on a 40ft and 2,597 mm on a 40ft high cube. A piece must pass the door, which is lower than the inside height.

How much weight can a 20ft container hold?

We plan to 28,180 kg of cargo in a 20ft, 26,700 kg in a 40ft and 28,200 kg in a 40ft high cube: the lowest payloads Hapag-Lloyd publishes. Your box may be rated for more; the CSC plate on its door gives its own maximum.

Related

Sources

For guidance only. Boxes differ by line, maker and build year. Check the box you are booked on and the CSC plate on its door.