Adding a logo to a QR code: how error correction makes it work

⏱ 2 min

A logo in the middle of a QR code makes it recognizable and more trustworthy. Yet that logo hides part of the data. The code still scans thanks to error correction. Understanding how it works lets you add a logo without unpleasant surprises.

Error correction in a nutshell

A QR code stores your data plus extra recovery data calculated from it. With that recovery data, a scanner can rebuild the content even if part of the code is damaged, dirty or covered.

That is why a slightly scratched, folded or partly covered code can still scan. It is also what makes room for a logo in the center.

The four levels: L, M, Q and H

The standard defines four levels. Each one reflects roughly how much of the data the code can recover.

  • L: about 7%.
  • M: about 15%.
  • Q: about 25%.
  • H: about 30%.

The cost of high error correction

Recovery data takes up space. The higher the level, the more modules the code needs for the same content. At the same printed size, each module is smaller.

So level H is not always the best choice. Without a logo, for a code printed in good conditions, a lower level gives a less crowded code that is easier to read at small sizes. Level H makes sense when part of the code is deliberately covered, or when the surface is likely to get damaged.

Why a logo calls for level H

A logo covers modules. To the scanner, those modules are errors to correct, so you want the largest correction margin available.

That is why QREMI switches to level H automatically as soon as you add a logo. There is nothing to configure.

One caveat: 30% does not mean you can cover 30% of the surface. Errors are counted in blocks of data spread across the code, and part of the margin is already used up by small printing or scanning flaws. Stay well below that figure.

Placing and sizing the logo

A few simple rules greatly reduce the risk of failure.

  • Keep the logo small, centered and clearly smaller than the code.
  • Never cover the three corner markers: without them, the phone cannot find the code.
  • Prefer a simple logo without fine detail, with some clear space around it.
  • Use a high-contrast logo that stays legible when small.
  • Keep the content short: a less dense code tolerates a logo better.

Always test

A code with a logo should always be tested before it goes out. Scan it with several phones, on screen and then on a printed proof at actual size.

If scanning is slow or fails on any device, shrink the logo, simplify the content or enlarge the code. A code that scans first time beats a big logo every time.

The logo’s shape matters too. A square or round mark on a plain background fits more easily than a very wide wordmark, which spreads across many modules.

FAQ

Which error correction level should I use without a logo?

For a code printed in good conditions, a middle level such as M is often enough. Go up to Q or H if the surface may get damaged.

Can my logo cover 30% of the code?

No. That is a theoretical recovery limit, not usable surface area. Keep the logo small and test the code.

Does a logo make the code less reliable?

It uses up part of the correction margin. Properly sized and tested, the code still scans, but it tolerates other damage less well.

Add your logo: QREMI sets error correction to level H for you.

Create my QR code →