Guides / QR code basics

QR code error correction levels explained

Error correction is backup data inside the code. Higher levels survive more damage but add more dots. Use M for screens, Q for everyday print, and H for packaging or anything with a logo.

2 min readQR code basics
On this page The four levels Where error correction lives The trade-off: more protection, more dots Which level to pick Questions
In short
  • L 7%, M 15%, Q 25%, H 30% recovery.
  • Higher levels add more, smaller dots.
  • M for screens, Q for print, H for packaging and logos.

The four levels

LevelRecovers aboutBest for
L (low)7%Screens, large clean prints, packing in lots of data
M (medium)15%Websites, slides, flyers. A good default
Q (quartile)25%Menus, signs, stickers, anything handled
H (high)30%Packaging, outdoor use, codes with a logo

The percentage is roughly how much of the code's data can be lost and still be rebuilt.

Where error correction lives

Most of a QR code is your data plus its backup copy. The rest is fixed structure that helps the scanner find and read it.

  • Finder patterns. The three big squares tell the scanner where the code is and which way up it is.
  • Quiet zone. The empty border that separates the code from everything around it.
  • Timing patterns. Alternating dots that let the scanner measure the grid.
  • Alignment pattern. Helps correct for tilt and curves on larger codes.
  • Format information. Records the error correction level and mask.
  • Data and error correction. Everything else: your content plus its backup copy.
Hover over a label to highlight that part.

Change error correction in the Advanced tab and watch the code grow or shrink.

Try it

The trade-off: more protection, more dots

Backup data takes space. For the same link, a higher level makes a bigger grid of smaller modules. A typical 50-character link needs a 33×33 grid at M but a 41×41 grid at H. Printed at the same width, each dot at H is about 15% smaller, so it needs a slightly larger print.

The same link at each error correction level. More protection adds more modules.

Maximum capacity also falls. The largest QR code holds about 2,950 bytes at L but about 1,270 at H.

Which level to pick

Questions

What is the best QR code error correction level?

M for screens and everyday use, Q for printed items that get handled, and H for packaging or codes with a logo.

Does higher error correction make a QR code bigger?

Yes. It adds more modules, so for the same printed size each dot is smaller.

How much damage can a QR code survive?

About 7% at level L, 15% at M, 25% at Q and 30% at H.