Advanced Container Check Digit Tool
Use full container numbers or separate fields. The calculator follows the ISO style owner, category, serial, and check digit structure.
Step-by-Step Calculation Table
| Position | Character | Mapped Value | Weight | Product |
|---|---|---|---|---|
| Submit a container number to view calculation steps. | ||||
Example Data Table
| Owner | Category | Serial | Base Number | Correct Check Digit | Complete Number |
|---|---|---|---|---|---|
| MSK | U | 123456 | MSKU123456 | 5 | MSKU1234565 |
| CSQ | U | 305438 | CSQU305438 | 3 | CSQU3054383 |
| ABZ | J | 765432 | ABZJ765432 | 1 | ABZJ7654321 |
Formula Used
The calculator uses the common ISO 6346 check digit method. It converts letters into numeric values, multiplies every character by a power of two, and then applies a remainder rule.
Weight by position = 2position, starting at position 0
Weighted sum = Σ(mapped value × weight)
Remainder = weighted sum mod 11
Check digit = remainder, unless remainder is 10
If remainder is 10, check digit = 0
Letter values start at A = 10. Values that are multiples of 11 are skipped. For example, B is 12, L is 23, U is 32, and Z is 38.
How to Use This Calculator
- Enter the full container number, such as MSCU1234567.
- You may also enter owner, category, serial, and check digit separately.
- Choose whether non-standard category letters should be allowed, blocked, or flagged.
- Press the calculate button.
- Review the calculated digit, validation status, and weighted math table.
- Use the CSV or PDF buttons to save the result.
Container Check Digit Guide
Why Container Digits Matter
A container check digit helps detect typing errors in freight records. It is the final number in a standard container identification code. Shipping teams use it to confirm that an entered code is likely correct before the container moves through booking, gate, customs, or warehouse systems. This small digit can prevent delays, charge disputes, and incorrect asset handling.
Structure of a Container Code
A standard container identifier has four letters, six serial digits, and one check digit. The first three letters show the owner code. The fourth letter is the equipment category. Most freight containers use U. Detachable equipment often uses J. Trailer or chassis equipment may use Z. The next six digits identify the unit.
How the Math Works
The calculator converts each letter or digit into a number. Digits keep their face value. Letters receive assigned values, and values divisible by eleven are skipped. Each position is multiplied by a growing weight. The first position uses one. The next uses two. The pattern continues as powers of two until all ten base characters are processed.
Reading the Result
After calculation, the weighted products are added. The total is divided by eleven. The remainder becomes the check digit. When the remainder equals ten, the digit is recorded as zero. This rule keeps the final check digit as a single number. The calculator also compares the entered digit against the computed value.
Useful Audit Features
This tool is designed for detailed checking. It cleans common spacing errors, supports full or split entry, warns about unusual category letters, and displays each math step. The export buttons help create a quick audit trail. Use the example table to compare common input patterns and train staff on correct formatting.
Best Practice
Always verify the physical container marking when possible. A valid check digit confirms the code structure, but it does not prove ownership, location, booking status, or cargo condition. Pair this calculation with carrier records, terminal data, and internal shipment documents for stronger control.
FAQs
What is a container check digit?
It is the final digit in a container number. It helps verify that the owner code, category code, and serial number were entered correctly.
How many characters are used before the check digit?
Ten characters are used. They include three owner letters, one category letter, and six serial digits. The eleventh character is the check digit.
Can I enter the full container number?
Yes. Enter a full 10 or 11 character number. If the check digit is included, the tool compares it with the calculated value.
What does category U mean?
U usually identifies a freight container. It is the most common category letter found in international shipping container numbers.
Why does the formula skip some letter values?
The method skips values divisible by eleven. This supports the check digit remainder process and keeps the mapping aligned with standard practice.
What happens when the remainder is ten?
The check digit becomes zero. This special rule keeps the result as one numeric digit instead of using two characters.
Does a valid digit prove the container exists?
No. It only validates the number pattern. It does not prove live status, ownership, cargo, booking, or terminal location.
Can I export the calculation?
Yes. Use the CSV or PDF button after calculation. The export includes the entered code, calculated digit, status, and step details.