Why the Barcode Does Not Know the Price

The familiar stripes usually contain an identifier, not a price. The checkout turns that identifier into a product, a local price, a tax rule, a promotion and a stock movement by asking other systems.

015
FIELD NOTES
OAT BISCUITS
240 g
9 556001 212344
At the checkout

The beep is a lookup.

Run the scan. Watch one number move through the system before a price appears.

WAITINGNo price in the stripesThe printed symbol is ready to yield a Global Trade Item Number.

A packet passes the scanner. Red light crosses black bars. The till beeps and a price appears almost at once. The sequence is so smooth that it seems obvious: the scanner must have read the price from the packet.

Usually, it did not. A conventional retail EAN or UPC barcode carries a standardised product identifier. The scanner decodes that number and sends it to the point-of-sale system. The retailer’s own records supply the description and price. More systems may then decide which promotion applies, how tax is calculated, whether a loyalty offer is valid and how inventory should change.

The barcode is a key. The price is one of the answers found behind the key.
The short answer · Figure 1

One scan crosses five different layers

The visible mark is only the beginning of the transaction.

SymbolTurns printed contrast into machine-readable data.
IdentifierNames the trade item consistently.
CatalogueMaps the number to product records.
RulesApply price, tax and promotion logic.
TransactionRecords the sale and stock event.

The bars are an alphabet, not a tiny picture

A one-dimensional barcode represents information by the widths and sequence of dark bars and light spaces. In an EAN-13 symbol, thirteen decimal digits are represented through a carefully defined pattern. Special start, centre and end guards help a decoder find its place. Blank “quiet zones” at the sides keep neighbouring graphics from being mistaken for part of the symbol.

The scanner is not recognising the product’s shape, logo or packaging. It is measuring transitions between light and dark. A laser scanner sweeps a line and senses reflected light; an imaging scanner photographs an area and decodes it in software. Either way, the physical symbol is a data carrier. ISO/IEC 15420:2025 specifies the current EAN/UPC symbology; GS1’s General Specifications govern how the resulting identifiers and symbols are used.

Encoding lab · Figure 2

Digits become modules

Select a pattern. Black and white modules form a symbol that a decoder can distinguish in either scanning direction.

101 · START GUARD
Find the edge

The start and end guard pattern tells the decoder where the structured symbol begins and ends. It is not a product digit.

Illustrative module patterns. Exact encodation, parity and dimensions are defined by the EAN/UPC symbology standard.

The number names a trade item

The most important thing yielded by the scan is normally a Global Trade Item Number, or GTIN. GS1 defines a trade item as something that may be priced, ordered or invoiced in a supply chain. Different GTIN structures can be carried in different symbols, but retail EAN-13 commonly displays thirteen digits.

The number is deliberately less meaningful than people expect. It is not a miniature product description. A portion is associated with a GS1 prefix and licensed company prefix; another portion is assigned as the item reference; the final digit checks the number’s integrity. Databases, not the digits themselves, hold attributes such as flavour, package size and brand.

Identifier anatomy · Figure 3

Read what the number can—and cannot—say

Explore an illustrative GTIN-13 beginning with a prefix administered by GS1 Malaysia.

Important: 955 does not prove that the product was made in Malaysia. GS1 states that prefixes do not identify country of origin; the licensed company may manufacture anywhere.

A check digit catches mistakes, not fraud

The last digit is calculated from all the digits before it. Starting at the right, alternating weights of three and one are applied. The check digit is the amount needed to bring the total up to a multiple of ten. A mistyped number will often fail this test before the system attempts a lookup.

That is useful, but limited. A mathematically valid number is not automatically authorised, genuine or correctly assigned. The algorithm tests internal consistency. It does not inspect the product, confirm the brand or prove that the barcode was not copied.

Check-digit workshop · Figure 4

Make the thirteenth digit

Enter the first twelve digits of a GTIN-13. The calculator applies the GS1 modulo-10 method locally in your browser.

Digits only. Try changing one and see the result recalculate.

CHECK DIGIT4Weighted sum 76; add 4 to reach 80.

What actually happens after the light crosses the bars

The scanner first decodes a symbol and validates its structure. It then passes the identifier to the point-of-sale application. The application queries a product or price file—sometimes local to the store, sometimes provided by central services. A match returns data such as the item description, selling price and tax category. Transaction rules then modify that starting point.

The beep is best understood as an acknowledgement that the system captured something. It is not, by itself, proof that the database found the correct record. A checkout can still show “item not found”, use a stale price file or require an operator to resolve an exception.

Lookup path · Figure 5

Follow the number to the receipt

Advance through the simplified chain. Each step hands responsibility to another layer.

01CaptureMeasure bar and space transitions.
02DecodeRecover digits and validate the symbol.
03QuerySend the GTIN to the retailer’s catalogue.
04Apply rulesPrice, promotion, tax and eligibility.
05RecordAdd a line, payment total and stock event.

One barcode can produce many prices

Because the selling price normally lives in the retailer’s system, identical packets can have the same GTIN in Kuala Lumpur, London or Sydney and still be sold at different prices. Two branches of the same chain can differ. The same branch can change a price overnight, run a weekend promotion or offer a loyalty price without the manufacturer printing a new barcode.

This separation is the system’s strength. Manufacturers can print packaging at scale while retailers respond to local costs, competition, stock levels and commercial decisions. It also explains why a price printed directly as part of the package is a special case. GS1’s GTIN management rules say a change to pre-printed “price on pack” requires a new GTIN, partly because the physical promise and the retailer’s system can otherwise conflict.

Price resolver · Figure 6

Same GTIN. Different answer.

Choose a store record for the same illustrative tin of tomatoes.

RIVER & FIELDWhole tomatoes
400 g
GTIN 09556001212344
The retailer’s current central-branch price file returns RM 5.40. Nothing on the package changed.

Illustrative prices only. No real retailer or product is represented.

The receipt is assembled from rules

A found price may only be the first candidate. The transaction engine can examine quantity, time, store, customer status, coupons and relationships with other items in the basket. Tax may depend on a product classification and jurisdiction. A deposit, environmental fee or age check may be triggered. The identifier anchors these rules to a product record, but the rules remain elsewhere.

This is why a shelf label, mobile app and checkout can occasionally disagree. They may have been updated on different schedules, queried different services or evaluated different eligibility. The barcode has not changed its mind. The systems around it are out of alignment.

Rule engine · Figure 7

Build the line on the receipt

Toggle the member offer. The identifier stays constant while transaction context changes the amount.

Catalogue matchOat biscuits · 240 g
Base store priceRM 8.20
Member ruleNot applied
Tax classificationIllustrative: included

UNDERSTRUCTURES MARKET

OAT BISCUITSRM 8.20
TOTALRM 8.20
GTIN9556001212344

A sale is also an inventory claim

Point-of-sale systems commonly send the transaction into stock records: one unit sold, therefore one fewer unit expected on the shelf or in the store. Replenishment and forecasting systems can use the same identifier to aggregate demand and order more.

But the count is a model of reality, not reality itself. Theft, breakage, receiving errors, unrecorded waste and customers moving products can make the “book stock” differ from the physical shelf. A perfect barcode can produce a precise record of the wrong world if earlier events were missed.

Inventory ledger · Figure 8

Every event changes the expected stock

Record a sale, a delivery or unrecorded damage. Only some events reach the system automatically.

BOOK STOCK18
Latest events
  1. Opening count: 18 units

Physical and book stock both begin at 18.

The important exception: some labels do carry measure or price

“A barcode does not contain the price” is a useful rule, not a universal law. Variable-measure goods—produce, meat, cheese or prepared food weighed in a store—need the checkout to know the specific pack’s weight or amount. Depending on the jurisdiction and implementation, an in-store label may encode a restricted-circulation number together with weight, count or calculated price. Newer GS1 DataBar and 2D approaches can carry structured attributes.

The distinction is between a fixed product class and a variable instance. Every identical factory-sealed packet can share a GTIN and obtain a current price per pack from the database. A tray cut to 0.438 kilograms needs instance-specific information so the till charges for 0.438 kilograms rather than an average tray.

Variable measure · Figure 9

Let the scale make the label

Change the weight. The store’s price per kilogram produces a pack-specific total.

0.438 kg
RM 48.00 / kgRM 21.02

MARKET DELI · MATURE CHEDDAR

Net weight
0.438 kg
Unit price
RM 48.00/kg
Total price
RM 21.02
Packed
06 AUG 2026

Illustrative in-store label. Encoding rules and permitted data structures vary by market and application.

When does a changed product need a new number?

A GTIN is meant to keep trade partners from confusing materially different trade items. GS1’s management standard sets principles for deciding when a change requires a new identifier. A new flavour or a declared quantity change typically needs a new GTIN. A minor artwork refresh that does not affect trade usually does not. A price temporarily changed in a retailer’s database does not.

The decision matters far beyond checkout. The same identifier may link purchase orders, warehouse records, product catalogues, recall notices, analytics and online listings. Reusing one number for meaningfully different products can join records that should stay separate. Changing numbers needlessly can split history that should stay continuous.

Identity decisions · Figure 10

Same item or a new trade item?

Choose a change to see the usual identification consequence. Local regulation can impose additional requirements.

RETAILER RULE

Keep the same GTIN

The retailer changes its local selling price. The trade item’s identity and packaging are unchanged.

The database changes; the barcode does not.

Why two-dimensional codes are arriving at checkout

The classic linear symbol is extremely effective at carrying a compact identifier. It was designed for a world in which the database did most of the remembering. Retail now wants more context at the moment of scan: batch or lot, expiry date, serial number, recall status, web content, recycling instructions and traceability.

Two-dimensional symbols such as GS1 DataMatrix and QR Codes using GS1 Digital Link can carry more data in a smaller area and can connect identifiers to online resources. This does not mean every fact must be frozen inside the code. A Digital Link URI can act as a durable gateway while the linked content changes.

The next carrier · Figure 11

From one key to a richer doorway

Compare what a conventional linear retail symbol usually supplies with an illustrative 2D payload.

Fast, compact identification
GTIN
→ retailer looks up product and price
Identification plus context
GTIN · batch · expiry · serial
→ optional links to current online information
Ambition 2027: GS1’s initial global goal is for retail point-of-sale systems to be capable of reading and processing the GTIN from both existing linear and GS1-compliant 2D barcodes by the end of 2027. It is a capability goal, not a promise that every linear barcode disappears on that date.

The transition is a systems project, not a printing project

Adding a square code to a package is the easy visible step. Stores need imaging hardware or compatible scanners, updated decoding software, point-of-sale rules that can understand the syntax, and safeguards against charging twice when both linear and 2D symbols are present. GS1’s current implementation guideline says a system should identify, decode, acknowledge once and transmit one GTIN.

Data quality becomes more important as capacity grows. Encoding an expiry date is useful only if the date is correct and systems know what action to take. A checkout could block expired stock, a warehouse could rotate inventory, and a recall system could target one batch—but only if the shared identifiers, application rules and master data agree.

Failure desk · Figure 12

When the barcode “doesn’t work”

The visible symptom can originate at several different layers.

The scanner cannot reliably recover the symbol. Reprinting or entering the human-readable digits may help; changing the price database will not repair damaged bars.

A small mark coordinates a large institution

The barcode’s power does not come from storing everything. It comes from disciplined restraint. A globally managed identifier lets many independent organisations refer to the same trade item without putting every description, price and business rule on the package. The physical carrier, global numbering rules, company records, retailer systems and checkout logic divide the work.

This design also divides authority. GS1 standards define identification and data-carrier rules. The brand owner or identifier licensee assigns numbers within its capacity and maintains product data. Retailers control local selling prices and promotions. Regulators govern labelling, tax and consumer-protection obligations. Technology providers build scanners and applications that must interpret the standards consistently.

Knowledge check · Figure 13

Can you see behind the beep?

Five statements about identifiers, prices and next-generation barcodes.

Choose an answer.

The bottom line

A conventional retail barcode is not a tiny price tag. It is a standardised route from a physical object to information held elsewhere. The scanner recovers an identifier. The retailer resolves it. A rule engine assembles the amount. The transaction updates other records.

That separation allows one package to travel through different stores, currencies, tax systems and promotions without changing its identity. The price can move while the bars remain still.

The scanner reads the number. The system decides what the number means here, now.

Sources and further reading

Standards, version information and the retail 2D transition were checked on 6 August 2026. Examples in the interactive figures are illustrative unless a source is explicitly named.

Reading list · Figure 14

Follow the identifier through the system

Current standards, identification rules, check digits, GTIN changes and the transition to 2D retail barcodes.

GS1 General Specifications, version 26.0The foundational January 2026 standard for GS1 identifiers, data attributes and data carriers.GS1 ↗ ISO/IEC 15420:2025 — EAN/UPC SymbologyThe current international specification for encodation, dimensions, tolerances and decoding requirements.ISO ↗ Global Trade Item NumberHow a GTIN uniquely identifies trade items across supply chains.GS1 ↗ How GS1 Standards WorkThe Identify, Capture and Share model connecting real-world entities to information systems.GS1 ↗ Check Digit CalculatorThe modulo-10 integrity digit used by fixed-length numeric GS1 identification keys.GS1 ↗ GS1 Company PrefixesOfficial prefix list and the warning that prefixes do not identify a product’s country of origin.GS1 ↗ GTIN Management StandardPrinciples and scenarios for deciding when a changed trade item needs a new identifier.GS1 ↗ Price on PackWhy adding, changing or removing a price printed in package graphics requires a new GTIN.GS1 ↗ 2D Barcodes at Retail Point-of-Sale Implementation GuidelineRelease 1.1.0, including dual marking, scanning modes and the end-2027 capability ambition.GS1 ↗ GS1 Digital LinkHow GS1 identifiers become structured web addresses and gateways to updateable online information.GS1 ↗ 50 Years of GS1The 1973 agreement on a standard and the first commercial product scan on 26 June 1974.GS1 ↗ GS1 Global Traceability StandardThe distinction between product-class identification, batches and serialised individual instances.GS1 ↗
Explainer 015 · Science & Technology← All explainers