GUIDE
How QR Codes Work: A Simple Guide to the Technology
A QR code looks like a random square of dots, but every part of it has a job. Understanding how it works helps you print codes that scan reliably.
Where QR codes came from
The QR code was created in 1994 by Denso Wave, part of the Toyota group, to track vehicle parts in factories. “QR” stands for “quick response”. It could store far more than an ordinary barcode and be read quickly from any angle.
What the squares mean
A QR code is a grid of small dark and light squares called modules.
- Three large squares in the corners tell the scanner where the code is and which way up it is.
- Smaller marks and alternating lines help the scanner correct for tilt and distance.
- Format information tells the scanner how the data is protected.
- The remaining modules hold the data and the error correction.
How much a QR code can hold
QR codes come in versions from 1 to 40. Version 1 is a 21 by 21 grid and version 40 is 177 by 177. A bigger version stores more but is denser and needs a larger print. This is why most business codes store a short web address and not the whole message.
Why a damaged code can still scan
QR codes include extra data that lets the scanner rebuild missing parts. There are four error correction levels. Level L can recover about 7 percent of the code, M about 15 percent, Q about 25 percent and H about 30 percent. Higher levels survive more damage or a logo in the middle, but they make the code denser.
What happens when you scan
Your phone camera finds the corner squares, straightens the image, reads the modules one by one and rebuilds the data. If the result is a web address, the phone offers to open it. All of this takes a fraction of a second.
Static and dynamic codes
A static code holds the final information itself. A dynamic code holds a short address that points to a page you can edit later. For anything that may change, such as an employee ID card, dynamic is the better choice.
Scanning safely
- Check the web address your phone shows before you open it.
- Be careful with stickers placed over another code.
- Do not enter passwords or payment details on a page you reached from an unknown code.
Frequently asked questions
Who invented the QR code?
Denso Wave, a company in the Toyota group, in 1994.
Why does a QR code scan even when part of it is covered?
It carries error correction data. Depending on the level, it can recover from roughly 7 to 30 percent damage.
What size should a printed QR code be?
About 2 cm wide at a minimum for close-range scanning, and larger if people scan from further away.

