Chapter 60: The Universal Product Code (UPC) to EPC Bridge |
A Plain-Language Guide to How SGTIN-96 Connects the Barcode World to the RFID World |
Summary |
For more than four decades, the Universal Product Code barcode has been the silent workhorse of global commerce. Every grocery item, every package, every shipping carton carries one. But the UPC has a fundamental limitation: it identifies a *product type*, not an individual item. Two identical cereal boxes have the same UPC number. You cannot tell them apart. When RFID arrived as a technology capable of reading hundreds of tags per second without line-of-sight, the industry faced an immediate problem: how do you give each individual item a unique digital identity while preserving the enormous investment in existing barcode infrastructureThe answer came from EPCglobal in the form of the SGTIN-96 standard. This chapter explains how the Serialized Global Trade Item Number bridges the gap between the legacy UPC barcode number and the electronic product code stored on an RFID tag. It walks through the structure of the SGTIN-96 encoding scheme, explains why this bridge matters for real-world supply chains, and explores applications across retail, apparel, healthcare, food safety, and beyond. The goal is not to turn readers into encoding engineers, but to show how a quiet technical standard became the invisible connector between two eras of automatic identification. |

|
The Problem the Bridge Was Built to Solve |
Imagine you are standing in a supermarket aisle. On the shelf in front of you are twenty identical bottles of olive oil. Each bottle has a barcode printed on its label. When the cashier scans one, the point-of-sale system looks up a number and retrieves the product name, the price, and perhaps a few details about the brand. That number is the same on all twenty bottles. The barcode says 'this is a 500-milliliter bottle of Brand X extra virgin olive oil.' It does not say 'this is bottle number seventeen.' |
This limitation is not a flaw in the barcode. The Universal Product Code was designed in the 1970s to solve a specific problem: speeding up checkout and capturing sales data. Identifying individual bottles was never the goal. For decades, this was perfectly adequate. Retailers knew how many units they had *on average*, based on periodic manual counts. Suppliers knew how many cases they shipped. The granularity stopped at the case level, and often at the pallet level. |
Then RFID arrived. A passive ultrahigh-frequency RFID tag costs a few cents, requires no battery, and can be read from several meters away, through cardboard, without anyone pointing a scanner at it. A single reader can capture hundreds of tags in a second. Suddenly, the dream of item-level visibility became technically and economically feasible. A retailer could know not just that it had received a case of twenty olive oil bottles, but which twenty specific bottles. It could track individual garments from factory to fitting room. It could verify that a returned item was genuinely the same item that had been sold. |
But there was a catch. Every product in the world already had a barcode number. Manufacturers had spent decades building databases around those numbers. Retailers had point-of-sale systems, inventory systems, and supply chain systems all keyed to the UPC or its international cousin, the EAN. If RFID was going to replace or supplement the barcode, it could not simply invent a parallel universe of identifiers. It had to speak the same language. |
The EPCglobal network, the organization that later became part of GS1, understood this. Their solution was the Serialized Global Trade Item Number, or SGTIN. The SGTIN takes the familiar GTIN, which is the number inside a UPC or EAN barcode, and adds a serial number. The result is an identifier that says both 'this is a 500-milliliter bottle of Brand X olive oil' and 'this is bottle number seventeen.' When encoded onto an RFID tag using the SGTIN-96 format, this identifier becomes an electronic product code that carries the barcode heritage forward into the RFID era. |

|
Understanding the GTIN: The Number Behind the Barcode |
Before diving into the SGTIN-96 encoding itself, it is worth understanding what a GTIN actually contains. The Global Trade Item Number is the umbrella term for the family of numbers that appear beneath barcodes. In North America, the twelve-digit UPC-A is most common. In Europe and much of the rest of the world, the thirteen-digit EAN-13 is standard. There are also eight-digit GTINs for very small packages and fourteen-digit GTINs for cases and pallets. |
Regardless of length, a GTIN has a consistent internal structure. The first portion is a company prefix, issued by a GS1 member organization to a brand owner. The middle portion is an item reference, assigned by the brand owner to distinguish different products. The final digit is a check digit, calculated from the others to catch errors. |
What the GTIN does not contain is any information about what the product actually is. It is not a description. It is not a price. It is a key. When a cashier scans a barcode, the point-of-sale system uses that key to look up the product record in a database. The GTIN itself is meaningless without the database. |
The GTIN is also, by design, not unique to a single physical object. It identifies a class of objects. Every bottle of that olive oil, every ream of that paper, every copy of that book has the same GTIN. This is what makes the barcode so efficient for retail checkout: the system only needs to know one number per product, not one number per unit. |
The SGTIN preserves all of this. It embeds the GTIN, without the check digit, into the RFID tag, and appends a serial number that is unique to the individual item. The GTIN portion remains the bridge to all the legacy systems. The serial number portion is the new capability that RFID enables. |

|
The Anatomy of SGTIN-96 |
The SGTIN-96 is one specific way of encoding an SGTIN onto an RFID tag. The '96' refers to the number of bits used. Ninety-six bits is twelve bytes, which fits comfortably within the memory of even the most inexpensive passive RFID chips. It is the most widely deployed EPC scheme for item-level tagging, and it was designed explicitly with the UPC and EAN transition in mind. |
The SGTIN-96 encoding is divided into six fields. Understanding what each one does reveals how the bridge between barcode and RFID was engineered. |
The first field is the header. It is eight bits long and has a fixed binary value that identifies the tag as an SGTIN-96. Think of it as a label on the data packet that says 'this is a serialized trade item number, not a shipping container code or a location identifier.' Without the header, a reader would not know how to parse the bits that follow. |
The second field is the filter value. It is three bits long, giving eight possible values. The filter is not part of the actual identifier. Instead, it is a hint. It tells the reader, in very broad terms, what kind of object this is. One value indicates a retail consumer unit, the thing a shopper picks off the shelf. Another indicates a standard trade item grouping, such as a case. Another indicates a pallet. The filter allows RFID systems to quickly ignore tags that are not relevant to a particular task. If you are counting individual items on a shelf, you can tell the reader to only report tags with the retail unit filter value, ignoring the cases and pallets in the back room. |
The third field is the partition. This is where the SGTIN-96 encoding becomes clever. The partition is three bits that indicate how the remaining bits are divided between the company prefix and the item reference. As noted earlier, GTIN company prefixes vary in length. Some companies have long prefixes that leave room for only a few item reference digits. Others have short prefixes and can assign many item reference numbers. The partition field tells the reader how to split the bits. Without it, the reader would have no way of knowing where the company prefix ends and the item reference begins. |
The fourth field is the company prefix. This is a literal embedding of the GS1 company prefix that the brand owner uses in its barcodes. Depending on the partition value, it occupies between twenty and forty bits. |
The fifth field is the item reference. Together with an indicator digit, this forms the portion of the GTIN that the brand owner assigns to distinguish different products. Its bit length varies inversely with the company prefix. |
The sixth and final field is the serial number. This is thirty-eight bits long, which allows for roughly 274 billion unique serial numbers per GTIN. This is the field that turns a product class identifier into a unique item identifier. It is the 'S' in SGTIN, and it is the entire reason the scheme exists. |
When you put these six fields together, you get a 96-bit number that, when read by an RFID reader, can be decoded back into a GTIN plus a serial number. The GTIN portion can be looked up in the same databases that serve the barcode system. The serial number portion tells the system which specific unit this is. |

|
Why the Bridge Matters: The Practical Logic |
The technical elegance of SGTIN-96 is one thing. The practical necessity is another. To understand why this bridge was so important, consider what would have happened without it. |
Imagine a retailer decides to deploy RFID at the item level. It could have invented an entirely new numbering scheme, unrelated to GTINs. Every RFID tag would carry a number that had nothing to do with the barcode on the product. The retailer's systems would need a cross-reference table mapping every new RFID number to the corresponding GTIN. Every time a new product was introduced, a new mapping would need to be created. Every supplier would need to participate. The complexity would be enormous. |
Or imagine a different approach: the RFID tag carries only the GTIN, with no serial number. This would be simple, but it would miss the entire point of RFID. The tag would be no better than a barcode that can be read from a distance. You could count how many units were present, but you could not distinguish them. You could not track individual items through a return process. You could not detect when a specific item had been mislabeled or duplicated. |
The SGTIN-96 bridge solves both problems. It carries the GTIN forward, preserving compatibility with existing systems and databases. It adds the serial number, unlocking item-level capabilities. And because the GTIN is embedded in a standardized way, any RFID reader from any manufacturer can decode it and any backend system that understands GS1 standards can interpret it. |
There is a deeper point here about how standards succeed. The SGTIN-96 was not the only possible solution. It was, however, the solution that required the least disruption. Manufacturers did not need to change their barcodes. Retailers did not need to rebuild their product databases. They only needed to add a serial number to their existing product identifiers and encode the combination onto RFID tags. The legacy investment was protected. The new capability was unlocked. |

|
From UPC to EPC: The Encoding Journey |
To make the bridge concrete, it is worth walking through what actually happens when a UPC barcode number becomes an SGTIN-96 EPC. |
The starting point is a twelve-digit UPC-A, the kind printed beneath the barcode on a product in a North American store. That twelve-digit number is a GTIN-12. To encode it into an SGTIN-96, the first step is to convert it to a fourteen-digit GTIN format. This involves adding a leading zero or zeros, which is a mechanical step that preserves the identity of the number. The check digit is then removed, because the SGTIN-96 does not encode check digits. What remains is the company prefix and the item reference, in their fourteen-digit form. |
Next, a serial number is assigned. This is the new piece of information that has no equivalent in the barcode world. The serial number can be assigned sequentially, or drawn from a range, or even derived from the unique tag identifier burned into the RFID chip by its manufacturer. The method of assignment is a business decision, not a technical requirement of the standard. What matters is that no two items with the same GTIN receive the same serial number. |
Once the GTIN components and the serial number are determined, they are encoded into the six fields of the SGTIN-96 structure. The header is set. The filter value is chosen based on the packaging level. The partition value is calculated from the length of the company prefix. The company prefix and item reference are written into their respective bit fields. The serial number is written into its thirty-eight-bit field. The result is a 96-bit binary number, which is then stored in the memory of an RFID tag. |
When an RFID reader encounters that tag, it reads the bits, decodes them according to the SGTIN-96 rules, and reconstructs the GTIN and serial number. The GTIN can be used to look up the product in any standard product database. The serial number can be used to track that specific item. The barcode and the RFID tag are now speaking the same language. |

|
Real-World Applications: Where the Bridge Is Used |
The SGTIN-96 standard was not developed in a vacuum. It emerged because industries needed it. Across the world, organizations have built systems that rely on this bridge between barcode-era identifiers and RFID-era capabilities. The following examples illustrate the range of applications. |
Apparel Retail: Item-Level Inventory and Beyond |
The apparel industry was among the first to embrace item-level RFID at scale. The reasons are straightforward. Apparel items have high value relative to their size. They come in many variations of size and color, which makes accurate inventory management challenging. And the shopping experience often involves trying on multiple items, which creates fitting room and replenishment complexity. |
A Brazilian fashion brand called memove provides a detailed case study. The company sewed an RFID tag into every garment at the factory. Each tag was encoded with an SGTIN, carrying both the product's GTIN and a unique serial number. As garments moved from the factory to distribution centers to retail stores, RFID readers at each transition point automatically captured the tags. The receiving process at distribution centers became three hundred percent faster than the previous barcode-based process, with accuracy approaching one hundred percent. At the store level, a full inventory count that had once taken days could be completed in about an hour using a cart-mounted RFID reader. The checkout experience was also transformed: customers could place their selections into an RFID-enabled basket that automatically totaled the purchase, reducing checkout time by an average of sixty percent. The tags also served as electronic article surveillance, triggering an alarm if an item left the store without being properly checked out. |
The SGTIN-96 encoding was essential to all of this. Without the GTIN embedded in the tag, the store's point-of-sale and inventory systems would have had no way to connect the RFID tag to the product record. Without the serial number, the system could not distinguish one black medium t-shirt from another, making fitting room tracking and precise replenishment impossible. |

|
Healthcare: Regulatory Compliance and Patient Safety |
The healthcare industry presents a different set of challenges. Medical devices and pharmaceuticals are subject to strict regulations, particularly in the United States where the Food and Drug Administration requires Unique Device Identification. The UDI rules require that each device be identified with a number that includes both a device identifier, which is essentially a GTIN, and a production identifier, which can include a serial number, lot number, or expiration date. |
RFID is not the primary data carrier in most healthcare regulations. Barcodes are. But RFID can serve as a supplementary carrier, providing capabilities that barcodes cannot. A global medical device manufacturer implemented a system using SGTIN-96 RFID tags to comply with UDI requirements and improve traceability. The company standardized its tag printing across multiple facilities, using software that generated SGTIN-96 encoded tags and logged every print job to a central database. The result was improved product tracking and, ultimately, improved patient safety. |
The SGTIN-96 bridge is what makes this possible. The device identifier portion of the UDI is the GTIN, and it is embedded directly in the RFID tag. A hospital that receives a shipment of RFID-tagged devices can read them automatically and look up the device records in its inventory system using the same GTINs that appear on the barcodes. The serial number in the SGTIN provides the item-level specificity that regulations increasingly demand. |

|
Food and Beverage: Anti-Counterfeiting and Traceability |
Counterfeiting is a serious problem in the food and beverage industry, particularly for high-value products like premium sake, wine, and spirits. A Japanese sake brewery collaborated with supply chain partners in Thailand to demonstrate how RFID could combat counterfeiting and improve traceability. Each bottle was sealed with an EPC tag embedded in the cap, encoded with an SGTIN. As bottles moved from the brewery to a warehouse near Narita airport, onto a plane, through Thai customs, and into distributors and restaurants, the tags were read at each transition point. The location, date, and time of each read was uploaded to a central server. If a bottle could not be identified in the system, it was presumed to be counterfeit. Consumers could also scan a QR code on the label to access supply chain information about the specific bottle they were holding. |
The GTIN portion of the SGTIN identified the product as a particular type of sake from a particular brewery. The serial number identified the individual bottle. This combination allowed the brewery to track its products through international distribution and gave consumers and retailers a way to verify authenticity. |

|
Publishing and Education: Textbook Anti-Piracy |
The textbook industry faces significant losses from counterfeit and unauthorized resale. A major higher education publisher conducted a pilot project in which fifty thousand textbooks were tagged with RFID labels carrying SGTIN codes. The tags were applied at printing facilities in the United States, the United Kingdom, and Singapore, and the SGTINs were linked to order and inventory data in the publisher's enterprise resource planning system. |
When books reached booksellers, RFID readers captured both the SGTIN and the tag's unique transponder identifier. The transponder identifier is burned into the chip at manufacture and cannot be altered, providing a way to detect cloned or reused tags. When booksellers returned unsold textbooks for credit, the publisher could verify that the returned books were genuine by checking the SGTIN and transponder identifier against the original shipment records. Counterfeit books, which would lack valid SGTINs or would have mismatched identifiers, could be identified and refused. |
The GTIN embedded in the SGTIN linked each book to its ISBN and product record. The serial number distinguished individual copies, which was essential for detecting unauthorized duplication. |

|
Logistics and Shipping: From Case to Item |
The SGTIN-96 was designed for item-level identification, but its filter value field allows it to coexist with higher-level packaging. A single shipment might contain pallets tagged with one EPC scheme, cases tagged with another, and individual items tagged with SGTIN-96. The filter value in the SGTIN tells readers what level they are dealing with, enabling systems to focus on the appropriate granularity for each task. |
In a warehouse, a reader at a receiving dock might be configured to read only case-level tags, speeding up the inbound process. A reader at a packing station might read item-level SGTINs to verify that the correct items are being placed in the correct cases. A handheld reader used for cycle counting might read everything and let the software sort by filter value. The SGTIN's filter field makes this filtering possible without requiring separate encoding schemes for each level. |

|
The Evolving Bridge: Web-Enabled EPC |
The original SGTIN-96 standard was designed for a world where RFID tags were read by local systems that looked up data in local or networked databases. But the internet has changed expectations. Consumers and supply chain partners increasingly expect that scanning a product will lead them to a web page with information. |
In 2025, GS1 ratified an update to the EPC Tag Data Standard that adds web-resolvable EPC schemes. These 'plus-plus' schemes, such as SGTIN++, extend the original encoding to include a domain name in the RFID tag itself. When read, the EPC can be converted into a GS1 Digital Link URI, a web address that leads to product information, traceability data, or other services. |
This does not replace SGTIN-96. The original scheme remains the workhorse for item-level identification. But it shows how the bridge between barcode and RFID is continuing to evolve. The GTIN remains at the core, preserving the link to legacy systems, while new capabilities are layered on top. |

|
The Silent Work of a Technical Standard |
The SGTIN-96 standard does not get much attention outside of technical circles. It is not something consumers see or think about. But every time a retailer performs an accurate inventory in minutes instead of days, every time a hospital verifies that a medical device is genuine and not expired, every time a consumer scans a product and sees its journey through the supply chain, the SGTIN-96 bridge is doing its quiet work. |
The genius of the standard is not its technical sophistication. The encoding is elegant but not revolutionary. The genius is in what it chose *not* to do. It did not discard the GTIN. It did not require manufacturers to renumber their products. It did not force retailers to rebuild their databases. It simply added a serial number and wrapped the whole thing in a format that RFID readers can understand. |
This is how standards succeed. They succeed by lowering the barrier to adoption. They succeed by respecting existing investments. They succeed by being boring in the best possible way. |
The Universal Product Code gave the world a way to identify product types. The Electronic Product Code, through the SGTIN-96 encoding, gives the world a way to identify individual things. The bridge between them is a few fields of binary data, carefully arranged. But the consequences of that bridge are vast: a physical world where every object can have a digital identity, and where the barcode's legacy is not erased but extended into the era of the silent network. |

|
Detailed Summary |
The Universal Product Code and its international counterpart, the EAN barcode, transformed retail and supply chains by providing a standardized way to identify product types. For decades, this was sufficient. But the emergence of passive UHF RFID created both an opportunity and a problem. The opportunity was item-level visibility: the ability to identify, count, and track individual physical objects rather than just product classes. The problem was compatibility: the world already had billions of barcodes and decades of systems built around GTINs. A new identification scheme that ignored this legacy would have faced enormous adoption barriers. |
EPCglobal's answer was the Serialized Global Trade Item Number, or SGTIN. The SGTIN takes the existing GTIN and adds a serial number, creating an identifier that is both backward-compatible with barcode systems and forward-capable for RFID. The SGTIN-96 encoding scheme, defined in the EPC Tag Data Standard, is the most widely used format for embedding SGTINs onto RFID tags. It uses 96 bits divided into six fields: a header that identifies the scheme, a filter value for basic logistics categorization, a partition that indicates how the company prefix and item reference are divided, the company prefix itself, the item reference, and a thirty-eight-bit serial number. The GTIN components are encoded without the check digit, preserving the essential identifier while fitting within the tag's memory constraints. |
The practical significance of this bridge is difficult to overstate. In apparel retail, SGTIN-96 tags sewn into garments have enabled inventory accuracy approaching one hundred percent, receiving processes three hundred percent faster, and checkout experiences sixty percent faster. In healthcare, SGTIN-96 supports regulatory compliance with Unique Device Identification requirements while improving traceability and patient safety. In food and beverage, SGTIN-96 tags on sake bottles and other premium products provide anti-counterfeiting protection and supply chain transparency from brewery to consumer. In publishing, SGTIN-96 tags on textbooks help publishers detect counterfeit returns and manage inventory. In logistics, the filter value field allows SGTIN-96 tags to coexist with other EPC schemes at different packaging levels, enabling readers to focus on the appropriate granularity for each task. |

|
The SGTIN-96 standard has proven remarkably durable. It was designed for a world where RFID readers communicated with local databases, but it has adapted to the era of cloud services and web-connected supply chains. The 2025 addition of web-resolvable EPC schemes extends the bridge further, allowing tags to carry domain information that can resolve to GS1 Digital Link URIs. Yet the core architecture remains unchanged. The GTIN is still the anchor. The serial number is still the differentiator. The bridge between barcode and RFID is still doing its silent work, connecting two eras of automatic identification and enabling a world where every object can have a digital voice. |