Qraft

Alignment Pattern

Alignment patterns are small concentric squares (5x5 modules) placed in QR codes Version 2 and above. While finder patterns detect the overall QR code position, alignment patterns correct internal distortion.

When QR codes are scanned at angles or printed on curved surfaces, module positions shift. Alignment patterns serve as reference points to calculate distortion and restore correct module positions. Higher versions have more alignment patterns, handling greater distortion.

In practice, alignment patterns matter most when you create a custom-designed QR code. If a logo or illustration covers an alignment pattern, distortion correction stops working and the code may fail to scan. When customizing a design, keep logos clear of both the finder patterns and the alignment patterns.

How many alignment patterns does a QR code have?

It depends on the version. Version 1 has none, alignment patterns appear from Version 2, and their number increases as the version grows, because larger symbols need more reference points to correct distortion across the entire code.