What is a Barcode?

A barcode is a pattern of dark bars and light spaces grouped together in some pattern to encode data characters. Every barcode type or symbology has it own unique way of encoding data characters. The general format of a barcode symbol consists of a leading margin, start character, data or message character, check character (if any), stop character, and trailing margin. Within this framework, each recognizable symbology uses its own unique format.

What Types of Barcodes Are There?

Barcodes are divided into two main types: one dimensional (1D) and two-dimensional (2D).

1D barcode graphic which is code 39

This is a conventional 1D barcode. It has a single row of bars – similar to a picket fence. It is called 'one dimensional' because all the data is encoded in the horizontal width.

QR barcode example

This is a two dimensional barcode. Data is encoded in both the horizontal and vertical dimensions. As more data is encoded, the size of the barcode can be increased in both the horizontal and vertical directions thus maintaining a manageable shape for easy scanning. This type could have 2000 or more characters embedded in the barcode.

Barcodes can be further divided into symbologies, or barcode languages, which support different types and amounts of data


UPC Code
1D UPC Code

Primary Purpose:

Keep track of sales and inventory of retail products sold within the US and Canada

Contains (minimum requirement):

12-digit number that identifies the specific product


Required for OTC items

Linear Barcode Example

Primary Purpose:

Reduce medication errors

Contains (minimum requirement):



Linear barcode required on nearly all drug products in the US


Data Matrix
2D Data Matrix Code

Primary Purpose:

Identify and trace certain prescription drugs as they are distributed in the US

Contains (minimum requirement):

NDC, serial number, lot number and expiration date


2D data matrix required on the smallest saleable package

Quick Response (QR)
QR Code example

Primary Purpose:

Provide information (website nutrition information, etc.) about the product to which it is affixed

Contains (minimum requirement):

Not applicable


Not required by FDA on product labels and labeling

How Do Barcodes Work?

A barcode holds encoded information and a barcode scanner is able to translate this code into numbers and letters which is passed onto a host system.

Barcodes provide rapid, simple, and accurate readings, as well as data transmission for items that need to be identified, tracked or managed. They can be directly printed onto virtually any material and provide a cost-effective and accurate solution for capturing data. There is no single barcode type that has a universal business application. Therefore, a need for different symbologies exist.

When you breakdown a barcode, character sets are combinations of bars and spaces that represent a specific character. X Dimension is the width of the smallest bar or space element in the barcode which is also referred to as mil size (1mil = .001 inch). Quiet ones are the areas just before and after the barcode.

Overview of a barcode showing quiet zones, character sets and X-Dimension

What Are the Parts of a Barcode?

There are different parts of a barcode, at the beginning there is a number which is a system character and specific to an industry.  For example, zero is a grocery, and three is pharmaceutical. The price of a product itself is not encoded in the barcode, just the ability to look it up in the host system via the manufacturer and product code.

The barcode will contain a manufacturer code/company prefix which is from six to ten digits in length and is a globally unique prefix assigned to the company. This ensures that a product’s barcode is not confused with another company’s product.

The product code/item reference is a unique code assigned to the product and combines with the manufacturer code to make up the first eleven digits of the barcode.

A check digit is a special formula using those first eleven digits is used to calculate the check digit. This twelveth digit ensures the accuracy of the information in your barcode when it is scanned.

Parts of barcode including Number System Character, Manufacturer Code amongst others

What Are the Types of Barcode Scanners?

There are three types of scanning technology, Laser Scanner, Linear Imager and Array Imager:

Laser Scanner

A laser scanner can read 1D printed barcodes but cannot read mobile. It is also unable to scan 2D codes or capture images but it does provide good performance on poor quality codes along with omni-directional scanning. These types of scanners tend to be a good and affordable option for standard, good quality 1D printed barcodes.

Linear Imager

A linear imager can read 1D printed and 1D mobile barcodes but cannot scan 2D code nor is omni-directional. It also cannot capture images but does provide excellent performance on poor quality codes and high density codes.

Array Imager

An Array Imager can read 1D and 2D printed and mobile barcodes and most have the ability to capture images. They provide excellent performance on poor quality codes and high density codes along with omni-directional scanning. An Array Imager can also be optimized to support signature capture, OCR, direct part marks and document capture.

Explore Our Range of Barcode Scanners