The Electronic Product Code (EPC) in the SGTIN format (Serialized Global Trade Identification Number) is the standard pushed by EPCGlobal as a replacement for the EAN number in the future.
In its 96 bits implementation (Gen2), the unique ID is composed by a company prefix (20 to 40 bits), an item reference (24 to 4 bits) and a serial number (38 bits), while the older 64 bits implementation (used by Gen1) had fixed length company prefix (14 bits), item reference (20 bits) and serial number (25 bits),


