ISO 6346 Container Check Digit Tool
Calculate or validate a shipping container number check digit instantly. This tool follows the ISO 6346 weighting method used in logistics and freight systems worldwide.
Tip: Spaces and hyphens are ignored automatically. Example valid sample: ABCU1234560.
What is a container check digit?
A container check digit is the last digit in a standard shipping container number. It is used to catch typing mistakes when container IDs are entered into terminal systems, customs forms, transport management software, or gate scanners.
The complete code usually has 11 characters:
- 4 letters (owner code + equipment category)
- 6 digits (serial number)
- 1 check digit (calculated from the first 10 characters)
Why this calculator is useful
In global trade, a single character error can cause expensive delays. A wrong container number may lead to:
- Failed EDI transactions
- Missed gate appointments
- Customs processing mismatches
- Tracking and documentation errors
This calculator helps dispatchers, freight forwarders, warehouse teams, and analysts quickly verify container numbers before they become operational issues.
How ISO 6346 check digit calculation works
1) Convert letters to numeric values
Letters are not mapped A=1, B=2. Instead, ISO 6346 assigns specific values starting at 10 and skipping multiples of 11. Digits keep their normal numeric values.
2) Apply powers-of-two weights
Each of the first 10 characters is multiplied by a weight of 2position, where position starts at 0 from the left.
So the weights are: 1, 2, 4, 8, 16, 32, 64, 128, 256, 512.
3) Sum and divide by 11
Add all weighted values, then calculate the remainder after dividing by 11.
4) Determine the check digit
The remainder is the check digit, except when remainder is 10. In that case, the check digit is written as 0.
Worked example
For ABCU123456, the computed check digit is 0, which produces the full container number:
ABCU1234560.
You can load this example using the Load Sample button above.
Common mistakes to avoid
- Swapping letters and numbers (for example,
Oand0) - Forgetting the equipment category letter in position 4
- Including extra spaces or punctuation in copied codes
- Using a serial with fewer than 6 digits
- Assuming a container number is valid without checking digit math
Quick FAQ
Can I calculate from only the first 10 characters?
Yes. Enter the 10-character base code and click Calculate Check Digit.
Can I validate a full container number?
Yes. Enter all 11 characters and click Validate Number.
Does this follow international standards?
Yes. The formula used here follows the ISO 6346 method for container check digits.
Final note
If you handle container tracking, drayage dispatch, rail booking, ocean freight documentation, or customs data entry, validating every container ID can save time and prevent costly downstream corrections.