At checkout, a scanner does not recognize a product by its shape or read its price from the barcode. It detects a pattern of dark bars and light spaces, decodes that pattern into characters, and sends the resulting identifier to a computer system. For common retail barcodes, that identifier is usually a Global Trade Item Number (GTIN). The price and product description typically come from a retailer’s database, not from the bars themselves. (support.gs1.org)
A laser scanner reads a barcode by sweeping light across it and measuring how much light returns: dark bars reflect less than pale spaces. A camera-based scanner captures an image and analyzes the pattern. In either case, software looks for a recognizable barcode format and interprets the widths and sequence of its bars and spaces. Retail formats such as UPC-A and EAN-13 use standardized patterns, including guard marks that help identify the symbol’s boundaries and divide its sections. GS1’s specifications describe these formats as sequences of modules, with digit patterns built from bars and spaces of defined widths. (ref.gs1.org)
The scanner then converts the measured pattern into digits. It also checks whether the result is plausible for that barcode type. For UPC and EAN symbols, a final check digit is calculated from the preceding digits; the scanner can compare the calculated value with the encoded one to catch many reading errors. Passing this check confirms the number’s structure, though it does not prove that the product is genuine or that its database record is correct. (ref.gs1.org)
After decoding, the scanner sends the number to the point-of-sale system, often as if it had been typed. The software uses that identifier to retrieve the matching product record, which can include a description and current price. A GTIN identifies a trade item; the digits do not, on their own, reveal a plain-language product name or its price. A lookup service or retailer’s database supplies that context. (support.gs1.org)
Not every barcode carries only a product identifier. Some GS1 formats can encode additional details, such as a batch number or expiry date, alongside a GTIN. In those cases, the scanner must identify the barcode type and parse its data according to the format’s rules. That is why a scanner’s job is more than counting stripes: it recognizes a symbol, decodes its data, and hands that data to software that knows what it means. (support.gs1.org)
Research Sources
- How do GS1 GTINs™ and barcodes work? : GS1 GO Customer Service Portal
- GS1 General Specifications
- GS1 General Specifications
- Which barcodes are used to represent GTINs? : GS1 GO Customer Service Portal
Prepared by Mokwe Desk using MPI. Sources require editorial review.
