What a container number is
A container number (ISO 6346) has 11 characters, for example MSKU6011672:
| Part | Characters | Example | Meaning |
|---|---|---|---|
| Owner code | 1–3 | MSK | Three letters identifying the owner |
| Category | 4 | U | U = freight container (J and Z are also defined) |
| Serial number | 5–10 | 601167 | Six digits chosen by the owner |
| Check digit | 11 | 2 | Calculated from the first 10 characters |
How the check digit is calculated
- Give each character a value. Digits keep their value. Letters count from A = 10, skipping 11, 22 and 33: A 10, B 12, C 13 … K 21, L 23 … U 32, V 34 … Z 38.
- Multiply the value at position 1–10 by 1, 2, 4, 8 … 512 (doubling each time).
- Add the results and divide by 11. The remainder is the check digit; a remainder of 10 gives 0.
For MSKU601167: 24×1 + 30×2 + 21×4 + 32×8 + 6×16 + 0×32 + 1×64 + 1×128 + 6×256 + 7×512 = 5832. 5832 = 11 × 530 + 2, so the full number is MSKU6011672.
Using the tool
- Paste one number per line, or separate them with commas or semicolons. You can paste a column from Excel, or upload a CSV, TSV, TXT or Excel (.xlsx) file and choose the column.
- With Clean up input on, full-width characters become half-width, letters become uppercase, and spaces, hyphens, dots and slashes are removed, so
msku 601167-2is read as MSKU6011672. - Enter 10 characters to calculate the missing check digit: the result shows Calculated and the full 11-character number.
- Empty lines are skipped but keep their number, so No. in the results matches the line or row number in your original list.
- Duplicates are marked with the number of their first occurrence; tick Remove duplicates to drop them.
- Download the results as CSV, TSV, Excel, JSON, JSON Lines or text, or only the rows with errors.
Common errors
- Only uppercase letters A–Z and digits 0–9 are allowed – the number contains other characters. Turn on Clean up input to remove spaces, hyphens, dots and slashes and to convert lowercase and full-width characters.
- Must be 11 characters (or 10 without the check digit) – after clean-up the number is shorter or longer. Enter 11 characters, or 10 to have the check digit calculated.
- The first 3 characters (owner code) must be letters – one of characters 1–3 is a digit or symbol.
- The 4th character must be U, J or Z – the 4th character is another letter or a digit.
- Characters 5–10 (serial number) must be digits – one of characters 5–10 is a letter.
- Check digit should be … – the 11th character does not match the check digit calculated from the first 10, so one of the 11 characters is wrong. The expected check digit is shown in the results.