GlossaryTechnology

Barcode

Term 6 of 30 · Technology

In one sentence

A barcode is a visual representation of data in bars and spaces that a scanner reads to identify a product or unit. It encodes a number (such as a GTIN) and speeds up data capture in logistics, retail and traceability.

Definition

A barcode is a graphic representation of data, made up of bars and spaces of varying widths, that an optical reader interprets to identify a product, a case or a pallet quickly and without errors. What the code actually "stores" is a number (for example a GTIN in retail or an SSCC on a logistics unit); that number is the key that links the physical object to its digital record in a system.

Its value is not in the label itself but in the fact that it eliminates manual data entry: instead of typing a twelve-digit code, an operator scans it in under a second with very low error rates. That is why the barcode is the operational foundation of traceability in warehouses, transportation and points of sale, and it is the data point a platform like Trazzo captures every time a unit is moved, received or delivered.

There are two main families: linear or 1D barcodes (the classic store-shelf code, such as EAN-13 or Code 128) and two-dimensional or 2D barcodes (QR and DataMatrix), which store much more information in less space.

A barcode works as a bridge between the physical and digital worlds. Depending on the symbology (the "grammar" of the code), each bar and each space represents a combination of numbers or characters. A scanner emits light, measures how it reflects off the dark bars and light spaces, and translates that pattern into a string of data. That string is almost never the product description: it is an identifier the system uses to look up the full record (price, lot, expiration date, location) in its database. Understanding this is key: a barcode does not "contain" the product, it references it.

How it is structured and who sets the rules

Most commercial barcodes follow the standards of GS1, the organization that manages the numbering system used in more than one hundred countries. GS1 assigns each company a prefix, and the company uses it to build its GTINs (the number that identifies each item for sale). In the supply chain, logistics unit codes such as the SSCC are also used; they identify a specific case or pallet, not a type of product. This separation enables aggregation: knowing which individual units travel inside which case, and which cases sit on which pallet.

1D vs 2D: how they differ

The most common question is when to use each format. This comparison sums it up:

Aspect1D (linear) barcode2D barcode (QR, DataMatrix)
Data capacityLow (up to ~20 to 30 characters)High (hundreds to thousands of characters)
ReadingLaser scanner, one directionCamera, any angle
Physical sizeNeeds more spaceVery compact
Damage toleranceLowHigh (error correction)
Typical useStore shelves, receiving, pickingPharmaceutical traceability, assets, lot/expiration in a small space

In practice, 1D still dominates retail because it is cheap, universal and fast to read at checkout. 2D is growing in regulated traceability (pharmaceuticals, food) because a square just a few millimeters wide can hold the GTIN, lot and expiration date together, something a linear code cannot do.

Why it matters to the business

Without barcodes, every movement of goods depends on people reading and typing. That leads to inventory errors, receiving delays and gaps between system stock and actual stock. With well-implemented barcodes, a company achieves:

  • Faster receiving of goods, by scanning packages instead of checking lists by hand.
  • Reliable inventory, the basis for avoiding a stockout or excess tied-up inventory.
  • Picking with fewer errors, because the operator validates the item by scanning instead of trusting their eyes.
  • Real traceability: the ability to reconstruct where a lot has been, which is essential in a recall.

A concrete example in Argentina

Consider a consumer goods distributor in Greater Buenos Aires. Without scanning, each order is checked by eye, and picking errors only surface when the customer complains. By printing an SSCC label on every case and scanning it at dispatch, the system automatically confirms that the right case went onto the right truck, and it logs the event with a date and time. If a lot later has to be pulled for a quality issue, the company identifies within minutes which customers received it, instead of spending days going through paper delivery notes.

Common implementation mistakes

  • Printing the code poorly (low resolution, weak contrast, non-standard size): the reader cannot read it and the team falls back to manual typing.
  • Confusing the product GTIN with the case SSCC: each identifies different things, and mixing them up breaks traceability.
  • Not leaving the "quiet zone" (the blank margin around the code): without that space, many scanners fail.
  • Assuming the code "holds" all the data: if the database is not properly populated, the scan returns incomplete or wrong information.

In short, the barcode is one of those invisible technologies that hold up all of modern logistics and retail. It looks simple, but its real power shows up when it is integrated into a system that turns every scan into reliable, searchable data.

Share
Frequently asked questions

FAQs about Barcode

What is a barcode?

A barcode is a visual representation of data, made up of bars and spaces of varying widths, that an optical reader interprets to identify a product, a case or a pallet quickly and accurately. What it encodes is usually an identifier number (such as a GTIN), which the system uses to look up the item's full record in its database. Its big advantage is that it eliminates manual data entry: a scan that takes less than a second replaces typing and reduces errors to nearly zero.

What is the difference between a 1D and a 2D barcode?

A 1D or linear barcode is the classic store-shelf code (such as EAN-13 or Code 128): it holds little information, is read by a laser scanner in a single direction and is ideal for identifying products at checkout. A 2D code (such as QR or DataMatrix) stores much more information in far less space, is read by a camera from any angle and tolerates partial damage better thanks to error correction. That is why 2D codes are increasingly used in regulated traceability, where the GTIN, lot and expiration date need to fit together in a few millimeters.

What information does a barcode actually contain?

In general, a barcode does not contain the product description but an identifier number, such as the GTIN in retail or the SSCC on a logistics unit. That number acts as a key: the system reads it and looks up the associated record in its database, with price, lot, expiration date, location and more. 2D codes can hold several data points at once (for example lot and expiration date), but even then the real value appears when the code is connected to a system that keeps the information up to date.

How are barcodes used for traceability?

The barcode is the mechanism that records every physical movement of goods without relying on manual entry. When a unit is scanned at receiving, picking, dispatch or delivery, the system logs an event with date, time and location. Combined with aggregation (knowing which units go in which case and which cases on which pallet), it lets a company reconstruct the full path of a lot. This is critical in a product recall, because the company can identify within minutes which customers received a given lot.

Who sets barcode standards?

Most commercial barcodes follow the standards of GS1, an organization present in more than one hundred countries that manages the global numbering system. GS1 assigns each company a unique prefix, and the company uses it to generate GTINs to identify products and SSCCs to identify logistics units. Following these standards ensures that the same code can be read and interpreted correctly at any link in the supply chain, regardless of the country or the system reading it.

When is a barcode not the right choice?

When you need to read many units at once without seeing them one by one. A barcode requires line of sight and one scan per item: to inventory a sealed pallet or an entire aisle in one pass, the right technology is RFID. Barcodes also fall short where the label cannot survive the environment (extreme cold, moisture, abrasion) or on very irregular surfaces: there, direct part marking or a 2D code, which tolerates partial damage better, is the better option.

Trazzo does this in your operation

Route planning, tracking for every delivery and automatic customer updates at each stage, on the data you already have. Tell us how you move goods today.

The full suite

Now that you know what it is, see how it gets solved

Five AI products that work on top of the CRM you already use. They don't replace your system: they add the layer you do by hand today.