โ† Back to Guides

QR Code Error Correction Levels: Which One Should You Choose?

ยท Tags: qr-codes, error-correction, reed-solomon, qr-design, scanning

QR Code Error Correction Levels: Which One Should You Choose?

Error correction is the technology that makes QR codes remarkably resilient. A QR code can be partially dirty, scratched, obscured, or even have a logo embedded in its center and still scan successfully. This resilience comes from Reed-Solomon error correction, a mathematical algorithm that encodes redundant data alongside your original information. When part of the code is unreadable, the scanner reconstructs the missing data from this redundancy.

Choosing the right error correction level is one of the most important decisions when generating a QR code. The wrong choice can mean either a code that fails to scan in real-world conditions or one that is unnecessarily dense and hard to read.

The Four Error Correction Levels

QR codes under the ISO/IEC 18004 standard offer precisely four error correction levels. Each represents a different trade-off between damage tolerance and data capacity.

Level L โ€” Low (7% Recovery)

Level L dedicates the smallest amount of space to error correction, reclaiming that space for data storage instead. It can restore up to 7% of damaged codewords.

  • Data capacity: Maximum possible for a given version
  • Module density: Lowest density, so modules are larger and easier to scan
  • Best for: Digital-only displays (phone screens, monitors), clean indoor environments, and scenarios where maximum data storage is critical
  • Avoid when: The code will be printed, handled, or exposed to any wear

Level L is the right choice when you display a QR code on a digital screen that never gets touched, and you need to store more data than Level M would allow.

Level M โ€” Medium (15% Recovery)

Level M is the default in most QR code generators and the most commonly used level overall. It recovers up to 15% of damaged data.

  • Data capacity: Approximately 85% of Level L's capacity
  • Module density: Moderate; typically 15-20% more modules than Level L
  • Best for: Standard print materials (flyers, brochures, posters), product packaging with minimal handling, and general-purpose indoor use
  • Avoid when: The code will be exposed to significant wear, outdoor weather, or intentional obstruction like logo placement

Level M is the safe default for most business applications. It provides good protection without unnecessarily increasing QR code density.

Level Q โ€” Quartile (25% Recovery)

Level Q provides robust protection, recovering up to 25% of damaged codewords. This is the minimum recommended level for QR codes that incorporate logos or artwork.

  • Data capacity: Approximately 75% of Level L's capacity
  • Module density: Noticeably denser; modules are smaller for the same version
  • Best for: Product packaging, shipping labels, printed materials that get handled, and any QR code with a logo or design element
  • Avoid when: The printed size is very small (under 2 cm) and you need the code to remain scannable

Level Q is the starting point for any QR code that will exist in the physical world and encounter real handling.

Level H โ€” High (30% Recovery)

Level H provides the maximum error correction available in the QR code standard, recovering up to 30% of damaged codewords.

  • Data capacity: Approximately 65% of Level L's capacity
  • Module density: Highest density; smallest modules for a given version
  • Best for: Outdoor signage, industrial environments, codes on fabric or curved surfaces, and maximum logo sizes
  • Consider: Whether the increased density makes the code harder to scan at the intended print size

Level H is your insurance policy for challenging environments where the code may face the harshest conditions.

Comparison Table

| Level | Recovery | Relative Capacity | Logo Safe | Print Min Size | Typical Use | |-------|----------|------------------|-----------|----------------|-------------| | L | 7% | 100% (baseline) | No | 1.5 cm | Digital screens | | M | 15% | ~85% | Risky | 2.0 cm | Standard print | | Q | 25% | ~75% | Yes | 2.5 cm | Packaging, logos | | H | 30% | ~65% | Best | 3.0 cm | Outdoor, industrial |

How Error Correction Enables Custom QR Designs

Custom QR code designs often include logos, icons, or artwork that partially covers the data modules. Without error correction, covering even a few modules would render the code unreadable. The error correction system rebuilds the covered data from the redundant codewords stored elsewhere in the code.

Rule of thumb for logo placement:

  • Level M: Logo covering up to 8% of the code area may still scan
  • Level Q: Logo covering up to 20% of the code area is typically safe
  • Level H: Logo covering up to 25-30% of the code area is possible

Always test logo-embedded codes on multiple devices and under various lighting conditions before mass printing.

Practical Decision Framework

Use this decision tree to select the right error correction level:

  1. Is the code purely digital (screen-only)? โ†’ Level L
  2. Is the code printed in a clean indoor environment? โ†’ Level M (default)
  3. Will the code get touched, handled, or shipped? โ†’ Level Q
  4. Does the code include a logo or artwork? โ†’ Level Q minimum, Level H preferred
  5. Will the code be outdoors or in harsh conditions? โ†’ Level H
  6. Is the print area very small (under 2 cm)? โ†’ Level M (to keep module size larger)

Real-World Scenarios

Restaurant Menu QR Code

Placed on a table near condiments. The code may get splashed, smudged, or partially covered by a napkin. Recommended: Level Q. The code is printed large enough that the density increase isn't a problem, and the extra protection prevents frustrating scan failures during busy service.

Product Packaging QR Code

Printed on a cardboard box that goes through shipping, warehousing, and retail shelving. The surface may scuff. Recommended: Level Q. The 25% recovery handles scuffs and scratches while keeping the code small enough for package design constraints.

Billboard QR Code

Mounted outdoors, exposed to sun, rain, and varying lighting. Viewed from a distance. Recommended: Level H. The larger physical size compensates for the increased density, and maximum error correction protects against sun glare shadows and weather damage.

Digital Screen QR Code

Displayed on a TV monitor or tablet. Never physically touched or damaged. Recommended: Level L. The lowest error correction gives the largest modules and fastest scanning, and damage is not a concern.

Business Card QR Code

Printed very small to fit on a standard card. Gets carried in wallets and may scuff. Recommended: Level M. Level Q or H would require either a larger code (not practical on a business card) or finer modules that may not print clearly.

Generate Error-Corrected QR Codes

Our free online QR code generator lets you select from all four error correction levels and preview the visual impact of your choice. Test different configurations to find the optimal balance between scan reliability and data capacity for your specific use case. For logo-embedded codes, the generator automatically recommends Level Q or H and validates that your design falls within the printable error correction limits.