TTadnaThe knowledge behind every product
English
EspañolES EnglishEN FrançaisFR ItalianoIT DeutschDE PortuguêsPT
Standard

UPC (Universal Product Code): what it is, how it works and what it does

The UPC (Universal Product Code) is a 12-digit numeric code that uniquely identifies a consumer product in commercial contexts. It is used in e-commerce catalogs, point-of-sale systems, and supply chains to track items unambiguously.

Evidence-backed content 3 sources 27/08/2026

The UPC (Universal Product Code) is a product identification standard that assigns each consumer item a unique 12-digit numeric code. Its primary purpose is to enable unambiguous product identification at points of sale, online catalogs, and logistics systems.

Structure and principles

A UPC code consists of 12 numeric characters. The leading digits correspond to a country or region prefix assigned by GS1 (the organization that manages global product identifiers). For instance, the prefix 840 is allocated to Spain. The following digits identify the manufacturer or brand, and the subsequent digits identify the specific product within that manufacturer's catalog. The final digit is a check digit calculated arithmetically to detect reading errors.

Applications

  • E-commerce: platforms such as Amazon.es include a UPC field in product listings to link the item to a global identifier. The codes 840353960640, 840353950092, and 840353950030 are examples of UPCs registered in Amazon.es listings, all carrying the Spanish prefix 840.
  • Point of sale: barcode scanning at checkout to speed up billing.
  • Inventory management: stock traceability in warehouses and distribution chains.

Scope

UPC is the predominant system in North America and has expanded to other markets. In Europe and Latin America it coexists with the GTIN-13 (EAN code), which adds one extra digit. A 12-digit UPC can be represented as a GTIN-13 by prepending a zero.

Limitations

  • It identifies the product type, not the individual unit: two identical units share the same UPC.
  • It does not encode batch, expiry date, or manufacturing origin information.
  • Assignment requires registration and a fee to the relevant GS1 entity.

Interpreting its presence on a product

When a product displays a field labeled UPC containing a 12-digit number, it is the product's global commercial identifier. If the prefix matches the country of sale (e.g., 840 for Spain), it confirms the code was assigned by the local GS1 body. The presence of this field in an online catalog indicates the seller has registered the product in a standardized identification system, facilitating search, price comparison, and inventory-system integration.

The three codes documented in Amazon.es listings (840353960640, 840353950092, 840353950030) share the prefix 840 and the manufacturer segment 3539, suggesting they belong to the same company or brand with different items in its catalog.