GS1 DATA TOOL
SSCC check digit calculator
Enter the 17 data digits to generate an SSCC, or all 18 digits to validate the existing code.
Inputs
Results
Run the sample to see decoded fields and checks.
ON THIS DEVICE
Recent history
RULES USED
Method and formulas
SSCC uses the standard GS1 Modulo-10 algorithm over the extension digit, company prefix and serial reference.
The calculator cannot allocate a serial reference or guarantee uniqueness; the company assigning the SSCC must manage reuse rules.
GUIDE
What the SSCC Check Digit Calculator Does
The SSCC check digit calculator computes or verifies the final Modulo-10 digit for an 18-digit Serial Shipping Container Code. Logistics operators apply SSCCs to pallets, containers and other transport units that move through supply chains. The tool accepts the first 17 digits consisting of the extension digit, GS1 company prefix and serial reference, then returns the required check digit or flags an invalid entry. Users in warehousing, freight forwarding and ERP systems rely on this verification before printing labels or transmitting EDI messages. Because the calculation follows the published GS1 General Specifications, the result matches the check digit produced by any compliant scanner or host system.
SSCC assignment occurs at the point of despatch. The extension digit distinguishes different series within the same company prefix, while the serial reference provides uniqueness for each physical unit. The check digit prevents transcription or scanning errors from propagating downstream. This calculator performs only the arithmetic step; it does not generate or reserve serial references, which remain the responsibility of the issuing company.
Worked Example Using Realistic Logistics Data
Consider the 17-digit string 10614141234567890. The first digit 1 is the extension digit. The next nine digits 061414123 form the company prefix. The remaining seven digits 4567890 constitute the serial reference. To obtain the check digit, the algorithm processes these 17 positions from right to left, alternating multipliers of 3 and 1. The resulting weighted sum equals 117. Division by 10 leaves a remainder of 7, so the check digit is 3. The complete SSCC therefore reads 106141412345678903.
| Position from right | Digit | Multiplier | Weighted value |
|---|---|---|---|
| 1 | 0 | 3 | 0 |
| 2 | 9 | 1 | 9 |
| 3 | 8 | 3 | 24 |
| 4 | 7 | 1 | 7 |
| 5 | 6 | 3 | 18 |
| 6 | 5 | 1 | 5 |
| 7 | 4 | 3 | 12 |
| 8 | 3 | 1 | 3 |
| 9 | 2 | 3 | 6 |
| 10 | 1 | 1 | 1 |
| 11 | 4 | 3 | 12 |
| 12 | 1 | 1 | 1 |
| 13 | 4 | 3 | 12 |
| 14 | 1 | 1 | 1 |
| 15 | 6 | 3 | 18 |
| 16 | 0 | 1 | 0 |
| 17 | 1 | 3 | 3 |
The table above lists every multiplication step. Summing the weighted column produces 117. Subtracting the nearest lower multiple of ten (110) leaves a remainder of 7. The check digit is therefore 10 minus 7, which equals 3. This single arithmetic pass confirms the full 18-digit code without external lookup.
Formula and Method Table
| Input element | Length | Multiplier sequence | Output |
|---|---|---|---|
| Extension digit | 1 | Starts with 3 from rightmost position | Part of weighted sum |
| GS1 company prefix | 7–10 | Alternating 1 and 3 | Part of weighted sum |
| Serial reference | Remaining digits to total 17 | Alternating 1 and 3 | Part of weighted sum |
| Check digit | 1 | Calculated as 10 minus remainder | Final SSCC digit |
The method table shows how each component contributes to the single Modulo-10 operation. No separate checksum exists for individual segments; the algorithm treats the entire 17-digit string uniformly.
Units and Length Handling Notes
SSCC length is fixed at 18 digits regardless of the company prefix length chosen by the GS1 member. When a shorter prefix is used, the serial reference automatically lengthens to maintain the 17-digit prefix-plus-reference total. The calculator accepts any valid combination that sums to 17 digits and rejects entries containing non-numeric characters or incorrect total length. No unit conversion occurs because SSCC remains a pure numeric identifier; the extension digit simply partitions series within the same prefix and does not represent a physical measurement.
Limitations of the Calculator
The tool performs only the check-digit arithmetic and cannot allocate or reserve serial references. Companies must maintain internal registers to prevent reuse of the same serial number within the validity period of an SSCC. The calculator also does not verify that the company prefix belongs to the user or that the overall code complies with regional transport regulations. Any SSCC containing a check digit calculated here must still pass downstream scanning validation at receiving sites.
Common Mistakes Encountered
Operators frequently reverse the multiplier sequence, applying 1 to the rightmost position instead of 3. Another frequent error is counting only 16 digits before the check digit, which shifts every multiplier and produces an incorrect result. Some users insert spaces or dashes when copying the string from an ERP screen; the calculator strips these characters but reports an error if any alphabetic character remains. Finally, attempting to validate an already complete 18-digit code without first removing the final digit leads to a length mismatch that the tool correctly rejects.
COMMON QUESTIONS
Frequently asked questions
What occurs when the serial reference is one digit shorter than expected for the chosen company prefix length?
The calculator still computes a check digit provided the total remains 17 digits. The resulting SSCC will be numerically valid but may violate the issuing company's internal numbering policy.
Does the extension digit receive the same weighting as the final digit of the serial reference?
Yes. The algorithm begins weighting from the rightmost of the 17 input digits with a multiplier of 3, so the extension digit always receives a multiplier of 3 when the string length is odd.
Can the calculator detect reuse of a previously issued serial reference?
No. It only evaluates the arithmetic check digit and has no access to allocation registers maintained by the issuing company.
What is the maximum company prefix length supported before the serial reference becomes too short?
A 10-digit company prefix leaves seven digits for the serial reference, which is the shortest allowed under current GS1 rules for SSCC.
How does the tool respond to an 18-digit string that already includes a check digit?
It reports a length error because the input must contain exactly 17 digits before the check digit is calculated or verified.
Is leading-zero suppression permitted in the serial reference field?
Leading zeros are retained as significant digits; removing them changes the numeric value and therefore produces a different check digit.
What validation step follows check-digit calculation before an SSCC label is printed?
The complete 18-digit string must be checked against the company's serial allocation log to confirm the reference has not been used within the required retention period.
Does the Modulo-10 result ever equal zero, and how is that handled?
When the weighted sum is divisible by ten the remainder is zero and the check digit is set to zero, which is a valid final digit in an SSCC.