How does the barcode system works?

858 views

Like how is there no overlap of barcodes at all? There’s are millions if not, billions of items around the world that have unique barcodes. Are they differentiated per country or something?

In: 503

21 Answers

Anonymous 0 Comments

According to premierelectronics.com, a 1d barcode can store up to 85 characters, if you used the whole alphabet and +-*/&%! that would give you 34^85 unique barcodes. I can’t state this enough 34^85 is an absolute fuck-ton.

If you use those 85bytes to represent an unsigned integer, that would be a uint680, so 2^680, which is even more unique barcodes.

In reality there will probably be duplicates, but that doesn’t matter, if the company selling their product includes their name in the barcode, that would be enough. After that the company has to figure out that no duplicates happen, similar to how MAC-addres for smart-devices, a certain range will belong to a certain company, the rest is up to them.

You are viewing 1 out of 21 answers, click here to view all answers.