Customer sign in →
Free tool

Container number check

Check the ISO 6346 check digit of one container number or hundreds at once. Each number is split into its owner code, category and serial number, and a size/type code next to it is decoded too.

What a container number is made of

Every container number follows ISO 6346: eleven characters in four parts. Take CSQU 305438 3:

CSQ
Owner code
Three letters for the owner or main operator. Owners register their codes with the Bureau International des Containers (BIC).
U
Category
U: freight container; J: detachable freight container-related equipment; Z: trailer or chassis.
305438
Serial number
Six digits the owner gives each container.
3
Check digit
Worked out from the ten characters before it, to catch a number that was read or typed wrongly.

This page does not say who owns a code. The register of owner codes is kept by the Bureau International des Containers.

How the check digit is worked out

  1. Give each of the first ten characters a value. A digit keeps its own value. A letter takes the value in the table below: A is 10, and the values skip 11, 22 and 33.
  2. Multiply each value by its weight: 1 for the first character, then 2, 4, 8 and so on, doubling up to 512 for the tenth.
  3. Add the ten results and divide the total by 11. The remainder is the check digit. A remainder of 10 is written as 0.

Worked example: CSQU 305438

CharacterValue× Weight= Result
C13113
S30260
Q284112
U328256
331648
00320
5564320
44128512
33256768
885124,096
Total6,185

6,185 ÷ 11 = 562 remainder 3, so the check digit is 3 and the full number is CSQU 305438 3.

Letter values

  • A10
  • B12
  • C13
  • D14
  • E15
  • F16
  • G17
  • H18
  • I19
  • J20
  • K21
  • L23
  • M24
  • N25
  • O26
  • P27
  • Q28
  • R29
  • S30
  • T31
  • U32
  • V34
  • W35
  • X36
  • Y37
  • Z38

What the check digit catches

A single wrong digit in the serial number changes the check digit, and so do two neighbouring digits swapped. The one exception is a check digit of 0, because a remainder of 10 is written as 0 too. A matching check digit makes a mistake much less likely, but it is not proof: some errors still pass, such as an A read as K in the owner code (their values, 10 and 21, are 11 apart).

Cardinal Container Tracker

Reading these numbers at your gate?

Cardinal Container Tracker reads container numbers from your gate cameras and accepts a number only if its owner code, serial number and ISO 6346 check digit are valid. A container it can’t read is saved as “unread”, with its photo, for your staff to review.