CPG Terms Explained, a series by Cyril Ovely
A barcode is a machine readable visual representation of data. The pattern of bars encodes a number that identifies a product, and when it is scanned, the system uses that number to look the product up. The barcode is the symbol. The number underneath it is the data.
A barcode is not a database. It is a pointer. The pattern of bars encodes a string of digits, the scanner reads those digits, and the system uses them to find a record: the product description, the price, the stock level. Nothing about the product lives inside the barcode except its number.
On a CPG product, that number is almost always a GTIN, the global product identifier managed by GS1. In the US and Canada it is usually the 12 digit UPC form. Everywhere else it is usually the 13 digit EAN form. Both are flavors of the same numbering system, and both get printed as the same kind of black and white symbol.
That split between the number and the symbol is the single most important idea in product identification. It explains why the same pack carries several codes, why a barcode alone cannot tell you a price, and why retailers ask for numbers and artwork separately. This article covers the symbol side. The number side, UPC, EAN, and GTIN, gets its own treatment.
The barcode took 26 years to travel from a hallway conversation to a supermarket checkout.
The classic barcode is one dimensional: a sequence of dark bars and light spaces of different widths, read in one direction.
Scanning is a reflectance trick. Dark bars absorb light and light spaces reflect it, so a sweep across the symbol produces a timing pattern of reflections.
Once decoded, the number is validated and passed to the system, which looks up the product record. The price is set in the store's system, not in the barcode. That is why the same pack can cost different amounts at different stores, and why a price change does not require new packaging.
One dimensional codes are simple and cheap to print, but they hold only a handful of characters and need a database behind them. Two dimensional codes store data in both directions.
In CPG, 1D codes still own the physical supply chain, retail units, cases, and pallets, while 2D codes grow in serialization, traceability, and consumer engagement.
The symbol and the payload are separate choices. These are the combinations that matter in consumer goods:
| Format | What it encodes | Where you see it |
|---|---|---|
| UPC-A | GTIN-12 | Retail units in the US and Canada |
| UPC-E | GTIN-12, compressed | Small packs in the US and Canada |
| EAN-13 | GTIN-13 | Retail units everywhere else |
| EAN-8 | GTIN-8 | Very small packs |
| ITF-14 | GTIN-14 | Case and carton level codes for warehouses |
| GS1-128 | GTIN plus batch, lot, expiry, and serial data | Logistics, healthcare, fresh food |
| Code 39 | Alphanumeric text | Industrial and military labeling, internal asset tags |
| Code 128 | High density alphanumeric text | Internal SKU labels, shipping labels |
| Data Matrix | Serial numbers, small payloads | Electronics, pharma, tiny components |
| QR Code | URLs, text, structured data | Marketing, campaigns, payments |
Two things to notice. First, only some of these are global standards. UPC, EAN, ITF-14, and GS1-128 follow GS1 rules and work in every supply chain. Code 39, Code 128, and QR carry whatever the printing company chooses, including internal SKU codes that mean nothing outside that company. Second, the same underlying number can travel in different symbols: a GTIN-14 appears as ITF-14 on the case, and the same GTIN family appears as EAN-13 on the unit. Format follows the job, not the product.
The barcode's job is to turn physical movement into data without typing. Every scan along the route to market is a data entry point:
Each scan removes a manual entry and its errors. The more touchpoints that scan, the more accurate the picture of what is where, and code quality, print, placement, quiet zones, decides whether that chain holds together or breaks at the weakest label.
"The barcode contains the price." It contains a number. The system looks up the price. That lookup is why prices can change without new labels and differ between stores.
"The barcode is the product number." The bars are the symbol, and the digits printed below are the number. They carry the same data in two forms. When people say "send us your barcodes," they usually mean the numbers.
"Any camera can read any barcode." Symbologies matter. A laser scanner cannot read a QR code, and a phone app only reads the symbologies it supports. Field apps need to match the codes they will meet in the market.
"All barcodes are global standards." UPC and EAN follow GS1 rules and are unique worldwide. Internal codes in Code 39 or Code 128 are private to the company that prints them, and two companies can print the same internal code for different products without collision.
A barcode is a machine readable picture of a number, and the number is what does the work. The symbol captured a pack of gum in an Ohio supermarket in June 1974, and the same basic idea now moves products from factory to shelf billions of times a day.
The next question is what those numbers mean, where they come from, and who assigns them. That is the world of GTIN, UPC, and EAN, and it has more structure than most people expect. For a quick overview, see What Is a UPC / GTIN?
Lighthouse connects distribution, execution, trade, and supply into one system your commercial teams act on at the store and SKU level.
Request a demo