What is a Barcode and How Does it Work?

What is a Barcode and How Does it Work?
Barcodes offer plenty of benefits to shoppers, but they also help retail stores to run more smoothly. Read more information about barcodes and how they work.
by Square Jul 15, 2021 — 3 min read
What is a Barcode and How Does it Work?

We use barcodes every day but don’t think about them much. These black and white bars on the products we buy are a powerful tool that let us check an item’s price, scan it at a self-service register, and know that we’re paying the correct price.

Barcodes offer plenty of benefits to shoppers, but they also help retail stores to run more smoothly. For retailers, barcodes make selling and inventory management faster and more accurate and provide strong oversight of business performance.

Read on for more information about barcodes and how they work.

What is a barcode?

A barcode is a machine-readable image that consists of a series of parallel black and white bars that a barcode scanner can read. Barcodes are applied to products and product packaging to give each item its own unique identifying number. Barcodes are typically used in retail stores and are usually 13 digits long; however, they could also be 8 or 12 digits in length.

What are the main types of barcodes?

There are two main types of barcodes – 1-dimensional (1D) and 2-dimensional (2D) barcodes.

What are some benefits of using barcodes?

Barcodes were initially developed to speed up the sales process, but they offer several other business benefits.


What is a barcode scanner?

A barcode scanner (also known as a barcode reader) is a device that captures and decodes a barcode’s information. Barcode scanners have a lens that scans a barcode and a decoder that analyses the barcode’s data. From here, this information is automatically transmitted to a linked point of sale (POS) system to facilitate a transaction.

There are many different types of barcode scanner. Modern solutions like Bluetooth barcode scanners and USB barcode scanners are a popular choice for retailers looking for a reliable, easy to use barcode scanner.

How to connect a barcode scanner to your POS system

The correct way to connect a barcode scanner to your POS system will depend on your barcode scanner and POS setup.

If you’re using Square for Retail, simply plug your USB barcode scanner into the Accessory Hub of your Square Hardware or your Android device using an on-the-go (OTG) adaptor. If you have a Bluetooth barcode scanner, we share detailed setup information on Square Support.

What is a UPC versus a SKU?

The terms UPC and SKU are often used interchangeably, but these retail terms serve different purposes for retailers.

A UPC, or “universal product code”, is a 12-digit code used to identify a product regardless of where it’s sold (hence “universal”). If you buy an identical product from a local store or online from an international company, it will have the same UPC. This means you can use the UPC to look up a product online and see multiple retailers that sell that product.

SKU stands for “stock keeping unit” and is a unique number that a retailer assigns to a product to keep track of sales and inventory. Different retail stores may sell exactly the same product using different SKUs. SKUs are alphanumeric and vary in length. Visit our blog, ‘What is a SKU and how should you use it?’, for a deep dive into the world of SKUs.

What is a QR code and how do they work?

A QR (quick response) code is a type of two-dimensional (2D) barcode. They store information as a series of pixels in a square-shaped grid and can be accessed by digital devices like smartphones. The data stored in a QR code can include website URLs, phone numbers and more.

Visit the Square website for more information about how Square for Retail can help you use barcodes to optimise your retail store’s operations.

The Bottom Line is brought to you by a global team of collaborators who believe that anyone should be able to participate and thrive in the economy.


Keep Reading

Tell us a little more about yourself to gain access to the resource.

i Enter your first name.
i Enter your surname.
i Enter a valid email.
i Enter a valid phone number.
i Enter your company name.
i Select estimated annual revenue.
i This field is required.

Thank you!
Check your email for your resource.

Results for

Based on your region, we recommend viewing our website in:

Continue to ->