Every QR code contains extra data that lets a scanner reconstruct parts it cannot read. That is Reed-Solomon error correction, and ISO/IEC 18004 defines four levels: L, M, Q and H. Choosing between them is a trade between damage tolerance and code size. This guide explains what the levels mean in practice and which one to use for a printed code, a logo, or a surface that gets scuffed.
What Error Correction Actually Does
A QR code stores the payload plus redundant codewords. When a camera reads a damaged or obscured grid, the decoder uses the redundancy to reconstruct the missing parts instead of failing. That is why a scratched code can still scan.
The redundancy is a percentage of the codewords, not a guarantee that a fixed area can be covered. It helps with scuffs, creases, small print defects and a centre logo. It does not fix modules that are too small to resolve, a background with too little contrast, or a missing quiet zone.
Higher levels add more redundant codewords. For the same payload, that means a higher version with more modules, so the code is physically larger at the same module size.
The Four Levels
| Level | Name | Approximate recovery | Typical use |
|---|---|---|---|
| L | Low | About 7% of codewords | Short digital payloads, clean screens |
| M | Medium | About 15% | Default for most print |
| Q | Quartile | About 25% | Outdoor signs, packaging, occasional damage |
| H | High | About 30% | Centre logos, harsh environments |
The percentages are codeword recovery, not a promise that a given percentage of the printed area can be painted over. Damage concentrated in a finder pattern is much worse than the same damage spread across the data region.
Most generators default to M because it is a good compromise. For a printed code that will be handled, use Q. If you plan to put a logo in the middle, use H.
The Size Trade-off
Take the same 60-character URL. At level M it fits in a version 4 grid of 33 by 33 modules. At level Q it needs about version 5, 37 by 37. At level H it needs even more. The extra modules are the redundancy.
If the physical size stays the same, more modules mean smaller modules, and smaller modules are harder to print and scan. So raising the error correction level is only free if you can also make the code larger.
This is why shortening the URL matters. A 20-character short link at level H can be smaller than a 120-character URL at level M, even though H has more redundancy. Shorten the payload first, then spend the saved space on error correction.
Logos, Damage and Styling
A centre logo deliberately destroys part of the data region. Keep it under about 20% of the code width, use level H, and leave a light border around the mark so its pixels do not blend into the modules.
Stylised dots and custom finder eyes also consume tolerance. Keep the module geometry close to square and the finder rings intact. The custom styling guide covers the safe limits.
For garments, outdoor signs and vehicle wraps, use Q or H plus matte stock. The error correction handles abrasion; it cannot compensate for glare or a contrast ratio that is too low.
Choosing a Level in Practice
- Screen-only code, short payload, clean environment: M is fine.
- Business cards, menus, flyers: Q gives useful tolerance at little cost.
- Packaging, outdoor signs, vehicles, garments: Q or H, with a larger print size.
- Centre logo or heavy styling: H, and test the result on three devices.
- Very long payload: shorten the URL instead of dropping to L, because L leaves no margin for print defects.
Print a proof and scan it at final size. The level is a design input, not a substitute for a test.
