What the four levels mean
| Level | Recoverable damage | Capacity cost | Typical use |
|---|---|---|---|
| L | ~7% of codewords | Smallest modules, least dense | Clean, controlled displays — screens |
| M | ~15% | Default in most libraries | General purpose: tickets, labels, URLs |
| Q | ~25% | Denser | Factory environments, moderate dirt/wear |
| H | ~30% | Densest | Logo overlays, worn printed media |
The percentages refer to recoverable codewords — the internal data units — not literally "a third of the image can be torn off". Damage localized over the finder patterns (the three big squares) can still kill the code regardless of level, though real-world damage rarely cooperates that precisely.
The trade is size, not reliability
Higher error correction does not make the same payload scan "more reliably" in a clean environment — the code either decodes or it does not, and clean codes decode at level L just fine. What higher ECC buys is tolerance of imperfect conditions: scratches, glare, worn print, a coffee stain. What it costs is density: the same URL at level H needs more modules, so each module must be printed smaller at the same physical size — which can actually hurt scanning on low-quality printers. For a crisp on-screen QR, M is usually the sweet spot; L is legitimate when the payload is large and the display is pixel-perfect.
When H is genuinely worth it
- Logo in the center. Overlays deliberately punch a hole in the middle of the code. At M the data loss is often fatal; at H the redundancy absorbs it. This is why every "QR with logo" generator forces high correction.
- Stickers and product labels that will be abraded, exposed to sunlight, or washed.
- Codes printed on textured surfaces — fabric, wood, laser engraving — where the edges of small modules blur.
And when it is not worth it: static screen display, PDF tickets, or anything shown at generous size with good contrast. There H just makes the code denser for no benefit.
What actually determines scan reliability
In practice, failed scans are far more often caused by things ECC cannot fix:
- Quiet zone too small. The spec demands four modules of blank margin around the code. Cropping it out — the most common mistake in screenshots and flyers — breaks many scanners.
- Low contrast. Light gray on white, or dark blue on black, fails more often than any ECC setting matters. Aim for dark-on-light with strong contrast; "inverted" (light on dark) codes are formally valid but many scanners reject them.
- Physical size / scan distance. A module roughly 1/10 of an inch scans reliably at arm's length; shrink from there at your own risk. Bigger payload → more modules → bigger minimum physical size.
- URL length. Every character adds modules. A 400-character URL makes a much harder code than a 40-character one — and no ECC level fixes that.
Try it yourself
Generate the same URL twice with the QR code generator — once at L and once at H — and compare: the H version visibly denser, with smaller modules in the same image. Scan both from a distance or after printing at small size, and the difference in tolerance becomes obvious. The tool also exports SVG, so you can print at any size without pixelation.