Decoding the container size and type code
Every ISO shipping container carries a four-character size-and-type code defined by ISO 6346, such as 22G1 or 45R1. It tells you the box’s length, its height and width, and what kind of container it is. This tool splits a code into those parts and lists the type groups and the common full codes you will meet on bills of lading and container interchange reports.
How it works
The four positions are read independently:
position 1 : length (2 = 20 ft, 4 = 40 ft, L = 45 ft)
position 2 : height/width (2 = 8'6", 5 = 9'6" high-cube)
position 3 : type letter (G general, R reefer, U open-top, P flat-rack, T tank)
position 4 : subtype digit (variant within the type)
So 22G1 decodes as 20 ft long, 8 ft 6 in high, general-purpose dry box, standard subtype. Change the second character to 5 and 25G1 would be high-cube; change the first to 4 and 42G1 is the 40-foot version. The type letter drives the most important distinction — a plain dry box, a reefer, an open top, a flat rack, or a tank.
Tips and notes
Do not confuse the size-and-type code with the 11-character BIC owner code (four letters then seven digits, the last a check digit) stencilled above it. The two sit together on the container door but answer different questions: who owns it versus what shape and type it is. High-cube boxes (9 ft 6 in) are flagged in position 2 and usually wear a black-and-yellow hazard stripe to warn of the extra height.