Check the returnable-asset identification component.
Initialising algorithm engine for GRAI Check Digit Calculator...
How GRAI Check Digit Calculator Works?
The GRAI Check Digit Calculator works by applying GS1 Modulus 10 to the first 13 digits of a Global Returnable Asset Identifier (GRAI) and placing the result in position 14. The optional alphanumeric serial number after position 14 is not part of the check.
- 1Start with a leading 0 as the first digit of the GRAI element string.
- 2Add the GS1 company prefix and the asset type to reach 13 digits.
- 3Weight the 13 digits 3-1-3-1 from the left and sum the products.
- 4Compute the 14th digit as (10 − (S mod 10)) mod 10.
- 5Append the optional serial number (up to 16 characters) after the check digit.
GRAI Check Digit Calculator Formula
The GRAI formula is d₁₄ = (10 − (Σ dᵢ·wᵢ mod 10)) mod 10 over the 13-digit fixed part.
S = 3 × (d₁ + d₃ + … + d₁₃) + (d₂ + d₄ + … + d₁₂) (GRAI) d₁₄ = (10 − (S mod 10)) mod 10 (GRAI)
d₁…d₁₃are the 13 GRAI payload digits (leading 0 + company prefix + asset type).d₁₄is the GRAI check digit.Sis the weighted GRAI sum.
Payload: 0952123454321 Weights: 3131313131313 S = 77 Check digit = (10 − (77 mod 10)) mod 10 = 3 GRAI = (8003) 09521234543213A12B
GRAI Check Digit Calculator Conversion Table
The GRAI conversion table lists asset types with their fixed part, check digit, and optional serial.
| Asset type | Fixed part (13 digits) | Check digit | Serial | GRAI element string |
|---|---|---|---|---|
| Reusable pallet | 0952123454321 | 3 | A12B | 09521234543213A12B |
| Plastic crate | 0952123400001 | 3 | 000001 | 09521234000013000001 |
| Beer keg | 0401234500055 | 9 | KG77 | 04012345000559KG77 |
| Gas cylinder | 0061414100099 | 9 | CY123 | 00614141000999CY123 |
| Roll cage | 0952123412345 | 3 | 09521234123453 |
What is GRAI Check Digit Calculator?
A GRAI Check Digit Calculator is a tool that computes the check digit inside a Global Returnable Asset Identifier. A GRAI identifies reusable assets such as pallets, kegs, crates, and gas cylinders.
The GRAI is encoded with Application Identifier (8003). The check digit protects the asset type part only, while the serial number identifies the individual asset.
What are the uses of GRAI Check Digit Calculator?
There are 3 main uses of the GRAI Check Digit Calculator, including pallet pooling, keg tracking, and RFID encoding.
- Pallet pooling: Pooling companies track pallets across customers.
- Keg and cylinder tracking: Breweries and gas suppliers monitor asset returns.
- Radio Frequency Identification (RFID) encoding: Teams convert GRAIs into EPC tag data.