Interleaved 2 of 5 Barcode FAQ

What is Interleaved 2 of 5 barcode, character set, char length, check digit, bar module size,deocde & read Interleaved 2 of 5 barcodes











Interleaved 2 of 5 Barcode Introduction

Interleaved 2 of 5, also known as ANSI/AIM ITF 25, ANSI/AIM I-2/5, is a continuous two-width barcode symbology encoding digits. It is used commercially on 135 film and on cartons of some products, while the products inside are labeled with UPC or EAN.



Interleaved 2 of 5 Basic Characteristics

The basic characteristics of Interleaved 2 of 5 are:

  • Encodable character set: numeric 0 to 9 (ASCII characters 48 - 57 inclusive, in accordance with ISO/IEC 646)
  • Code type: continuous
  • Character self-checking: yes
  • Data string length encodable: variable (even number of digits)
  • Barcode check digit: one, optional


Interleaved 2 of 5 character encoding

Supported character set

Interleaved 2 of 5 encodes digits (0-9) only.



What is the length of Interleaved 2 of 5 barcode?

The Interleaved 2 of 5 specification does not specify the maximum number of characters in a single barcode image.

However the encoding character set must be the even number of digits.



Interleaved 2 of 5 Start/stop patterns

Interleaved 2 of 5 includes one start pattern, and one stop pattern.

The start pattern shall consist of four narrow elements in the sequence "bar - space - bar - space". The stop pattern shall consist of a "wide bar - narrow space - narrow bar" sequence.

The start pattern shall be positioned at the normal left end of the data symbol characters adjacent to the first bar of the most significant digit. The stop pattern shall be positioned at the normal right end of the data symbol characters adjacent to the final space of the least significant digit.

There is no assigned human readable interpretation of the start and stop patterns and the start/stop will not be displayed in the Interleaved 2 of 5 barcode text.



Interleaved 2 of 5 Barcode Structure

Interleaved 2 of 5 symbols shall comprise:

  1. leading quiet zone
  2. start pattern
  3. one or more pairs of symbol characters representing data (inclusive of optional symbol check character)
  4. stop pattern
  5. trailing quiet zone



How to calculate Interleaved 2 of 5 check digit?

For applications requiring enhanced data security, Interleaved 2 of 5 may include one checksum digit as a symbol check character.

When a check digit included, the following check character algorithm shall be used:

  1. Starting with the digit on the right of the number (excluding the check character), sum all the alternate digit values, reading from right to left;
  2. Multiply the result of step 1) by 3;
  3. Sum all the remaining digit values;
  4. Add the result of step 2) to the result of step 3);
  5. The check character is the smallest number, which, when added to the result of step 4), produces a multiple of 10.



Example to calculate the check digit for the data 1937:

1 9 3 7
Step 1: 9 + 7 = 16
Step 2: x 3 = 48
Step 3: 1 + 3 = 4
Step 4: 4 + 48 = 52
Step 5: (next multiple of 10 is 60): 60 - 52 = 8
therefore the check digit is 8


The full number is thus 19378, to which a leading zero now requires to be added to make an even number of digits for encodation purposes, i.e. the data encoded will be 019378.












Interleaved 2 of 5 Software and Developer Components

















Terms of Use | Privacy Policy
Copyright © OnBarcode.com . All rights reserved.