Skip to main content
Freight reference

Shipping container sizes, names and codes explained

Most cargo from China travels in three container types: the 20 ft general purpose box, the 40 ft general purpose box and the 40 ft high cube, which is 30 cm taller. ISO 668 fixes their outside dimensions, so every carrier's 20 ft box is 6,058 mm long and 2,438 mm wide outside; inside sizes, capacity and payload vary a little by carrier and container series.

The codes painted on a container follow ISO 6346: an owner code, a serial number and a check digit identify the box, and a four-character size-type code such as 22G1 or 45G1 says how long, how tall and what type it is.

Quick answer

20 ft: about 33 m³; 40 ft: about 68 m³; 40 ft high cube: about 76 m³ (Hapag-Lloyd figures).

ISO 668 sets the outside: 6,058 mm long for 20 ft and 12,192 mm for 40 ft, 2,438 mm wide, and 2,591 mm high (2,896 mm for a high cube). Hapag-Lloyd's specification gives inside capacities of 33.2, 67.7 and 76.3 m³ and a maximum gross weight of 32,500 kg for all three.

Key takeaways: plan loads on the inside dimensions and the payload of the actual carrier's container, not the ISO outside size, and leave room for pallets and dunnage.

Container sizes at a glance

ISO 668 outside dimensions; inside figures from Hapag-Lloyd.

20 ft (22G1)

6,058 mm outside length; 33.2 m³ and 30,200 kg max payload (Hapag-Lloyd).

40 ft (42G1)

12,192 mm outside length; 67.7 m³ and 28,800 kg max payload (Hapag-Lloyd).

40 ft high cube (45G1)

2,896 mm outside height; 76.3 m³ and 28,650 kg max payload (Hapag-Lloyd).

TEU / FEU

Twenty-foot and forty-foot equivalent units, the industry's units of measure (UNCTAD).

Best for

  • Importers deciding between LCL and a full container from China
  • Buyers planning how many cartons or pallets fit in a 20 ft or 40 ft box

Not best for

  • Planning loads on outside ISO dimensions instead of inside dimensions
  • Filling a 40 ft box to its payload when local road limits are lower

What to prepare

  • Carton count, carton size and gross weight per carton
  • Whether cargo is palletised, and pallet size

Proof examples

  • Total volume against the container's usable capacity, leaving space for packing
  • Total weight against the maximum payload and local road weight limits
Table 1

Inside sizes, doors, capacity and payload

Hapag-Lloyd container specification, wooden-floor series; Hapag-Lloyd notes these are nominal figures and other series and carriers differ slightly.

Measure 20 ft GP (22G1)40 ft GP (42G1)40 ft HC (45G1)
Inside length x width x height 5,900 x 2,352 x 2,393 mm12,032 x 2,352 x 2,395 mm12,032 x 2,352 x 2,700 mm
Door opening width x height 2,340 x 2,292 mm2,340 x 2,292 mm2,340 x 2,597 mm
Capacity 33.2 m³67.7 m³76.3 m³
Max gross weight 32,500 kg32,500 kg32,500 kg
Tare weight 2,300 kg3,700 kg3,850 kg
Max payload 30,200 kg28,800 kg28,650 kg
Table 2

Container codes and abbreviations

Size-type codes from ISO 6346 as listed by BIC and Hapag-Lloyd; TEU and FEU as defined by UNCTAD.

Code Meaning
22G1 (group 22GP) 20 ft long, 8 ft 6 in high, general purpose
42G1 40 ft long, 8 ft 6 in high, general purpose
45G1 (group 45GP) 40 ft long, 9 ft 6 in high ("high cube"), general purpose
22R1 / 45R1 Refrigerated (reefer) container, 20 ft / 40 ft high cube
22U1 / 42U1 Open top container, 20 ft / 40 ft
22P1, 22P3 / 42P3 Flat rack: fixed ends (P1) or collapsible ends (P3)
1st character Length: 2 = 20 ft, 4 = 40 ft
2nd character Height: 2 = 8 ft 6 in, 5 = 9 ft 6 in high cube
Owner code + U Three letters for the owner, then U for a freight container
TEU / FEU Twenty-foot / forty-foot equivalent unit
Who this helps

Use this reference when you choose between LCL, a 20 ft and a 40 ft container.

Container choice is set by volume and weight together. A 40 ft box holds about twice the volume of a 20 ft, but not twice the weight.

Best for 01

Importers deciding between LCL and a full container from China

Best for 02

Buyers planning how many cartons or pallets fit in a 20 ft or 40 ft box

Best for 03

Anyone reading container numbers and codes on shipping documents

Before you accept the term

What to check before booking a container

Use the carrier's own specification for the container you are given; figures vary slightly by series.

Quote inputs · 4 items

What to send JTLGO

  • Carton count, carton size and gross weight per carton
  • Whether cargo is palletised, and pallet size
  • Port of loading in China and destination port or address
  • Any heavy, fragile or temperature-sensitive cargo
Control checks · 4 items

Container checks

  • Total volume against the container's usable capacity, leaving space for packing
  • Total weight against the maximum payload and local road weight limits
  • Door opening height for tall pallets or machinery
  • Whether a high cube is needed for light, bulky goods
Risk flags · 4 items

Common container mistakes

  • Planning loads on outside ISO dimensions instead of inside dimensions
  • Filling a 40 ft box to its payload when local road limits are lower
  • Assuming every carrier's box has identical inside sizes
  • Booking a full container when LCL would cost less for the volume
When to use which

Which container fits

Route note 01 Guidance

Small shipments of a few cubic metres usually go LCL, sharing a container and priced per CBM.

Route note 02 Guidance

A 20 ft box suits dense, heavy cargo; a 40 ft or 40 ft high cube suits light, bulky goods.

Route note 03 Guidance

Reefer, open top and flat rack containers are for temperature-controlled, tall or oversized cargo.

Route note 04 Guidance

For larger shipments, send JTLGO the packing list so it can check which shipping options fit the volume.

Reference sources: Hapag-Lloyd: container specification (PDF) · BIC: ISO 6346 size and type codes · BIC: check digit calculator · UNCTAD: containerised transport glossary

FAQ

Container size questions

What are the dimensions of a 20 ft container?

Outside, ISO 668 gives 6,058 mm long, 2,438 mm wide and 2,591 mm high. Inside, Hapag-Lloyd's 20 ft general purpose container measures 5,900 x 2,352 x 2,393 mm with 33.2 m³ capacity and a maximum payload of 30,200 kg. Other carriers' boxes differ slightly, so check the one you are given.

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

Both are 12,192 mm long outside. The high cube is 2,896 mm high instead of 2,591 mm, so it holds more volume: Hapag-Lloyd lists 76.3 m³ against 67.7 m³. Its payload is slightly lower because the box itself weighs more, 3,850 kg against 3,700 kg in Hapag-Lloyd's figures.

What does 22G1 or 45G1 mean on a container?

It is the ISO 6346 size-type code. The first character is length (2 for 20 ft, 4 for 40 ft), the second is height (2 for 8 ft 6 in, 5 for 9 ft 6 in high cube), and the last two give the type: G1 is general purpose, R1 refrigerated, U1 open top and P1 or P3 flat rack.

What is a TEU?

TEU stands for twenty-foot equivalent unit, the standard way to count container capacity: a 20 ft box is one TEU and a 40 ft box is two TEU, also called one FEU. UNCTAD describes the 20 ft and 40 ft containers as the basis of these units of measure.

How do I read a container number?

Under ISO 6346, as explained by BIC, a container number has three capital letters for the owner, a category letter (U for freight containers), six digits for the serial number, and one check digit that validates the rest. You can verify the check digit with BIC's online calculator.