Container Check Digit
Validate or compute the check digit of a freight container BIC code (owner, category, serial).
Loading sheet…
Validate or compute the check digit of a freight container BIC code (owner, category, serial).
Loading sheet…
| Pos | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | Σ |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Char | C | S | Q | U | 3 | 0 | 5 | 4 | 3 | 8 | |
| Value | 13 | 30 | 28 | 32 | 3 | 0 | 5 | 4 | 3 | 8 | |
| × 2ⁱ | 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128 | 256 | 512 | |
| Product | 13 | 60 | 112 | 256 | 48 | 0 | 320 | 512 | 768 | 4096 | 6185 |
6185 mod 11 = 3 → 3 = check digit 3
An ISO 6346 identification consists of a three-letter owner code (registered with the BIC in Paris), an equipment category identifier (U freight container, J detachable equipment, Z trailer/chassis), a six-digit serial number and a single check digit, usually painted inside a box.
Letters are converted to numbers starting at A = 10 and skipping multiples of 11 (11, 22, 33) so that no letter value collides with the modulus. Each of the ten characters is weighted by a power of two according to its position i = 0…9:
S = \sum_{i=0}^{9} v_i\,2^{i},\qquad c = (S \bmod 11) \bmod 10Powers of 2 modulo 11 are all distinct (2 is a primitive root mod 11), so any single-character error and any transposition of adjacent characters is detected. A remainder of 10 maps to 0; owners usually avoid serial numbers that produce it, since it weakens detection.
The four-character code e.g. 45G1 gives length (4 = 40 ft), height/width (5 = 9′6″ high cube), and type (G1 = general purpose with vents). L = 45 ft, R = reefer, U = open top, T = tank.