Barcode Basics: What to Know About Barcodes and UPCs for Product Labels

⚞ The Highlights:

  • What is a UPC barcode? A UPC (Universal Product Code) is a 12-digit barcode found on retail products. Stores scan it to identify and track items at checkout.
  • UPC vs. EAN vs. QR Code vs. SKU: a UPC is the 12-digit U.S./Canadian barcode standard. An EAN is the 13-digit international equivalent. A QR code is a 2D barcode for marketing or consumer-facing info. A SKU isn’t a barcode at all. It’s an internal product ID set by the retailer or brand.
  • Sizing: a UPC barcode at 100% magnification is 1.469″ wide by 1.02″ tall. You can scale between 80% and 200% of this. Always include at least a 0.25″ quiet zone on each side.
  • To get a UPC: register with GS1 (the global barcode standards organization), get a unique number assigned, and use the resulting barcode on your packaging.

A barcode and a UPC may not be the most attractive part of your product label, but they’re the part that makes everything else work. A clean, properly sized barcode means the product scans at checkout, gets tracked through the supply chain, and shows up correctly in retail inventory systems. A bad barcode means lost sales, frustrated customers, and chargebacks from retailers. Below is what you need to know to get yours right the first time.

UPC vs. EAN vs. QR Code vs. SKU vs. GS1 DataBar

The terms “barcode,” “UPC,” and “SKU” get used interchangeably, but they’re different things. Here’s how they actually compare.

Type What it is Format Standardized by Common use
UPC 1D linear barcode used at retail in the U.S. and Canada 12 digits GS1 (U.S. / Canada) Retail point-of-sale scanning
EAN 1D linear barcode used at retail internationally 13 digits GS1 (international) Retail point-of-sale scanning outside the U.S.
QR Code 2D barcode that holds more data than a 1D barcode Variable; can encode URLs, text, contact info ISO standard Marketing links, consumer information, traceability
SKU Not a barcode. An internal product identifier set by the retailer or brand Variable, defined by the company using it Each retailer or brand Internal inventory and stock management
GS1 DataBar Compact 1D barcode that holds more data than a UPC Variable GS1 Small items, fresh food, healthcare products where space is limited

The short version: a UPC (or EAN internationally) is what retailers scan at checkout. A SKU is an internal product code. A QR code is a 2D barcode that’s usually supplemental, not a replacement for a UPC. Most retail products need a UPC; only some products need GS1 DataBar or a QR code.

What goes into a barcode and UPC?

A barcode and a UPC are two parts of the same thing. The UPC (Universal Product Code) is a 12-digit number assigned to a product. The barcode is the machine-readable version of that number. Each part of the 12-digit code does a different job:

  • First six digits. The manufacturer identification number
  • Next five digits. The item number, specific to each product
  • Last digit. The check digit, a single number that confirms the integrity of the barcode

A product label barcode with an example UPC.


Looking for Custom Labels?

We put our all into every custom label we make. No exceptions. And with no minimum order quantities and a 5-day turnaround for digital label printing, we take pride in helping you perfect your first impression.

Request a Quote    Get a Sample Pack


Manufacturers apply for UPCs from GS1 (the Uniform Code Council). After approval, the manufacturer pays an annual fee to participate in the UPC system and receives a unique manufacturer identification number, which is used for all of that company’s barcodes. The item number is specific to each product and is assigned by the manufacturer (avoid duplicating numbers across SKUs). The check digit is calculated from the rest of the number to confirm the barcode hasn’t been corrupted in transmission. You can determine the check digit for any product with GS1’s check digit calculator.

Other types of barcodes

While UPC and EAN barcodes are the most common, GS1 maintains several other barcode types for different business needs:

  1. GS1 DataBar: A family of compact barcodes designed for items that don’t have room for a full UPC. They can carry product identification, batch numbers, and expiration dates, which makes them a fit for fresh foods and healthcare products where space is at a premium but data needs are high.
  2. GS1-128 and ITF-14: GS1-128 is a high-capacity barcode that uses application identifiers to encode multiple data elements in one symbol. Useful for complex supply chain needs. ITF-14 is designed specifically to encode a Global Trade Item Number (GTIN) on corrugated materials, which makes it the standard for tracking trade items in bulk through distribution.
  3. Two-dimensional (2D) barcodes: Think of 2D barcodes as the next-generation form of the typical 1D barcodes you see on most product packaging. The most common 2D barcode is the QR code. 2D barcodes encode data both horizontally and vertically, which lets them hold a lot more information in less space.

Different types of product barcodes

Should you use QR codes for product labeling?

QR codes don’t replace a UPC at retail, but they pair well with it. A study published in Sustainability evaluated QR code use on food labels and found:

  • Nearly 39% of respondents wanted QR codes used more broadly in the future
  • 67% of respondents agreed that QR codes make life easier

The study concluded that QR codes “included in product packaging, on labels, and in commercial spaces (shelves, showcases, posters, etc.) are considered particularly effective in providing timely product and brand information given their capacity to reach consumers when and where they are ready to purchase with relevant, targeted, and interactive information.”

The practical use cases we see most: linking to product information pages, ingredient sourcing or sustainability stories, video tutorials, loyalty program signups, and traceability for fresh or regulated products.

How to make sure your barcode and UPC actually work

Barcodes are graded on a scale from A to F. Higher grades scan more reliably across more scanners. The factors that determine the grade are mostly within your control if you set up the barcode correctly from the start.

Respect the quiet zone

Every barcode needs a “quiet zone”. A clear margin around the barcode with no text, graphics, or other printed elements. Without a proper quiet zone, a scanner can pick up surrounding artwork and misread the barcode, which causes errors at checkout.

The quiet zone should be the larger of these two measurements:

  • 10 times the width of the narrowest bar in the barcode
  • One-eighth of an inch (0.125″)

An example barcode with the approapriate amount of quiet space.

Use the right colors for your barcode

While colorful labels can help your product stand out, the barcode itself needs a simple color scheme to scan reliably:

  • Bars: use a single color, ideally black or another dark color. Avoid warm colors like red or brown. They don’t read well on the red laser scanners most retailers still use.
  • Background: the barcode background is usually unprinted, so it takes on the color of the label or packaging. If the label color is dark or warm, print a light background (typically white) for the barcode area and quiet zone.

Barcode colors for products

Pay attention to barcode size

Barcodes come in custom sizes the same way labels do. Yours needs to be big enough to scan reliably, but not so big that it crowds the rest of the label.

The standard UPC barcode is 1.469″ wide by 1.02″ tall at 100% magnification. You can scale up or down within these limits:

  • Minimum: 1.175″ wide by 0.816″ tall (about 80% of standard)
  • Maximum: 2.938″ wide by 2.04″ tall (about 200% of standard)

A visualization of the minimum and maximum barcode sizes.

Design the barcode at the size you actually need from the start. Don’t generate a standard-size barcode and then resize it manually. That can cause scanning issues. If you need a different size, generate a fresh barcode at the new dimension.

Place the barcode where scanners can find it

For products that scan at retail checkout, place the barcode in the lower-right corner of the back panel of the package. Keep it away from edges and creases, and leave enough white space around it so the scanner has a clean read.

The printing surface for the barcode also needs to be relatively flat. Bumps, creases, or curved surfaces (like the seam of a shrink sleeve) can cause scan errors. If you’re printing on a curved container, make sure the barcode sits in a flat zone, not where the curve is steepest.

GS1 has published Guidelines for Bar Code Symbol Placement if you want the full reference.

Once you have your UPC ready, request a free sample pack to see exactly how your barcode will scan and sit on our label stock before you commit to a print run.

Send your barcodes to the printer in the right format

Once your label design has the barcode in place, you’ll need to send the artwork along with the barcode files to your printer. In addition to the label artwork files, deliver the barcode in one of these forms:

  • An image file of the barcode you received from the provider
  • An Excel document with a list of UPC numbers
  • A PDF or EPS of the barcodes

A label printing expert testing a barcode label.

It pays to work with a label printer that has solid barcode-handling capabilities. A barcode that fails to scan can mean lost sales, frustration on both sides of the counter, and chargebacks from retailers if their systems can’t read your products. A good label printer will choose materials and printing techniques that avoid smudges, abrasions, and low-resolution issues that hurt scan quality.

Worth knowing: Thinking of using printable label sheets on a home inkjet or laser printer? Be careful. Home printers often can’t hit the resolution barcodes need, and the paper labels designed for home printers usually aren’t durable enough for most product environments (no water resistance, low tear strength, prone to smudging). Fine for short-run testing; risky for production.

How to get a barcode

If you’re starting from scratch, the place to start is the GS1 website.

In the U.S., you can either get a single barcode (a GS1 US GTIN) or register a block of multiple barcodes (a GS1 Company Prefix). GS1 has a helpful barcode estimator to figure out exactly how many barcodes. And what kind. You’ll need.

The process is straightforward:

  1. Choose either a GS1 US GTIN (single product) or a GS1 Company Prefix (multiple products)
  2. Enter your contact information
  3. Pay (price varies depending on quantity and barcode type)

One thing worth knowing: there are third-party resellers offering “discount” UPCs. Most major retailers (Amazon, Walmart, Target, Kroger) require GS1-issued barcodes specifically. Saving a few dollars on a non-GS1 UPC can disqualify your products from those retailers, so go directly through GS1.

Frequently asked questions

What’s the difference between a UPC and a barcode?

A UPC is the 12-digit Universal Product Code assigned to a product. The barcode is the machine-readable version of that number. The printed pattern of bars and spaces a scanner reads. They’re two parts of the same identification system: the UPC is the number, the barcode is the visual representation.

What’s the difference between a UPC and an EAN?

A UPC is the 12-digit barcode standard used at retail in the U.S. and Canada. An EAN (European Article Number, now called International Article Number) is the 13-digit equivalent used internationally. Most modern retail scanners read both. If you sell in both U.S. and international markets, you may need both, depending on which markets your retailers serve.

What’s the difference between a UPC and a SKU?

A UPC is a globally unique 12-digit barcode standardized by GS1, used at retail point-of-sale and recognized across companies. A SKU (Stock Keeping Unit) is an internal product identifier set by a retailer or brand for their own inventory tracking. SKUs aren’t standardized. Every company defines its own format. A product can have a UPC and one or more SKUs at different retailers.

Do I need a UPC to sell on Amazon?

In most cases, yes. And Amazon specifically requires GS1-issued UPCs (not third-party resellers). Some product categories have GTIN exemptions, but for most retail consumer products, you’ll need a GS1 UPC. Walmart, Target, Kroger, and other major retailers have similar requirements. Going directly through GS1 is the safe path.

How much does it cost to get a UPC?

Cost depends on whether you need a single barcode or a block of barcodes. GS1 offers single GTINs for one-product situations, and GS1 Company Prefixes for businesses needing multiple barcodes. Prices include both an initial fee and an annual renewal fee, and they vary based on the number of barcodes you register. Check the GS1 US site for current pricing.

What size does my barcode need to be?

A standard UPC barcode is 1.469 inches wide by 1.02 inches tall at 100% magnification. You can scale between 80% and 200% of that range. Minimum around 1.175″ x 0.816″, maximum around 2.938″ x 2.04″. Always include a quiet zone of at least 0.25 inch on each side. Generate the barcode at the actual size you need; don’t generate at one size and resize later, which can cause scanning issues.

Where should I place the barcode on my product label?

For most retail products, place the barcode in the lower-right corner of the back panel. Keep it away from edges, creases, and curved or textured surfaces. The barcode should sit on a relatively flat printing surface, with enough white space around it (the quiet zone) for the scanner to get a clean read. GS1 publishes detailed placement guidelines for specific product types and packaging.

Should I use a QR code on my product label?

QR codes don’t replace a UPC, but they pair well with one. They’re useful for linking to product information, ingredient sourcing or sustainability content, video tutorials, loyalty signups, or traceability for regulated products. Research shows nearly 67% of consumers find QR codes make their experience easier. The catch: a QR code takes up label real estate, so you need a clear reason for including it before you commit space to one.

Get your barcode-ready labels right the first time

A barcode and UPC are one of many pieces in a successful product label. Once your design is dialed in, finding the right printer is the next step.

At Blue Label, we test every barcode before a full run. We print example labels, scan them with retail-grade scanners, and grade the result. We confirm that your UPC matches the bars. If anything looks off, we flag it before we print the production run, so you can fix it before it becomes a chargeback.

Ready to put it together? Take a look at our product label options, or request a sample pack to see how your barcode will sit on real label stock. Get in touch when you’re ready to talk through a project.

How to Get a Barcode, UPC, and QR Code for a Product Label

⚞ The Highlights:

  • You need a GS1-issued prefix to create official UPC codes that retailers will accept at checkout
  • Once you have your GS1 prefix, you can register each product and usually receive your barcodes within a few days
  • For QR codes, you can generate them online as soon as you have a link or data ready, just make sure the final code size and resolution fit your label design

A good product label performs many jobs, including making a great first impression on potential customers. These labels also need to provide important information to both consumers and retailers alike.

UPC barcodes and QR codes aren’t always the most attractive part of your labels, but they serve essential roles for your products. Let’s break down how to create a barcode for a product and what it takes to get UPC barcodes and QR codes for your product labels (and what it takes to make sure they work).

The Differences Between a UPC, Barcode, and QR Code

What is a UPC code? While a UPC and barcode are inherently connected, they are two different things. The UPC is the Universal Product Code, which is a unique identifier for every single product. The barcode is the machine-readable version of that same code. Those two features are then combined into one visual element so that people and machines can read them.

A QR code is a type of two-dimensional barcode, also known as a matrix barcode. Like UPC barcodes, the design contains patterns that represent certain information. However, this information is typically something larger than a product identifier.

These codes are designed to be scanned by a smartphone or some other device with a QR code reader. The scan would then direct users to different websites, videos, or other content that may interest them – QR codes can store up to 4296 characters in total. In short, UPC barcodes are designed to identify a product’s identity, while a QR code is a useful tool for branding and marketing purposes. Keep reading to learn how to make a barcode for a product label.

Product labels with UPC barcodes.

How to Get a UPC Code

The first step toward getting a 12-digit UPC barcode is to join GS1. GS1 is an international group that created UPCs to help standardize the way that vendors track products both online and in stores. The group has different divisions across the country, and GS1 U.S. covers the United States.

GS1 does charge membership fees based on the total number of unique product variations, but it’s a small price to pay for the ability to sell your products throughout the country. GS1 also provides a barcode estimator to help you identify how many UPCs you’ll need.

Once your company joins GS1, it will be assigned a company prefix. This prefix is a six to 10 digit that serves as the manufacturer identification number for all your products. You can then assign each unique product a global trade item number (GTIN). Then, you may license these GTINs from GS1 to allow retailers to identify the various products in your supply chain.

The exact number of digits you get for the item numbers depends on the length of your prefix. The prefix and item numbers must combine to be 11 characters, so a six-digit prefix would require a five-digit item number.

The final number of a UPC is called the check digit. The check digit is a single number that’s used as a redundancy check to check for any potential errors. You can use GS1’s check digit calculator to determine the right number to finish off your UPC. That should give you something like the UPC listed below.

A breakdown of UPC numbers and how to get a barcode.

How to Get a Barcode

Now that you have a UPC, it’s time to get a barcode that matches your 12-digit codes. Every barcode must match the UPC in question. The good news is that GS1 includes machine readable barcodes along with the UPCs you license from them. Members can use the GS1 U.S. Data Hub to create high-resolution artwork to include on their product labels.

How to Get a QR Code

Unlike UPC barcodes, getting QR codes for your business isn’t nearly as official of a process. In fact, anyone with access to the internet can make them.

The first step toward getting a QR code is to choose a QR code generator. There are a wide variety of options available, many of which include completely free QR codes. There are also more comprehensive generators that allow you to customize the look of QR codes and track performance. Others allow you to make dynamic QR codes that can be updated in real time. No matter your choice, some form of generator will allow you to create a scannable design.

Once you’ve chosen a generator, you can enter your information into the field it provides. For something like QR Code Generator, that’s as simple as copying and pasting a website, text, or something else into a field and having a QR code generated automatically. You can then download those files and add them to your product labels so that people can scan your QR code with a mobile device.

How to Prepare UPC Barcodes and QR Codes for Labels

Getting UPC barcodes and QR codes is the first step, making sure they work on your product labels is the next. A code won’t help at all if it doesn’t work. That’s why it’s important to take some steps to make sure your barcodes and QR codes are properly set up for your labels. Use these practices to improve your label’s barcodes and QR codes.

  • Use proper colors. Warm colors can lead to scanning issues. Stick with dark colors on light backgrounds to play it safe.
  • Keep a “quiet zone.” You need to have enough white space around the codes so that the scanner doesn’t try to read other elements. The quiet zone should be at least an eighth of an inch wide around all sides.
  • Maintain proper sizing. Bigger codes are easier to scan, especially for barcodes. A typical barcode measures 1.469 inches wide by 1.02 inches high.
  • Send barcodes and QR codes in the right files. The appropriate art files will help ensure your codes translate well to your labels. Make sure to deliver the image files you’ve received from the code providers, as well as an Excel document with a list of UPC numbers.

Make Sure Your Product Packaging is Ready for Success

Barcodes and QR codes aren’t the flashiest part of your labels, but it’s imperative that they work. Fortunately, a good printing company can work with you to ensure that your UPC, barcode, and QR code are set up for success.

From barcodes to label materials, there are several factors that go into a successful product label. Blue Label works with you to identify the best, most cost-effective label printing solution for your products. That includes not only testing out barcodes and QR codes to make sure they work, but also working with you to uncover ways to enhance and protect your label design to wow your customers.

Ready to invest in quality, eye-catching labels for your products? Contact us today to talk about your next label project.