QR Code Error Correction Levels: L, M, Q and H
Error correction is the reason a QR code still scans when it is scuffed, dirty or has a logo in the middle. There are four levels, and choosing the right one is a trade-off between toughness and density.
The four levels
| Level | Name | Can recover up to about | Best for |
|---|---|---|---|
| L | Low | 7% of the code | Clean screens, short links, smallest possible code |
| M | Medium | 15% of the code | General use, a sensible default |
| Q | Quartile | 25% of the code | Print that may get scuffed, small logos |
| H | High | 30% of the code | Logos, rough surfaces, outdoor use |
The percentages are the share of the code’s data that can be missing or unreadable while the scan still succeeds. They are approximate: what matters is how much of the code is damaged and where.
The trade-off
Error correction works by adding redundant data. A higher level adds more redundancy, which means more modules in the same code. For the same link, a level H code is denser than a level L code, so each square is smaller at a given print size. Denser codes need to be printed larger or scanned from closer.
Which level should you choose?
- Clean digital use, short link: M is a safe default. L only when you need the simplest code and know it will stay clean.
- Printed materials that will be handled: Q, because scuffs and folds are likely.
- A logo in the center: Q or H. The logo covers modules, and error correction fills them back in.
- Outdoor, stickers, rough surfaces: H.
Logos and error correction
A logo works by blocking modules the scanner can reconstruct from the redundancy. Keep it small, roughly a fifth of the code’s area or less, and place it in the center, never over the three large corner squares. Raise the level to Q or H, then test with more than one phone. If scanning gets unreliable, shrink the logo or raise the level.
Note: Raising the level cannot fix a code that is too small or has poor contrast. It only protects against damage and covered areas.
How it works, briefly
QR codes use Reed-Solomon error correction, the same family of math used on CDs and in deep-space communication. The data is split into blocks with extra check symbols added to each block, so a decoder can detect and repair missing symbols up to a limit.
Frequently asked questions
What error correction level should I use for a QR code?
Level M is a good default. Use Q or H if you add a logo, print on rough or outdoor surfaces, or expect wear.
Does a higher error correction level make a QR code bigger?
It makes the pattern denser, with more modules for the same data. At the same print size each module is smaller, so you may need to print it larger.
Can I put a logo on any QR code?
Only if the error correction is high enough to cover the area the logo hides. Use Q or H, keep the logo small and central, and test the result.
Does error correction change what the code says?
No. The link or text stays the same. Only the amount of redundant data in the pattern changes.
Free tools mentioned in this guide
More guides
- Why Won’t My QR Code Scan? 9 Fixes
- How Much Data Can a QR Code Hold?
- QR Code Colors and Contrast: What Works
- SVG vs PNG vs PDF vs EPS for QR Codes
Published 2026-11-17. Every freeqrmaker.app tool runs in your browser: what you type is never uploaded.