WebToolsPlanet
Generatorguide·7 min read

QR Code Error Correction Explained (Why Damaged Codes Still Scan)

How does QR code error correction work? Learn the difference between L, M, Q, and H levels, and which one to use for logos, damage, and print.

Published 7/9/2026
Updated 11/20/2026

A QR code with a scuff, a torn edge, or a carefully sized logo can sometimes still scan. This resilience comes from error correction: extra information encoded in the QR symbol helps a scanner recover some unreadable data. But an important distinction is often missed: 30% error correction does not mean you can safely cover 30% of the QR code's visible area.

Quick Answer

QR codes have four standard error correction levels:

  • L (Low): approximately 7% codeword recovery

  • M (Medium): approximately 15% codeword recovery

  • Q (Quartile): approximately 25% codeword recovery

  • H (High): approximately 30% codeword recovery

These percentages describe approximate recovery of codewords (encoded units), not a guaranteed proportion of missing black-and-white squares or a safe logo coverage percentage. Level M is a practical default for an ordinary QR code. Consider Q or H if a code may be damaged or will contain a logo, then test the final design.

How Error Correction Actually Works

QR codes use Reed–Solomon error correction, a mathematical method that adds recovery codewords alongside the encoded message. When the scanner detects and reads the symbol, it may reconstruct some corrupted or missing codewords using that redundant information.

A codeword is not the same as one visible square (module). Damage covering a particular share of the image does not necessarily affect the same share of encoded codewords. Scan success also depends on where the damage occurs.

QR symbols have structural features that help scanners locate and interpret them: the three large corner finder patterns, timing patterns, and the quiet zone (the empty margin around the symbol). If these become unreadable, the scanner may fail before error correction can help.

This is why a tiny mark in one place can be worse than a larger mark elsewhere. Error correction improves resilience; it does not make a QR code indestructible.

The Four Error Correction Levels

L — Low (approximately 7%)

Level L uses the least redundancy. At a fixed QR version, that leaves more capacity for encoded data. It can suit a plain code in well-controlled conditions, with no logo and little chance of wear.

M — Medium (approximately 15%)

Level M balances recovery capacity and payload space. It is a sensible starting point for links, on-screen codes, indoor signs, and many general applications.

Q — Quartile (approximately 25%)

Level Q adds more recovery information. Consider it for codes on printed materials that might be handled frequently, or for modest branding, and test before distributing.

H — High (approximately 30%)

Level H provides the greatest recovery capacity among the four levels. It is a useful starting point for branded codes and materials more likely to become scratched or scuffed. Level H does not guarantee that a logo occupying 30% of the image area will scan.

The trade-off: More redundancy leaves less data capacity at the same QR version. To encode the same content at a higher correction level, a generator may need a higher QR version with more modules. That can create a denser code, especially if it is printed at the same small size.

For the official levels and their definitions, see DENSO WAVE's QR error correction guide.

Why This Matters for Logos

A logo placed over a QR code hides modules that would otherwise be read. Error correction may compensate for some covered data, but it cannot guarantee that a particular logo shape, size, or placement will work.

Never interpret H's ~30% figure as a permitted 30% logo coverage area. A logo taking up 25% of the width is also very different from a logo taking up 25% of the area.

To make a branded code more reliable:

  1. Encode a short URL or other concise content to keep the pattern relatively simple.

  2. Start with H for extra recovery tolerance; do not assume it guarantees success.

  3. Keep the logo modest and away from the three corner finder patterns and timing patterns.

  4. Keep dark modules on a light background with clear contrast.

  5. Preserve a four-module quiet zone around a standard QR code.

  6. Test the actual export on different phones, then test the finished print at its intended size and under realistic lighting.

The QR Code Generator with Logo is intended for branded QR codes. For placement, sizing, and testing tips, read How to Add a Logo to a QR Code Without Breaking It.

Why This Matters for Damage

A torn corner, coffee stain, scratch, or partial printing defect may or may not prevent a scan. A mark over recoverable data codewords may be tolerated. A similar mark over a finder pattern, timing pattern, or quiet zone may prevent detection altogether.

It is inaccurate to say that Level M can always recover from losing 15% of the total visible modules. The approximate 15% recovery figure concerns codewords, and actual results depend on how errors are distributed and whether the scanner can detect the symbol.

Other common reasons for failed scans include:

  • A missing or cropped quiet zone.

  • A code printed so small that its modules blur together.

  • Low contrast, reflections, or poor focus.

  • A logo obscuring essential structure or too much encoded data.

  • An excessively long payload creating a complicated symbol.

See Why Your QR Code Won't Scan for a broader troubleshooting guide.

Which Level Should You Use?

  • Website URL, screen, or indoor sign without a logo: Start with M.

  • Business card, insert, or handled packaging: Consider M or Q based on print conditions.

  • Outdoor signage or materials exposed to wear: Consider Q or H, alongside durable printing.

  • QR code with a center logo: Start with H, minimize obstruction, and test.

  • Long vCard, Wi-Fi credentials, or large text payload: Shorten the content if possible; a smaller payload often improves scan reliability more than adjusting the correction level.

No single correction level is best for every situation. Physical dimensions, print quality, module size, encoded content, and scan distance matter too.

How to Test a QR Code Before Publishing

Use the WebToolsPlanet QR Code Generator to create a test code:

  1. Enter your URL or other content.

  2. Choose a correction level, beginning with M for a plain code or H for a logo.

  3. Keep enough contrast and a clear margin around every edge.

  4. Export a sufficiently sharp file. For printed materials, consider a vector format if your tool supports one.

  5. Try scanning the export on different phones.

  6. Print a sample at its real-world dimensions and test it from realistic distances and lighting conditions.

Do not treat a successful on-screen preview scan as proof that the printed QR code will work.

Explore the QR Code Tools collection or the broader Generator Tools section.

Frequently Asked Questions

H is a useful starting point because it provides the most recovery information. However, no correction level guarantees that a logo of a given size or position will scan. Test your finished design.

Can a logo cover 20–30% of the QR code area?

Do not rely on that rule. The error correction percentages apply to codeword recovery, not allowable image coverage. The logo's position, shape, and impact on structural patterns also matter.

Does higher error correction make a QR code more secure?

No. Error correction adds redundancy, not encryption. A QR code's encoded contents can generally be read by anyone who scans it.

Does higher error correction slow down scanning?

Not necessarily. Higher correction can increase a QR code's size or module density for the same payload. If that denser code is printed too small, scanning can become less reliable.

Can a QR code be too damaged even at H?

Yes. Severe codeword loss, damage to important detection patterns, cropping, blur, glare, or insufficient contrast can all prevent scanning.

Why do QR code generators often default to M?

Level M offers a practical balance between data capacity and recovery tolerance for everyday unbranded codes.

Sources

Ready to try it? Create a free QR code on WebToolsPlanet, then test the result before printing.

Khushbu

Full-Stack Developer & Founder

I build tools I wish existed — fast, free, and private. Wherever possible, everything runs in your browser; the few tools that need server-side processing disclose that clearly on the tool page.