EAN / UPCLinear (1D)Introduced 1973

UPC-A

The original 12-digit retail barcode of the United States and Canada, and direct ancestor of EAN-13.

UPC-A Specification

Character setDigits 0-9 only
Data lengthExactly 12 digits (11 data + 1 check)
Check digitMandatory Mod 10 check digit
Density95 modules total; 12 digits fixed capacity
Module width (X-dimension)Nominal 0.33 mm X at 100% magnification
Print ratioVariable-width bars and spaces
Magnification80%-200% of nominal
Quiet zone9X on each side
StandardGS1 General Specifications; symbology basis ISO/IEC 15420
OriginGeorge Laurer, IBM (for the Uniform Product Code Council), 1973
Sample data123456789012

Try It: Generate a UPC-A Barcode

This live generator is preconfigured for UPC-A. Adjust size, colors, and text — then download as PNG or SVG. Free, no signup, all encoding happens in your browser.

Open the full UPC-A generator →

What Is UPC-A?

UPC-A (Universal Product Code, version A) is the 12-digit retail symbology introduced by the US grocery industry in 1973 and scanned at retail ever since. The number comprises a leading digit indicating the packaging type or numbering system, a company prefix and item reference, and a Mod 10 check digit. The symbol spans 95 modules — identical in geometry to EAN-13 — and every UPC-A can be represented as an EAN-13 by prepending a zero.

Historically UPC-A drove the first mass adoption of barcode scanning (the famous first scan: a pack of Wrigley chewing gum in 1974). Today GS1 treats UPC-A data as a GTIN-12 within the same global numbering system as EAN, so the two symbologies and their databases are fully interoperable.

Common Applications

  • Retail point-of-sale scanning in the US and Canada
  • GTIN-12 product identification in GS1 databases
  • North American grocery, drug, and mass-merchandise supply chains

UPC-A FAQ

What is the difference between UPC-A and EAN-13?

Only the number length and region of original assignment. UPC-A holds 12 digits and was issued by GS1 US; EAN-13 holds 13 digits and was issued elsewhere. A UPC-A with a leading 0 added is a valid EAN-13 — the bar patterns for such a pair are the same symbol. Choose UPC-A for legacy US systems, EAN-13 elsewhere.

What does the first digit of a UPC-A mean?

It is the numbering system digit: 0 and 7 are regular UPCs (now regular GS1 numbers), 2 identifies random-weight items priced at the store, 3 marks pharmaceutical National Drug Codes, 4 is for in-store use, and 5 is used with coupons. The vast majority of product UPCs start with 0, 7, or another GS1-assigned prefix.