Industrial & Retail Barcode Symbology Standards
Linear (one-dimensional) barcodes encode data by varying the widths of parallel dark bars and light spaces. Governed globally by GS1 and the International Organization for Standardization (ISO), linear barcodes form the foundational backbone of retail inventory, international logistics, and automated point-of-sale checkout systems.
Linear Barcode Symbologies Reference Table
| Symbology | Character Set | Check Digit Standard | Primary Commercial Usage |
|---|---|---|---|
| UPC-A | Exact 12 Digits (0-9) | Mandatory Modulo-10 | US & Canadian retail consumer packaged goods |
| Code 128 | Full ASCII (128 chars) | Mandatory Modulo-103 | FedEx/UPS labels, supply chain, pallet distribution |
| EAN-13 | Exact 13 Digits (0-9) | Mandatory Modulo-10 | Global international retail outside North America |
| Code 39 | 43 Chars (A-Z, 0-9, -.$/+%) | Optional Modulo-43 | US Department of Defense (MIL-STD-129), automotive parts |
The GS1 Modulo-10 Check Digit Calculation Algorithm
To prevent point-of-sale scanner misreads, UPC-A barcodes append an algorithmic check digit in the 12th position:
- Designate positions 1 through 11 from left to right.
- Sum the values of all digits located at odd positions (1st, 3rd, 5th, 7th, 9th, 11th) and multiply this sum by 3: Sodd = 3 × ∑ Dodd.
- Sum the values of all digits located at even positions (2nd, 4th, 6th, 8th, 10th): Seven = ∑ Deven.
- Calculate total sum: T = Sodd + Seven.
- The check digit is the amount required to round T up to the nearest multiple of 10: C = (10 - (T mod 10)) mod 10.