Container number checker
Paste a list of container numbers to check every ISO 6346 check digit, fix wrong or missing digits, spot duplicates, and decode the size and type code.
Container numbers
Spaces and dashes are fine. Commas and semicolons also separate numbers. Up to 500 at a time.
| # | Container number | Result |
|---|---|---|
| 1 | MSCU 123456 6Freight container | Valid |
| 2 | TGHU 761403 4Freight container | Valid |
| 3 | CSQU 305438 0Freight container | Check digit is 0, should be 3→ CSQU 305438 3 |
| 4 | MAEU 845123Freight container | No check digit: it should be 0→ MAEU 845123 0 |
| 5 | MSCU 123456 6Freight container | Valid Same number as line 1 |
| 6 | ABC1234567 | 4th character must be U, J or Z |
The corrected list has each valid number once, with wrong or missing check digits fixed. Your list stays on this device.
Size and type code
- 4Length
- 40' (12,192 mm)
- 5Height
- 9'6" (2,895 mm) · 8' wide
- G1Type
- General purpose (GP): passive vents at the upper part of the cargo space
How the check digit of MSCU 123456 is worked out
| Character | M | S | C | U | 1 | 2 | 3 | 4 | 5 | 6 |
|---|---|---|---|---|---|---|---|---|---|---|
| Value | 24 | 30 | 13 | 32 | 1 | 2 | 3 | 4 | 5 | 6 |
| Weight | ×1 | ×2 | ×4 | ×8 | ×16 | ×32 | ×64 | ×128 | ×256 | ×512 |
| = | 24 | 60 | 52 | 256 | 16 | 64 | 192 | 512 | 1280 | 3072 |
Sum 5528. Divided by 11 it leaves 6, so the check digit is 6 (a remainder of 10 counts as 0).
What the checker does
Checks every digit
Each number is checked against the ISO 6346 check digit, the last digit painted on the door. One wrong letter or swapped digit almost always shows up as a wrong check digit.
Fixes the list
Wrong and missing check digits are corrected, repeated numbers are flagged, and you can copy the clean list or download every result as CSV.
Reads the type code
The 4-character size and type code (22G1, 45G1, 45R1...) tells you the length, height, width and type of the box. Enter one to see what it means.
Container number questions
How is a container check digit calculated?
Each of the first ten characters gets a value: digits keep their value, and letters run from A = 10 to Z = 38, skipping 11, 22 and 33. Each value is multiplied by 2 to the power of its position (1, 2, 4, 8 and so on up to 512) and the results are added up. The remainder of that sum divided by 11 is the check digit, and a remainder of 10 is written as 0.
What do the parts of a container number mean?
The first three letters are the owner code, registered with the BIC. The fourth letter is the equipment category: U for freight containers, J for detachable equipment such as clip-on generator sets, and Z for trailers and chassis. Then come a six-digit serial number and the check digit.
Why does a container number fail the check?
Almost always because of a typing mistake: a wrong or swapped digit, O typed for 0, or the check digit left off or copied wrongly. Check the number on the door or the booking again. A failed check means the number as typed can't be right, even if it looks familiar.
What does 45G1 mean?
45G1 is a 40-foot high cube general purpose container. The 4 means 40 feet long, the 5 means 9 feet 6 inches high, G is the general purpose group, and 1 means passive vents at the top of the cargo space. 22G1 is the 20-foot standard box and 42G1 the 40-foot standard box.
Does a valid check digit prove the container exists?
No. The check digit only shows that the number is well formed and was probably typed correctly. Whether the container exists, who operates it and where it is today are questions for the carrier or a container tracking service.
Plan what goes inside the container
ContainerMath plans container and truck loads in 3D, with loading charts, stuffing reports and VGM figures your crew can use.