codigo-qr.es

§BARCODE / UPCA

UPC-A generator: the North American retail standard

UPC-A identifies products in US and Canadian supermarkets. 12 digits with a check digit the generator calculates as you type. If you sell in North America, this is your code. Pro plan.

  • UPCA standard
  • Live preview
  • Scans on any reader

UPCA is a Pro format

Create a free account and upgrade to Pro to generate this format and the other advanced ones (UPC-A, UPC-E, Code 39, ITF-14, GS1-128). Pro also includes unlimited dynamic QR codes, full analytics and a center logo.

  • All advanced formats
  • Unlimited dynamic QR codes
  • No watermark

§WHAT IS

What is UPC-A and where does it come from?

UPC-A (Universal Product Code, 12 digits) is the retail standard for the United States and Canada, published in 1973 by the Uniform Code Council. It is the first barcode format adopted at scale, predating EAN-13.

UPC-A came before EAN-13. In 1973 the American Uniform Code Council (later GS1 US) published the format to identify products in supermarkets. The first scan of a UPC-A at a register occurred on June 26, 1974 at a Marsh's Supermarket in Troy, Ohio, on a 10-pack of Wrigley's chewing gum. That pack is now in the Smithsonian. EAN-13 was designed later, in 1977, as an extension of UPC-A: prepend an invisible zero to a UPC-A and you have a valid EAN-13. This bidirectional compatibility ensures that any EAN-13 reader in Europe also reads UPC-A without configuration. So a US-manufactured product with UPC-A can be sold without relabeling in European supermarkets. The structure of a UPC-A is 12 digits in four blocks: 1 system number digit (0 generic products, 2 variable weight, 3 pharmaceuticals, 4 internal coupons, 5 general coupons, 6-9 standard physical products), 5 manufacturer digits assigned by GS1 US, 5 product digits the manufacturer chooses, and 1 check digit. GS1 US issues UPC-A to companies registered in their system. Initial fees start at 30 USD/year for entrepreneurs with a single SKU and rise to several thousand for large catalogs.

§WHEN TO USE

When to use UPC-A instead of EAN-13?

If your main market is the United States or Canada, GS1 US will assign you UPC-A directly. If you sell in Europe, use EAN-13. If you sell in both, EAN-13 works technically in the US but some retailers prefer native UPC-A.

The choice is not entirely yours: GS1 assigns the format based on your business registration country. A Spanish company selling in Europe registers EAN-13 prefixes with AECOC. A US company selling domestically registers UPC-A with GS1 US. If you sell in both markets from Spain, you can: - Register with AECOC and use EAN-13 for everything. American readers handle EAN-13 fine. This is the simplest option. - Also register with GS1 US to get native UPC-A prefixes. It costs a second annual fee but opens doors at large chains like Walmart, which in their internal systems treat EAN-13 and UPC-A equivalently but may require UPC-A in certain private-label programs. UPC-A is the native option when: - You distribute in supermarkets or drugstores in the US and Canada. - Your main market is North America and you only export marginally to other regions. - You sell on Amazon US and want a GTIN consistent with the fiscal region. - You work with chains that demand UPC-A in supplier programs. You don't need UPC-A if you sell only through your own website without organized retail, if your product goes only to B2B outside the supermarket channel, or if you only distribute in European markets.

§SPECS

UPC-A technical specifications

Length

11-12

Characters

Digits only

Example

036000291452

Check digit

No

UPC-A is standardized by ISO/IEC 15420 (shared with EAN-13). Key data: - Length: exactly 12 digits (1 system number, 5 manufacturer, 5 product, 1 control). - Character set: digits 0-9 only. - Check digit: modulo 10 with alternating weights 3 and 1, calculated automatically over the first 11 digits. - Nominal dimensions: 37.29 mm × 25.93 mm at 100% (X factor = 0.33 mm). GS1 US accepts scaling between 80% and 200%. - Quiet zone: 9X left (2.97 mm) and 9X right (2.97 mm). - Density: 12 digits in approximately 26-30 mm of useful width. - Damage tolerance: none. Like EAN-13, no error correction. - Bidirectional compatibility with EAN-13. Any reader after 1980 processes both without configuration.

§COMPARISON

How does UPC-A differ from EAN-13 and UPC-E?

UPC-A and EAN-13 are technically the same format with one digit of difference. UPC-E is the compressed UPC-A version for small packaging, the American equivalent of EAN-8.

UPC-A vs EAN-13: same physical dimensions, same ISO standard, same check digit calculation. UPC-A has 12 digits, EAN-13 has 13. Internally, readers convert UPC-A to EAN-13 by adding a virtual zero at the start. UPC-A vs UPC-E: UPC-E is the compressed UPC-A version for small packaging. UPC-E shows 8 visible digits that the reader expands automatically to 12-digit internal UPC-A. Not all UPC-A codes admit compression to UPC-E: it requires that certain digits follow specific patterns defined by GS1 US. UPC-A vs GS1-128 in the US: GS1-128 carries structured data (batch, expiration, variable weight) on top of the GTIN. For unit product in US supermarkets, UPC-A. For master cartons, pallets and pharmaceutical traceability, GS1-128 or ITF-14.

§FAQ

Frequently asked questions about UPCA

  • Q.01

    Can I import products to the US with EAN-13?

    Yes. American POS laser readers handle EAN-13 fine since the late 80s. The real question is administrative: your retailer may prefer native UPC-A in their internal systems, especially in private-label programs.

  • Q.02

    How much does it cost to register with GS1 US?

    GS1 US bills annual membership tiered by volume: 30 USD/year for a single GTIN for entrepreneurs, 250 USD/year for up to 10 GTINs, 750 USD/year for up to 100, scaling to several thousand for large catalogs. Initial enrollment pays the first fee plus an initialization fee of about 30 USD.

  • Q.03

    Does UPC-A work with GTIN-14 for master cartons?

    Not directly. GTIN-14 (master cartons with multiple products inside) uses ITF-14 format, not UPC-A. The master carton carries ITF-14, the unit products inside carry UPC-A. If you need to encode the carton with extra data (batch, expiration), GS1-128 replaces or accompanies ITF-14.

  • Q.04

    What happens if the check digit doesn't match when I enter it?

    It means you copied the code wrong. This generator calculates digit 12 when you enter the first 11, and validates the 12 if you enter the full code. If the validator rejects your code, try entering only the first 11 digits and let it calculate the correct 12th.

  • Q.05

    Does UPC-A work with the same devices as EAN-13?

    Yes. Laser readers, 2D image readers and professional mobile apps (Scandit, Cognex, Zebra DataWedge) handle UPC-A and EAN-13 without additional configuration. Bidirectional compatibility since 1977 makes any modern hardware treat them as a single format.

Ready to create your UPCA code

Unlock this format by upgrading to Pro. Cancel any time from your dashboard.

Upgrade to Pro