Checkdigit

ISO 6346 · ILU · UIC

Container Check Digit Calculator

Calculate a missing digit or check a complete container number.

Enter 10 characters to calculate the missing check digit, or 11 to check a complete ISO 6346 number. Lower case, spaces and hyphens are accepted.

Other identifier types

ILU (EN 13044). Intermodal loading units use category letters A, B, D, E or K and the same mod-11 arithmetic as ISO 6346. The equivalence to the normative EN 13044-1 text is not independently confirmed here.

UIC wagon. Rail vehicle numbers are 11 digits plus a Luhn check digit (12 in total). Enter 11 digits to calculate the check digit, or 12 to check a complete number.

What this check covers

Checkdigit confirms two things: the number has a valid shape, and its printed check digit agrees with the body under the identifier's own arithmetic.

It does not confirm that a container exists or is registered, who owns it, where it is, or whether it may be released. A correct check digit also cannot catch every typo — two different bodies can share a check digit.

Open the full working, with every validation layer →

Runs in your browser

No sign-up, no upload, no server. What you type or paste stays in this tab.

Stores nothing

No database, no logging, no analytics, and no outside requests — not even for fonts.

Precise, not guessed

Numbers are routed to the right standard, and a suggestion is never presented as a confirmed fact.

What is a container check digit?

A shipping container number follows the ISO 6346 standard: a three-letter owner code, a category letter, a six-digit serial number and a final check digit — for example CSQU 305438 3. The check digit is worked out from the first ten characters, so it acts as a self-check that catches most single-character mistakes and swapped digits when a container number is written down, keyed, or sent in an EDI message.

How the ISO 6346 check digit is calculated

Each of the first ten characters is given a value. Digits keep their own value; letters run from A = 10 to Z = 38, skipping every multiple of 11 (so 11, 22 and 33 are never used). Each value is multiplied by a weight — the powers of two from 1 to 512, left to right — and the ten results are added together. The sum is divided by 11, and the remainder is the check digit; a remainder of 10 is written as 0.

Worked example — CSQU305438: the letters are C = 13, S = 30, Q = 28, U = 32. Multiplying the ten characters by 1, 2, 4, 8, …, 512 and adding the results gives 6185. 6185 ÷ 11 leaves a remainder of 3, so the check digit is 3 and the complete number is CSQU3054383. Enter any number in the calculator above to see the full working.

How to check or calculate a container number

Use the calculator at the top of this page: enter a complete eleven-character number to verify its check digit, or the first ten characters to calculate the missing one. Checkdigit also handles ILU (EN 13044) unit numbers and UIC wagon numbers, checks whole lists on the Bulk check tab, and reviews and corrects container files under Review a file — all in your browser, with nothing uploaded. For the anatomy, code tables and worked arithmetic, see the reference library.

Frequently asked questions

How do I check a container number?

Type or paste the full number into the calculator above and choose Check number. Eleven characters (four letters, six digits and the check digit) verifies a complete container number; ten characters calculates the missing check digit. Lower case, spaces and hyphens are accepted, and the tool shows the arithmetic behind the result.

What does a valid check digit prove — and not prove?

A matching check digit confirms only that the printed digit agrees with the first ten characters under the ISO 6346 mod-11 arithmetic. It does not confirm that the container exists, who owns it, where it is, or whether it can be released, and it cannot catch every possible typo — two different numbers can share a check digit.

Why does my container number fail the check?

Either the check digit or one of the first ten characters is wrong. The most common causes are a transcription error (for example the letter O read as the digit 0) or two characters swapped. Checkdigit shows the expected check digit and the number it would form if the first ten characters are correct, but it never assumes which end is wrong.

What is the difference between ISO 6346, ILU and UIC numbers?

ISO 6346 covers freight containers (category U), detachable container-related equipment (J) and trailers or chassis (Z), with a mod-11 check digit. ILU units (EN 13044) use category letters A, B, D, E or K and the same arithmetic. UIC wagon numbers are twelve digits with a Luhn (mod-10) check. Checkdigit routes each to the right rule and never cross-applies them.

Can I check many container numbers at once?

Yes. Use the Bulk check tab to paste a list — one number per line — and get one result for each, with a summary and CSV export, or use Review a file to detect and correct numbers in a CSV, EDIFACT, X12 or container XML file.

Is Checkdigit free, and is my data private?

Yes and yes. The calculator is free and runs entirely in your browser: nothing you enter is uploaded, logged or stored, and the site makes no third-party requests — not even for fonts.

What is a BIC code or owner prefix?

The first three letters of a container number are the owner code, or BIC code, registered with the Bureau International des Containers. Checkdigit validates the number's format and check digit but does not look owners up; you can search the owner register at bic-code.org.