Barcode Knowledge

Understand how barcodes actually work

Basic Structure of a Barcode

How Check Digits Work

A check digit detects errors. For EAN-13, the 13th digit is a check digit calculated from the first 12 digits using weighted sums. If the scanned data does not match the check digit, the scanner rejects the read, greatly reducing misreads.

Different formats use different algorithms: Code39 offers an optional mod 43 check, Code128 uses a mod 103 check, and QR Code uses Reed–Solomon error correction.

Scanning Principles

Scanners illuminate the barcode and measure the difference in reflected light between bars and spaces. The reflected light is converted into electrical signals and then decoded. Laser scanners are good for long distances, while image scanners (CCD/CMOS) can read barcodes displayed on screens.

Print Quality

Always verify with a barcode verifier or an actual scanner before mass printing.

Common Issues

Want to try it? Go back to the homepage of Barcode8 tiaoma8.com and use the online generator.