EDITORIAL // ARCHITECTURAL INTEL

QR Code Error Correction: What L, M, Q, and H Actually Mean

QR codes include redundant data so a scanner can recover some codewords when a symbol is dirty or damaged. The familiar L, M, Q, and H levels describe different error-correction capacities. Their percentages are approximate restoration rates measured against the symbol’s total codewords—not the percentage of the printed area that may be covered by a logo.

The four levels

LevelApproximate restoration rate of total codewordsGeneral trade-off
L7%Less redundancy; can leave more room for payload at a given version
M15%A common middle setting
Q25%More redundancy than M
H30%The most redundancy of the four levels

The encoder adds Reed–Solomon error-correction codewords in blocks. A reader uses that redundancy to recover damaged or unreadable codewords, up to the limits of the relevant blocks. The percentages do not promise recovery from any particular shape or size of damage. A logo obscures modules, and how those modules map to codewords matters; the logo’s area is not a direct measure of the codewords that can be recovered.

Higher correction levels use more redundancy. For a fixed amount of content, that can require a QR code with a higher version and more modules. More modules in the same printed width make each module smaller, which can make scanning harder. The best setting is therefore a balance between payload, printed size, damage risk, and camera conditions—not simply the highest level available.

Adding a logo safely

Level H is not a guarantee and is not universally required for a logo. Start with a modest logo that does not cover the finder patterns, timing patterns, or the clear margin around the code. Keep strong contrast between dark and light areas. Then test the exported code at its final printed size, from the expected distance, with more than one phone if possible. If it fails, reduce the logo, increase the printed size, simplify the encoded data, or adjust the correction level and test again.

Do not infer scan reliability from the correction percentage alone. A QR code that decodes on your screen may fail on a glossy sign, in poor lighting, or when printed small. The final physical sample is the meaningful test.

References

01 // ENGINE ACCESS

Ready to create your first free code?

Experience the blazing fast speed of EZ QR Generator completely free.

Generate Now