How a barcode stores a number | Club Charlie

Different widths and positions encode digits in a pattern a scanner can read. An optical scanner detects the contrast between dark bars and light spaces. The encoded identifier points to product information held in another system. The stripes are usually an identifier, not a complete description of the product. A shop’s system connects that number with details such as its price. This separation explains how a price can change without changing the printed bars: the code stays the same while the linked information is updated.

The encoded identifier points to product information held in another system.