Question Clearly sourced

Expert knowledge for digital decisions

How does a QR code work technically?

Short answer

A QR code stores characters as a black-and-white pattern of square modules. The three large squares in the corners serve for alignment, enabling reading even when tilted or rotated. Built-in error correction ensures the code functions even if part of it is damaged or obscured.

The Structure

  • Position detection pattern – the three large squares in the corners. A reader detects position and rotation based on these.
  • Alignment pattern – smaller squares that compensate for distortions, such as on a curved bottle.
  • Data area – where the actual characters are located.
  • Error correction – additional information used to reconstruct damaged areas.

The Four Error Correction Levels

Level Recoverable Suitable for
L approximately 7 % Screen display, clean environment
M approximately 15 % Standard for printed advertising
Q approximately 25 % Stickers, packaging
H approximately 30 % Industry, outdoor use, logo in code

A logo can be placed in the center because error correction compensates for the obscured area. However, this is only possible up to the limit of the selected level – using a large logo at level L may produce a code that sometimes works and sometimes doesn't.

Why short addresses are better

The more characters stored, the finer the pattern becomes. A fine pattern requires more printing space and is harder to read. This is where dynamic QR codes have a technical advantage: they contain only a short redirection address, regardless of how long the actual target is.

Standard

QR codes are standardized in ISO/IEC 18004. They are freely usable without license – the inventor Denso Wave has waived its patent rights.

Key facts

Standard
ISO/IEC 18004
Error Correction
four levels: approximately 7 %, 15 %, 25 % and 30 %
License
freely usable without license

Sources

All external claims are backed by traceable sources.
  1. 01
  2. 02

Ready for your next project?

Free initial consultation - no sales pressure, just clear answers.

Request consultation