UPC-E

Introduction


The UPC-E barcode is the short form representation of a barcode format UPC-A.

It reduces the data length from 12 digits to 6 digits by compressing the extra zeros. It is suited for identifying products in small packages.

A UPC-E barcode has 6 digits with an implied number system 0. The first 5 digits are calculated based on a conversion algorithm described below.

The last digit is the check digit of the original UPC-A symbol.

UPC-E uses a rather convoluted, but quite effective, method of compressing out unnecessary zeros. Keep in mind that in UPC-A there are five characters for the manufacturer code and five characters for the product code. The trick is to reduce all 10 characters into just 6 characters.

Converting a UPC-A Code to UPC-E Code

1. If the manufacturer code ends in 000, 100, or 200, the UPC-E code consists of the first two characters of the manufacturer code, the last three characters of the product code, followed by the third character of the manufacturer code. The product code must be 00000 to 00999.

2. If the manufacturer code ends in 00 but does not qualify for #1 above, the UPC-E code consists of the first three characters of the manufacturer code, the last two characters of the product code, followed by the digit "3". The product code must be 00000 to 00099.

3. If the manufacturer code ends in 0 but does not quality for #1 or #2 above, the UPC-E code consists of the first four characters of the manufacturer code, the last character of the product code, followed by the digit "4". The product code must be 00000 to 00009.

4. If the manufacturer code does not end in zero, the UPC-E code consists of the entire manufacturer code and the last digit of the product code. Note that the last digit of the product code must be in the range of 5 through 9. The product code must be 00005 to 00009.

                <h3>Check Digit Calculation </h3>
			    The UPC-E check digit has the same value of the check digit 
                on the equivalent <a href="/en/barcode-education/upc-a">UPC-A</a> number. <br>
                <br>
                <h3>Encoding</h3>
UPC-E uses the &quot;left-hand odd&quot; and &quot;left-hand even&quot; encoding 
                character sets from the <a href="/en/barcode-education/ean-13">EAN-13</a> encoding 
                standard.<br>
                <br>
                UPC-E doesn't have a check digit encoded explicity, rather 
                the check digit is encoded in the parity of the other six 
                characters. The check digit that is encoded is the check digit 
                from the original <a href="/en/barcode-education/upc-a">UPC-A</a> barcode.<br>
                <br>
                Additionally, UPC-E may only be used if the number system 
                is 0 or 1. The characters encoded are encoded with odd and 
                even parity from the left-hand columns of the <a href="/en/barcode-education/ean-13">EAN-13</a> 
                character formats in the table previously provided. The parity 
                used for each character depends on the number system (0 or 
                1) and the check digit from the original <a href="/en/barcode-education/upc-a">UPC-A</a> 
                barcode.<br>
                <br>
                A UPC-E symbol has the following structure:<br>
                1. Start guard bars, always with a pattern bar+space+bar<br>
                2. Left halve, five digits calculated from the equivalent 
                UPC number<br>
                3. Check digit<br>
                4. Stop guard bars, always with a pattern bar+space+bar<br>
                <br>
              </div>
                </td>
          </tr>
        </table> </td>
    </tr>
  </table></td>