Tuesday 19 September 2017

How is the check digit of a container calculated?



20' HC Container Number GVTU 300038-9


The owner code consists of three capital letters of the Latin alphabet to indicate the owner or principal operator of the container. Such code needs to be registered at the Bureau International des Conteneurs in Paris to ensure uniqueness worldwide (per ISO 6346).
The equipment category identifier consists of one of the following three capital letters of the Latin alphabet
  • U for all freight containers
  • J for detachable freight container-related equipment
  • Z for trailers and chassis
The serial number consists of 6 numeric digits, assigned by the owner or operator, uniquely identifying the container within that owner/operator’s fleet.
The check digit consists of one numeric digit providing a means of validating the recording and transmission accuracies of the owner code and serial number.

Calculation Step 1
An equivalent numerical value is assigned to each letter of the alphabet, beginning with 10 for the letter A (11 and multiples thereof are omitted):
The individual digits of the serial number keep their numeric value.

Calculation Step 2
Each of the numbers calculated in step 1 is multiplied by 2position, where position is the exponent to basis 2. Position starts at 0, from left to right.
The following table shows the multiplication factors:

Calculation Step 3

a) Sum up all results of step 2
b) Divide them by 11
c) Erase all decimal digits of the division (i. e. make the result an integer value)
d) Multiply the integer value by 11
e) Subtract result of d) from result of a): This is the check digit!
If the final difference is 10, then the check digit becomes 0.
Steps b) to e) is a calculation of the remainder found after division of a) by 11. 11 is used as divisor because a container number has 11 letters and digits in total. In step 1 the numbers 11, 22 and 33 are left out as they are multiples of the divisor.
Example

No comments:

Post a Comment