Guide

QR Code Error Correction, Size and Capacity Explained

Short answer: a QR code scans reliably when it has enough error correction, enough empty border (the quiet zone) and enough physical size. Pick the level in the QR Code Generator: L recovers about 7% damage, M 15%, Q 25% and H 30%. Higher levels survive scuffs, but hold less data.

Error correction levels

Level Damage it can recover
L about 7%
M about 15%
Q about 25%
H about 30%

Use a higher level for codes that will be printed on rough surfaces, outdoors, or with a logo over the middle. Use a lower level when you need to fit more data.

Capacity

The generator supports versions 1 to 40 and three data modes: numeric, alphanumeric and byte. At the largest version (40), the capacity is:

Level Numeric Alphanumeric Byte
L 7,089 4,296 2,953
M 5,596 3,391 2,331
Q 3,993 2,420 1,663
H 3,057 1,852 1,273

A short URL needs a far smaller, simpler code than a long text. Shorter content means bigger modules at the same print size, which scans more easily.

What you can encode

The generator has formats for a URL, plain text, an email (mailto:), a phone number (tel:) and a Wi-Fi login (WIFI:), which is a good place to use a strong random password.

Size and the quiet zone

  • Keep the quiet zone, a blank border of 4 modules, on every side. Cropping it is a common reason for failed scans.
  • As a rule of thumb, the printed size is about a tenth of the scanning distance.
  • On screen, aim for at least 4 pixels per module.

Common mistakes

Low contrast between the dark modules and the background (see the WCAG contrast ratio guide), a cropped border, a code that is too small for the distance, and too much data. Always test the final code with a real phone before printing a thousand copies.

Static codes

These codes are static: the data is written into the pattern itself. They cannot be edited later or tracked, and they never expire. If the destination may change, point the code at a URL you control.

How to set QR code error correction in the QR Code Generator

  1. Open the QR Code Generator.
  2. Choose the format and enter your data.
  3. Pick an error correction level.
  4. Check the preview, then test it with your phone.
  5. Download it and print at a size that suits the scanning distance.

Limits to know

  • Static codes only, with no tracking.
  • Capacity falls as the correction level rises.
  • Everything runs in your browser.

Frequently asked questions

Which error correction level should I use? M is a common balance. Use Q or H for rough or decorated codes.

What is the quiet zone? The empty border around the code, 4 modules wide.

How big should a printed QR code be? About a tenth of the distance it will be scanned from.

Can I make a Wi-Fi QR code? Yes, with the Wi-Fi format.

Can I change a QR code after printing? No. Static codes hold the data itself.

Related tools and guides