How do QR codes differ from barcodes?
These pixelated squares can hold more data than the zebra-striped pattern of a classic bar code.
Asked by: Helena Cooper, Salisbury
Barcodes come in all shapes and sizes. The first successful barcode was the Universal Product Code (UPC), used for tracking products in stores, which encodes 12 numbers. Other barcodes hold more information, for example the Royal Mail Mailmark (TM) type L barcode – which encodes 26 characters including ID, postcode and delivery point.
QR codes are another kind of barcode, and there are many sizes. A version 4 QR code is 33 x 33 pixels in size and encodes up to 50 characters. A version 40 QR code is 177 x 177 and stores 2,953 bytes, or up to 7,089 digits. This particular QR code is so densely packed it looks like a picture of a snowstorm, and is rarely used because it’s difficult to scan successfully.
- How do barcodes work?
- What makes green lasers more powerful than red ones?
- How does an MRI scanner work?
Subscribe to BBC Focus magazine for fascinating new Q&As every month and follow @sciencefocusQA on Twitter for your daily dose of fun science facts.
May Half Price Sale
- Save up to 52% when you subscribe to BBC Science Focus Magazine.
- Risk - free offer! Cancel at any time when you subscribe via Direct Debit.
- FREE UK delivery.
- Stay up to date with the latest developments in the worlds of science and technology.