UPC-A and UPC-E: History, Purpose, Advantages, Limitations and Usage - ByteScout
  • Home
  • /
  • Blog
  • /
  • UPC-A and UPC-E: History, Purpose, Advantages, Limitations and Usage

UPC-A and UPC-E: History, Purpose, Advantages, Limitations and Usage

UPC stands for Universal Product Code. It is a type of linear barcode and is most widely used for retail applications.
There are two variations of UPC:
• UPC-A format
• UPC-E format

Learn about:

  1. UPC-A and UPC-E Formats
  2. UPC Barcode History
  3. What is UPC Barcode & Its Purpose
  4. UPC Barcode Advantages and Limitations
  5. UPC Barcode Usage
  6. How to Convert a UPC-E Code Back to UPC-A
  7. UPC-A vs UPC-E
  8. Check UPC Code
  9. Difference Between Barcode and UPC

UPC-A Format

UPC-A is a variation of UPC and uses 12 digits for information encoding. Out of these 12 digits, 11 digits contain the product information while the last digit is the checksum digit. The eleven product digits are further divided into three logical categories. The first digit represents the information regarding the type of product. The next five digits contain information about the manufacturer of the product while the last 5 digits contain information about the specific product being encoded.

UPC-E Format

UPC-E is a shorter version of UPC-A. UPC-E contains 7 digits a total of which 6 digits contain the product information whereas the last digit is the checksum digit. UPC-E is also referred to as the “Zero Suppressed” version of UPC-A because it suppresses all trailing zeros in the manufacturer’s information digits and all leading zeros from product information digits along with number system digits.

UPC Barcode History

UPC was designed by an IMB Engineer named George Laurer in 1971. IBM has originally asked him to base his barcode design on a bull’s eye pattern but he developed a barcode with a pattern of vertical stripes. With certain modifications and up-gradations, in 1974, the first UPC was pasted on a pack of Wrigley’s gum which marked the paradigm shift in the way people use to shop.

The size of the barcode is the fundamental difference between a UPC-A and a UPC-E. Since the UPC-E compressed a standard 12-digit UPC-A number into a 6-digit code by “suppressing” the data structures digits, trailing decimal places in the manufacturing code, and beginning zeros in the product number, it is also known as a 0-Suppressed UPC. The seventh digit is a computed check digit based on the code’s first six digits. As a result, UPC-E may be decompressed into a conventional UPC-A 12-digit number. It’s worth noting that some manufacture code numbers that start with “0” have this feature. Furthermore, any production code that does not begin with “0.” can be none whatsoever.

What is UPC Barcode & Its Purpose

It is one of the oldest and most widely used barcodes. The purpose of developing UPC was to develop such a shopping or buying system where the salesperson does not have to manually enter the information of a product in the database. This saves time and minimizes human error, unlike manual information entry. For this purpose, IBM developed UPC in order to ensure, quick, easy, and reliable information encoding for retail products.

UPCs were also designed to allow people to easily identify products by their features, including identifying aspects such as a brand’s name, the item (product), item size, and item color. All these are done at checkout when a scanner scans an item. But although the purpose was to speed up grocery checkouts, stores use UPCs to track inventory.

When an item is scanned at checkout, UPCs make identifying product details such as the brand name, item, size, and color easier. That’s why they were invented in the first place: to make grocery store checkout lines shorter. UPCs can also be used to keep track of inventories at a store or warehouse.

You can build your own custom UPC barcodes with ByteScout. Simply input the desired information, customize the design, and it’s ready to go!


UPC Barcode Advantages

  • One of the oldest barcode types, extremely portable.
  • It contains only numerals; simple and easy to encode and decode.
  • The self-checking mechanism through checksum digit.
  • Businesses and consumers benefit from UPCs in a variety of ways. UPCs boost speed since barcode scanners can instantly identify a product and its related price.
  • Reducing the need to enter information about the product manually increases efficiency and production.
  • They also allow for considerably more precise inventory tracking than manual counting, allowing retailers and warehouses to know when extra merchandise is required on store shelves or in warehouses. UPCs allow items to be followed from manufacture to distribution to retail outlets and even into consumers’ homes when there is a problem with a product, and people who purchased it need to be notified of a recall issued.

UPC Barcode Limitations

  • Only numeric data encoding/decoding. Can’t encode characters and special characters.
  • Little tolerance for damage. It cannot be decoded even if slightly damaged.
  • Require close contact scanners to decode information.
  • Print Quality Issues
    One downside of utilizing UPC bar codes is that they require well-printed, damaged bar codes scanned by bar code scanners. Suppose the color reproduction of a bar code is inadequate, or the color combination between the bar code and the paper’s color is too near. In that case, it may be challenging to see, according to “PlantServices” magazine.
  • Expensive scanning Equipment

According to “PlantServices,” there are two barcoding or readers: contact and noncontact. Interface scanners are the least costly and generally come in hand-held probes or light pens. On the other hand, touch wand scanning necessitates physical contact with bar code and some talent. As a result, the scanning duration increases.

  • Inefficiencies with large inventories
    UPC bar codes are still slower and less efficient than the more recent radio frequency identification (RFID) technology despite its tracking benefits. The GS1 US, an American group that promotes the use of the global GS1 System, which includes the EAN/UCC, UPC, and GTIN coding systems, has recently endorsed this technique.

UPC Barcode Usage

  • UPC-A is mostly used in the USA, Australia, New Zealand, United Kingdom, and Canada for encoding larger and simpler information.
  • Used mostly in retail stores and small products. UPC-E is even shorter and used mostly for food products.
  • The most common barcode found on retail items. The UPC is read at checkout lines in stores and supermarkets establishments by scanning the barcode. Handheld UPC scanners are often used to keep track of what’s on the shelf.

How UPC Codes Work

The UPC symbol consists of two parts: a machine-readable bar code and a 12-digit human-readable number.

Register for GS1

For a company to get a UPC, the first step is to apply and register with GS1, a global standards organization that assigns manufacturer identification numbers.

Get the manufacturer’s identification number

Once registered a company gets a GS1-assigned manufacturer identification number. The first six (6) digits are a company’s identification number in the UPC. Every company with this number assigns it to all of its products. The 6 digits beginning with a character help determine whether the product is regular, a weighted item, a pharmaceuticals product, or a coupon.

Assign a 5-digit code/item number to products

How are UPC codes assigned? A UPC coordinator adds the next five digits called the item number. The numbers are unique and are assigned to every product, with care taken not to have the same number assigned to more than one item. In cases where there are variations to products and items, the 5 digits must be unique for each one of them.

Check digit

A check digit is the last number in a 12-digit UPC. The check digit is arrived at by adding and multiplying numbers in the code. A checkout scanner uses the check digit to determine the validity of the UPC. An incorrect check digit means the UPC code will not scan properly.

Every time scanning happens, the check digit calculation occurs. If in case the calculation results in a figure not matching the check digit, then the scanner indicates that there is an error. You need to rescan the item.

How to Convert a UPC-E Code Back to UPC-A

A 6-digit UPC-E code is derived from a UPC-A 12-digit code. You can convert a UPC-E code back to its UPC-A format using the following scenarios.

  • If the UPC-E code ends in 0, 1, or 2

Convert the UPC-E back to the UPC-A code by picking the first two digits in the UPC-E code. Add the last digit (still of using the UPC-E code) and then four zeros (0). Complete the conversion by adding characters 3 -5 of your UPC-E code.

  • If the UPC-E code ends in 3

Determine what the UPC-A code is by picking the first three digits used in your UPC-E code. Add five zeros (0), and then characters 4 and 5 of the UPC-E.

  • Where the UPC-E code ends in 4

Determine the UPC-A code in this way: take the UPC-E code and write out the first four digits. Add five zeros (0), then the fifth character of the UPC-E code.

  • If the UPC-E code ends in any of 5, 6, 7, 8, or 9

Convert the UPC-E code to UPC-A by first picking the leading five digits in the UPC-E code. Add four 0 digits and the last character of the UPC-E code.


There are a few differences between UPC-A and UPC-E. A UPC-A is composed of 12 digits code, which makes up its barcode design. On the other hand, a UPC-E is a compressed UPC-A, which becomes a 6-digit code. The pattern of the UPC-A is achieved by compressing the leading zeros that define the product identification and the trailing zeros for the manufacturer.
Another difference between the two barcodes is the physical size, which is due to the compression of a UPC-A into a UPC-E. Despite the compression, a UPC-A can be recovered by reversing the compression process. If you have a modern barcode reader, you can use it to transform a UPC-A into a UPC-E and vice versa.

Check UPC Code

In this day and age, most items have a barcode. With the standard UPC symbol on an item, you can find information about it. It gives you details about the item’s name, its manufacturer, and much more. As stated earlier, this information is coded using black lines of different thicknesses and spacing. As such, there are barcode scanners you can use to decode and access the information in a UPC. Alternatively, you can search for the digit code on a search engine or database that contains information about such an item.

Before you can decode the UPC of an item, you will have to find where it is located. In general, different manufacturers place the barcode in various locations. For example, you may find a barcode beneath, on top, or the side of a product. In some cases, this code can be written on a product tag. Once you locate the code, you can either use the digits to run a search or use a scanner to access the information within the UPC.

Difference Between Barcode and UPC

A barcode is a generic name for a class of codes readable by a barcode machine. It is made of 1-dimensional vertical lines with different widths. In addition, a typical barcode will have numbers underneath the black lines, which provide an alternate way of accessing information within the barcode. A typical barcode will usually contain information about an item, its manufacturers, and its cost. However, due to the limited storage size of a barcode, it is challenging to encode a lot of information within. For this reason, barcodes are mainly used for stock keeping and inventory management.
UPC stands for Universal Product Code. It is a special type of barcode used to identify products. In addition, it is designed to be compatible with all barcode scanners and inventory management systems across the globe. Unlike the generic barcode, a UPC is made of 12 digits, which correspond to the black lines of code. Each code is given to a manufacturer. It is used to store information about products and manufacturers. Like any other barcode, a UPC is also written on an item or its packaging. A barcode scanner capable of reading a UPC can be used to read the UPC barcode.


UPC  barcodes should be used in simple and retail stores products that do not require complex information encoding.
UPC-A and UPC-E barcodes can be generated by ByteScout BarCode  SDK and read by  BarCode Reader SDK.


About the Author

ByteScout Team ByteScout Team of Writers ByteScout has a team of professional writers proficient in different technical topics. We select the best writers to cover interesting and trending topics for our readers. We love developers and we hope our articles help you learn about programming and programmers.