Canadian · Validation
Shipping container number check digit validator.
Verify an 11-character ISO 6346 container number's real check digit, or enter just the 10-character body (owner code + category letter + serial) to have the correct check digit computed for you. Everything runs in your browser: nothing you type is transmitted anywhere.
Inputs
Result
Enter a container number and press Validate.
Container check digit calculator (ISO 6346)
Enter the 10-character body (owner code, category letter, six-digit serial) to get the check digit, or all 11 characters to verify it. The method: convert letters to numbers (A = 10, B = 12, C = 13, skipping multiples of 11), multiply each of the 10 values by 2 to the power of its position (1, 2, 4 ... 512), add them up, and take the sum modulo 11, with a remainder of 10 written as 0. Worked example: CSQU305438 gives a weighted sum of 6,185; 6,185 mod 11 = 3, so the full number is CSQU3054383. A valid digit proves the number was typed consistently, not that the container exists.
How the container number check digit works
An ISO 6346 container number is 11 characters: a 3-letter owner code, 1 equipment category letter (U for a freight container, J for detachable freight-container-related equipment, or Z for a trailer/chassis), a 6-digit serial number, and 1 numeric check digit.
To compute the check digit, each of the first 10 characters is converted to a numeric value: digits keep their own value, and letters map to a table that deliberately skips every multiple of 11 (A = 10, B = 12, C = 13 … skipping 11, 22, 33 … up to Z = 38). Each value is then multiplied by 2 raised to its position (position 0 for the leftmost character, so weights double at every step: 1, 2, 4, 8 … 512), and all 10 products are summed. Take that sum modulo 11: if the remainder is 10, the check digit is 0; otherwise the check digit is the remainder.
The published worked example, CSQU3054383, confirms this end to end: the first 10 characters "CSQU305438" produce a weighted sum of 6185, and 6185 mod 11 = 3, matching the real container number's final digit.
The four parts of a container number
An ISO 6346 identification number is read left to right as owner prefix, equipment category, serial number and check digit. The Bureau International des Containers (BIC) describes the owner prefix as three capital letters that identify the owner or principal operator, followed by one category letter (U for all freight containers, J for detachable freight-container-related equipment, Z for trailers and chassis), a six-digit serial number the owner picks, and one numeral that exists to validate the recording and transmission of the owner code and serial number. The latest edition of the standard is ISO 6346:2022, and the owner prefixes are registered with BIC so that two companies cannot hold the same one.
This is why the tool asks for 10 or 11 characters. If you paste all 11 it compares the last digit with the digit the arithmetic requires. If you paste only the first 10 (for example CSQU305438), it works out the missing digit, which is what you need when you are building a list of numbers or checking a number that was typed without its last character.
How the check digit is calculated, step by step
There are three steps, and none of them need more than a pencil.
- Convert letters to numbers. Digits keep their value. Letters start at A = 10 and count up, but every multiple of 11 is skipped, so A = 10, B = 12, C = 13, and so on up to Z = 38. The skip matters because the final step divides by 11; a letter worth 11, 22 or 33 would add zero to the remainder and so be invisible to the check.
- Weight each position by a power of two. The first character is multiplied by 1, the second by 2, the third by 4, and the weights keep doubling to 512 for the tenth character.
- Add everything up and divide by 11. The remainder is the check digit. If the remainder is 10, the check digit is written as 0.
| Character | C | S | Q | U | 3 | 0 | 5 | 4 | 3 | 8 |
|---|---|---|---|---|---|---|---|---|---|---|
| Value | 13 | 30 | 28 | 32 | 3 | 0 | 5 | 4 | 3 | 8 |
| Weight | 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128 | 256 | 512 |
| Product | 13 | 60 | 112 | 256 | 48 | 0 | 320 | 512 | 768 | 4,096 |
The products add up to 6,185. Dividing by 11 gives 562 with a remainder of 3 (562 × 11 = 6,182), so the check digit is 3 and the full number is CSQU3054383. If someone writes CSQU3054384 on a booking, the tool reports that the digit should have been 3.
The remainder-of-10 case
A remainder of 10 cannot be written as one numeral, so the rule turns it into 0. As an invented illustration (not a real container), the body ABCU000007 sums to 3,926, and 3,926 divided by 11 leaves a remainder of 10, so the check digit shown would be 0. The standard recommends that owners avoid serial numbers that produce this result, but not every fleet follows that advice, so a validator has to handle it rather than reject it. This tool does.
What a valid check digit does not prove
- The container exists. A correct digit only shows the 11 characters are consistent with one another. An invented number can pass by luck: about one random last digit in ten will match.
- The owner prefix is registered. BIC publishes a search of container owner codes on its website, and a separate BIC BoxTech database holds technical details for specific containers. This page does neither lookup.
- The container follows ISO 6346 at all. Some shipper-owned or rail-only boxes carry numbers that do not follow the standard, and some North American rail codes have no check digit. A mismatch on such a number is not necessarily an error.
- The size, type or age of the box. Those live elsewhere (see below).
Where to find the manufacture date and the size and type
People often search for a container's manufacturing date after checking its number. The identification number does not encode it. Under the International Convention for Safe Containers (CSC), every container used in international transport carries a safety approval plate, usually riveted to the outside of the left door, and BIC states that the month and year of manufacture must be evident on it together with the manufacturer's container identification number. The four-character size and type code (for example a length digit, a height digit and a type pair such as G1 for general purpose) is a separate marking printed under the identification number and is explained in the BIC size and type guide.
Container number generators and why this is not one
Searches for a container number generator are usually looking for either test data or a way to assign serials. For test data, computing the check digit for an invented owner code and serial (the 10-character mode above) produces a number that passes validation but belongs to no unit. For real assignment, owner codes come from BIC registration and serials are the owner's own to allocate. Using a made-up number on a shipping document is a documentation error even if the arithmetic works, so keep generated values in test systems.
Freight forwarders, terminal staff and developers use this kind of check. Related checks on this site use similar ideas: the Vessel IMO Number validator for ships, the EAN/UPC validator for retail barcodes, and the full ID number validator list.
Frequently asked questions
How do I calculate the check digit of a shipping container number?
Convert the first 10 characters to numbers (digits keep their value, letters run from A = 10 and skip multiples of 11), multiply each by 1, 2, 4, 8 and so on up to 512, add the products, and divide by 11. The remainder is the check digit; a remainder of 10 is written as 0. For CSQU305438 the sum is 6,185 and the remainder is 3.
Why are letters A to Z not numbered 10 to 35?
The numbering skips every multiple of 11 (11, 22 and 33) because the final step divides by 11. A letter worth a multiple of 11 would add zero to the remainder and so be invisible to the check. As a result A is 10, B is 12 and Z is 38.
What does the U in a container number mean?
It is the equipment category identifier. U stands for all freight containers, J for detachable freight-container-related equipment and Z for trailers and chassis. The category letter is the fourth character, directly after the three-letter owner prefix.
Does a valid check digit mean the container is real?
No. It only proves the 11 characters agree with each other, which catches most typing and optical-character-recognition errors. It does not prove the owner prefix is registered or that a container with that number exists. Use the BIC owner-code search and BIC BoxTech for that.
How do I find a container's manufacturing date?
Look at the CSC safety approval plate, normally riveted to the outside of the left door. The Container Safety Convention requires the month and year of manufacture to be shown there. The container number itself does not contain a date.
What is the difference between the container number and the size and type code?
The container number identifies the individual unit: owner prefix, category letter, serial number and check digit. The size and type code is a separate four-character marking that describes length, height and type, such as a general purpose or refrigerated box. Both usually appear together on the container.
Can I generate a valid container number here?
You can compute the correct check digit for a 10-character body, which gives you a number that passes validation. It will not be a registered unit unless the owner prefix is registered with BIC and the serial was assigned by that owner, so use generated values for testing only.
Sources
Retrieved 2026-10-19. Each link was opened and read for the claim it supports.
- BIC: Container identification number — owner prefix, category letters U/J/Z, six-digit serial and the purpose of the check digit.
- BIC: Container check digit calculator — what a container check digit validates and why it changes when a container is re-marked with another owner code.
- BIC: Size and type code explained — the separate four-character length, height and type marking.
- BIC: CSC combined data plate — safety approval plate location and the month and year of manufacture requirement.
- BIC BoxTech global container database — where specific container technical details are looked up.
- Wikipedia: ISO 6346 — letter values with multiples of 11 omitted, power-of-two weights, remainder-10 rule and the CSQU3054383 example (secondary reference; the standard itself is paywalled).
What a passing checksum does and doesn’t tell you
A valid check digit only proves the characters are internally consistent — it does not confirm the owner code was ever actually registered with the BIC, or that a real container carries this number. For that, look the owner code up in the BIC's public register. This tool runs entirely in your browser: nothing you type is transmitted, stored, or logged.