Skip to content

UPC-A Barcode Generator – The North American Retail Standard

What Is a UPC-A Barcode?

UPC-A (Universal Product Code, Version A) is the original barcode symbology that launched the barcode revolution in 1974 when a pack of Wrigley’s Juicy Fruit chewing gum became the first product scanned at a retail checkout. Today, UPC-A remains the dominant barcode format in the United States and Canada, appearing on virtually every consumer product sold in North American stores.

A UPC-A barcode encodes a 12-digit number – 11 data digits plus one check digit – into a pattern of 30 black bars and 29 white spaces. The first digit is the number system character, which classifies the product type (e.g., 0 for general merchandise, 2 for variable-weight items, 3 for pharmaceuticals).

UPC-A is technically a subset of EAN-13: any UPC-A code can be expressed as a 13-digit EAN by adding a leading zero. This compatibility means that modern scanners worldwide can read both formats interchangeably.

Technical Specifications

Property Detail
Digits 12 (1 system + 5 manufacturer + 5 product + 1 check)
Character set Numeric only (0–9)
Check digit algorithm Modulo 10 (alternating weights 3 and 1)
Symbology type Linear (1D), continuous, fixed-length
Module width 0.33 mm at nominal size (100% magnification)
Nominal size 37.29 mm × 25.91 mm (including quiet zones)
Number system digits 0 = general, 1 = reserved, 2 = variable weight, 3 = pharma, 4 = in-store, 5 = coupons

UPC-A uses two encoding tables (odd and even parity) for the left-hand digits, while right-hand digits always use even parity. This asymmetric encoding allows scanners to read the barcode in both directions – right-side-up or upside-down.

Common Use Cases for UPC-A

  • Grocery and retail: Every product on US and Canadian store shelves – from cereal boxes to shampoo bottles – carries a UPC-A barcode for checkout scanning.
  • Amazon and online marketplaces: UPC codes are required for listing products on Amazon, eBay and other major platforms in the US market.
  • Warehouse and inventory: UPC-A barcodes drive automated sorting systems and inventory tracking in distribution centres.
  • Pharmaceutical products: Number system digit 3 identifies National Drug Code (NDC) packages in the US healthcare supply chain.

How to Create a UPC-A Barcode

  1. 1. Open the Barcode Generator and select UPC-A.
  2. 2. Enter your 11-digit UPC number (the check digit is appended automatically) or all 12 digits.
  3. 3. Set bar height, magnification and quiet zone width to comply with GS1 specifications for your package size.
  4. 4. Download the barcode and verify it with a scanner before sending artwork to print.

Everything runs client-side in your browser – your data stays private, and there is no registration or usage limit.

Tips for UPC-A Compliance

  • Obtain a GS1 Company Prefix: To sell in retail, you must purchase a company prefix from GS1 US. This prefix forms the first 6–10 digits of your UPC and uniquely identifies your company.
  • Quiet zones are mandatory: Maintain at least 9 modules of white space on each side of the barcode. Without them, scanners may fail to decode.
  • Dark bars on light background: UPC-A requires a minimum 80% print contrast signal (PCS). Black bars on a white background is safest; avoid red or yellow backgrounds.

Related Topics

Create Your UPC-A Barcode Now

Create your UPC-A barcode now – free, no sign-up required.

→ Go to Barcode Generator