Apply a selected check-digit convention.
Initialising algorithm engine for Interleaved 2 of 5 Checksum Calculator...
How Interleaved 2 of 5 Checksum Calculator Works?
The Interleaved 2 of 5 Checksum Calculator works by applying GS1 weights of 3 and 1 from the rightmost data digit and appending the Modulus 10 complement. Interleaved 2 of 5 (ITF) encodes digit pairs, so the total digit count including the check must be even.
- 1Enter the numeric data.
- 2Weight the rightmost digit by 3 and alternate 1, 3 moving left.
- 3Add the ITF products and take the complement of the last digit to 10.
- 4Append the check digit.
- 5Add a leading 0 when the total length is odd.
Interleaved 2 of 5 Checksum Calculator Formula
The ITF formula is Check = (10 − (Σ dᵢ·wᵢ mod 10)) mod 10, with wᵢ = 3, 1, 3… from the right.
S = Σ dᵢ × wᵢ, wᵢ = 3, 1, 3, 1… from the right Check = (10 − (S mod 10)) mod 10 (INTERLEAVED 2 OF 5)
dᵢis the data digit at position i from the right.
Payload: 1234567 Weights: 3131313 S = 60 Check digit = (10 − (60 mod 10)) mod 10 = 0 Encoded (even length) = 12345670
Interleaved 2 of 5 Checksum Calculator Conversion Table
The ITF conversion table lists data lengths, check digits, and padding needs.
| Data | Data length | Check digit | With check | Padded for ITF |
|---|---|---|---|---|
| 1234567 | 7 | 0 | 12345670 | 12345670 |
| 123456 | 6 | 5 | 1234565 | 01234565 |
| 1001234567890 | 13 | 2 | 10012345678902 | 10012345678902 |
| 0000123 | 7 | 6 | 00001236 | 00001236 |
| 98765 | 5 | 3 | 987653 | 987653 |
What is Interleaved 2 of 5 Checksum Calculator?
An Interleaved 2 of 5 Checksum Calculator is a tool that computes the optional Modulus 10 check digit of an ITF barcode. ITF encodes pairs of digits, with the first digit in the bars and the second in the spaces.
ITF-14 always uses the GS1 check digit. General ITF symbols make the check digit optional, so the scanner setting must match the label.
What are the uses of Interleaved 2 of 5 Checksum Calculator?
There are 3 main uses of the Interleaved 2 of 5 Checksum Calculator, including carton labels, warehouse locations, and scanner configuration.
- Carton labels: Distributors print ITF codes on corrugated cartons.
- Warehouse locations: Warehouses label racks with ITF codes.
- Scanner configuration: Technicians set fixed lengths and check digit modes.