QR code glossary · Anatomy of a QR code
Finder pattern
Also called: Position detection pattern, Eye
Definition
A finder pattern is one of the three large concentric squares in the top-left, top-right and bottom-left corners of a QR code, which a scanner uses to detect the code, measure its size and angle, and work out which way up it is.
How it works
Each finder pattern is 7 × 7 modules: a dark ring one module thick, a light ring inside it, and a solid dark 3 × 3 square in the middle. A line through its center crosses dark, light, dark, light and dark in the ratio 1:1:3:1:1, and because the rings are concentric squares, that ratio is the same whichever direction the line runs. Scanners search the image for exactly that ratio. A one-module light border, the separator, keeps each finder pattern apart from the data.
- Finder patterns
- Separators (always light)
Three patterns are enough to fix the code’s position, scale and rotation, and the corner without one tells the scanner the orientation, so a QR code can be read upside down or sideways. The encoder also avoids accidental 1:1:3:1:1 sequences in the data area: the mask it picks is penalized for each one.
Why it matters
Finder patterns are not covered by error correction, which repairs data codewords only. If a finder pattern is hidden, smudged or redrawn beyond recognition, many scanners cannot locate the code at all, however strong its error correction.
Designers often restyle the finder patterns, sometimes called “eyes”: rounded corners, colors or circles. These usually still scan if the dark-light-dark structure and strong contrast survive. Never place a logo over a finder pattern, and in AI QR code art check them first: artwork that turns them into decoration is the most common reason an art code fails.
Example
The finder patterns also tell a scanner how big the code is before it reads a single data module. Their centers sit 3 modules in from the edges, so the top-left and top-right centers are always the code’s width minus 7 modules apart: 14 modules in a version 1 code (21 across), 170 in version 40. Dividing that distance by the module size, which the finder pattern’s own 7-module width gives, yields 4V + 10, from which the decoder estimates the version V.
Related terms
- Quiet zoneThe quiet zone is the blank margin that must surround a QR code on all four sides so a scanner can tell where the code begins; ISO/IEC 18004 requires it to be at least 4 modules wide for a regular QR code and 2 modules for a Micro QR code.
- Alignment patternAn alignment pattern is a small 5 × 5 module square, a dark ring around a light ring around a single dark module, placed at regular intervals inside QR codes of version 2 and above so a scanner can correct for tilt, perspective and curved surfaces.
- Timing patternA timing pattern is one of two lines of alternating dark and light modules, one horizontal and one vertical, that run between a QR code’s finder patterns and let a scanner count the rows and columns and find the center of each module.
- Mask patternA mask pattern is one of eight fixed patterns that a QR encoder combines with the data area, flipping selected modules, so the finished code avoids large solid blocks, long runs and shapes that look like finder patterns, all of which make a code harder to scan.
- Micro QR codeA Micro QR code is a smaller variant of the QR code, defined in the same standard (ISO/IEC 18004), that uses a single finder pattern and a 2-module quiet zone to fit up to 35 digits in a symbol of 11 × 11 to 17 × 17 modules.
- Logo in a QR codeA logo in a QR code is an image placed over part of the pattern, usually the center, which works because Reed–Solomon error correction can rebuild the modules the logo hides, provided the logo stays within the correction budget and clear of the finder patterns.
Learn more
- AI QR code art: Why finder patterns decide whether art scans.
- QR code design: Shapes and colors that keep codes readable.
- QR code error correction: What error correction can and cannot repair.
Sources
Last updated . Written by the CirculateQR team; technical facts follow the sources listed above. Example codes and sizes are computed with the open-source qrcode encoder that CirculateQR uses. Spotted something wrong? Email support@circulateqr.com. QR Code is a registered trademark of DENSO WAVE INCORPORATED.
← Browse the full glossary