Aspect Ratio
Aspect ratio is the width-to-height proportion. QR codes are defined as square matrices (1:1) per ISO/IEC 18004. Finder pattern detection assumes square geometry - distorted aspect ratios cause recognition failure.
Common distortion occurs when resizing QR code images in design software without locking aspect ratio. Always enable "constrain proportions" when resizing. Exception: rMQR (Rectangular Micro QR Code) is a variant designed for elongated spaces, but requires specialized decoders.
Which aspect ratios suit a QR code, and which do not.
| Aspect ratio | Typical use | Use with a QR code |
|---|---|---|
| 1:1 (square) | The QR code symbol itself | The shape defined in ISO/IEC 18004 |
| 4:3 | Older television screens | Stretched, so it fails to scan |
| 16:9 | Widescreen video | Stretched, so it fails to scan |
| Rectangular (rMQR) | Narrow spaces such as labels, tubes and circuit boards | Needs a decoder that supports rMQR |