Generators 6 min read Updated 2026-09-02

The Ultimate Guide to QR Codes: Error Correction, Sizing & Custom Branding

Learn how QR codes store binary data, how Reed-Solomon error correction enables custom center logos, and how to prevent scan failures.

Executive Summary

QR codes are everywhere—from restaurant menus and Wi-Fi access cards to digital payment receipts and event tickets. Discover the science behind QR code design and how to ensure 100% scanning reliability.

1. How QR Codes Encode Information

Quick Response (QR) codes, invented in 1994 by Denso Wave, are 2D matrix symbologies capable of holding up to 7,089 numeric characters or 2,953 bytes of binary data. Unlike 1D barcodes that encode data horizontally across single bars, QR codes encode information both horizontally and vertically in a square grid of dark and light modules.

2. The 4 Error Correction Levels Explained

QR codes use Reed-Solomon error correction, allowing scanners to reconstruct damaged, smudged, or covered data modules. There are 4 standardized error correction levels:

Level L (Low) – ~7% Recovery

Restores up to 7% of damaged codewords. Produces the cleanest, simplest matrix with the fewest dots. Ideal for clean digital displays with large payloads where the code will never be scratched or obstructed.

Level M (Medium) – ~15% Recovery (Default Standard)

Restores up to 15% of corrupted data. Strikes the optimal balance between matrix density and durability. Standard for product packaging and marketing materials.

Level Q (Quartile) – ~25% Recovery

Restores up to 25% of obscured data. Suitable for industrial environments, outdoor signage exposed to weather, or QR codes with subtle center iconography.

Level H (High) – ~30% Recovery (Essential for Logos)

Restores up to 30% of missing or covered data. This is the mandatory standard when embedding a custom company logo or badge in the center of the QR code, as the logo intentionally covers up to 20–25% of the central modules.

3. QR Code Sizing & The 10:1 Distance Rule

To calculate the minimum readable physical size of a printed QR code, use the 10:1 ratio rule: Printed Size = Scan Distance ÷ 10 • Business Card (Scan distance ~10–15 cm): Minimum size = 1.5 × 1.5 cm (0.6 × 0.6 in). • Magazine / Flyer (Scan distance ~30–40 cm): Minimum size = 3 × 3 cm (1.2 × 1.2 in). • Billboard / Poster (Scan distance ~2 meters): Minimum size = 20 × 20 cm (8 × 8 in).

4. Critical Mistakes That Cause QR Scan Failures

1. Inverted Colors: While standard dark-on-light QR codes scan instantly, light-on-dark (inverted) QR codes fail on many legacy Android and camera scanner apps. 2. Insufficient Contrast: Avoid using pastel colors or low-contrast backgrounds (e.g. yellow on white). 3. Missing Quiet Zone: The QR code must have a margin of at least 4 module widths of blank space around its exterior perimeter. 4. Blurry Raster Graphics: Always export your QR codes as high-resolution PNG (at least 1000×1000 px) or scalable vector SVG for print production.

Frequently Asked Questions

Do static QR codes ever expire?

No. Static QR codes encode the raw payload directly into the matrix pattern. As long as the target URL or data remains active, the QR code will function indefinitely without server dependencies or monthly fees.

Can I add a logo to any QR code?

Yes, provided the QR code is generated with Error Correction Level Q (25%) or Level H (30%) so the surrounding modules compensate for the obscured central area.

Explore More Guides

All Guides