How can barcodes have a small amount of squares and we still don’t run out of barcodes?

957 views
0

How can barcodes have a small amount of squares and we still don’t run out of barcodes?

In: Technology

Bar codes are just a computer-readable version of the number that’s written below the barcode. So there’s as many possible barcodes as there are numbers with that many digits.

UPC codes are 12 digits long, so there’s about 1 trillion possible codes.

n squares can code 2^(n) values.

10 squares is about a thousand. 20 a million, 30 a billion.

100 squares (10×10) is enough to index every website on the internet.