![]() |
ECE4253 Digital Communications |
Department of Electrical and Computer Engineering - University of New Brunswick, Fredericton, NB, Canada | |
This online tool generates a 1-dimensional barcode symbol (EAN-13) representing 12 input digits.
The EAN-13 barcode is an extension of the UPC-A barcode representing 11 digits. As such, both barcodes are very similar in structure and appearance.
3 | 1 | 4 | 1 | 5 | 9 | 2 | 6 | 5 | 3 | 5 | 9 | 9 | |
×1 | ×3 | ×1 | ×3 | ×1 | ×3 | ×1 | ×3 | ×1 | ×3 | ×1 | ×3 | ×1 | |
-- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | |
3 | + 3 | + 4 | + 3 | + 5 | + 27 | + 2 | + 18 | + 5 | + 9 | + 5 | + 27 | + 9 | = 120 ≡ 0 mod 10 |
Any wrong digit and many other digit errors will be detected if the check calculation does not give a zero result. The identical algorithm is used to compute the ISBN-13 check digit.
2025-05-01 18:59:30 ADT
Last Updated: 2016-05-05 |
Richard Tervo [ tervo@unb.ca ] | Back to the course homepage... |