QR Code Logo Size: How Big Can a Logo Be? We Tested It

A logo hides part of a QR code. We tested how much you can cover before codes stop scanning, at all four error-correction levels.

· 4 min read

Miniature figures carrying black tiles around a large printed QR code, as if building it piece by piece
Photo by wir_sind_klein on Pixabay (Pixabay Content License)

You're putting a QR code on a café menu, a flyer or a business card, and it would look so much better with your logo in the middle. But the logo hides part of the code, and nobody wants a stack of printed menus that won't scan. So how big can the logo be? We tested it with 1,056 codes.

We tested: How big can a logo be on a QR code? 1. 1,056 test codes: 4 error-correction levels, logos 10% to 50% wide. 2. Level H: up to 30%: Every code scanned with a logo up to 30% wide. 3. Level L: just 12%: Low error correction started failing at 14%. 4. Pocklit stops at 22%: And uses level H, so there's room to spare.
The results at a glance.

The short answer

With the highest error correction, level H, every one of our test codes scanned with a logo up to 30% of the code's width. The first failures came at 32%, and from 42% nothing scanned at all. With the lowest level, L, codes started failing with a logo just 14% wide.

Bar chart of the largest logo, as a share of the code's width, that scanned in every test: level L 12%, M 26%, Q 28%, H 30%. A dashed line marks Pocklit's limit of 22%.
The largest logo that scanned in every test, by error-correction level.

That doesn't mean you should push a logo to 30%. Our codes were clean digital images. Printing, glare and shaky hands all eat into the margin, so we'd stay at about a fifth of the width or less.

Why error correction decides it

A QR code stores more than your link. It also carries repair data, so a scanner can rebuild the parts it can't read. There are four levels. According to DENSO WAVE, the company that created the QR code, level L can restore about 7% of the code's data, M 15%, Q 25% and H 30%. More repair data means a denser pattern, which is why the highest level isn't the default everywhere.

A logo works like a deliberate patch of damage. In our test, a logo 30% of the code's width, plus the plain pad around it, covered about 35% of the width, or 12% of the code's area. That's well under H's 30%, but the covered modules don't line up with whole pieces of data: a piece the logo only partly covers can still be damaged, so a logo uses up the repair budget faster than its area suggests.

Results by level

LevelRestores up toAlways scanned up toFirst failures
L7%12% wide14% (88% scanned)
M15%26% wide28% (81% scanned)
Q25%28% wide30% (96% scanned)
H30%30% wide32% (96% scanned)

Two things stood out. First, M did better than we expected, with codes scanning up to a 26% logo, but it fell off a cliff right after: at 30%, not one M code scanned. H fades out much more gently, still reading 92% of codes at 36% and 54% at 38%.

Second, size matters. At 256 and 512 pixels, every level H code scanned with a logo up to 36% wide. At 128 pixels, the smallest size we tried, failures began at 32%. A small code with a logo has less detail to work with, so print it bigger.

How to add a logo that still scans

  • Use level H. It's the only level that gave us real room for a logo.
  • Keep the logo to about a fifth of the width. That's well inside what scanned in our test and leaves room for real-world printing.
  • Put it in the middle, on a plain pad. The three big squares in the corners are what scanners use to find the code, so never cover those.
  • Keep the code dark on light, with a clear white margin around it.
  • Print it a little larger than you would without a logo.
  • Test before you print a batch: scan it with a couple of different phones from a normal distance.

If a code with a logo is giving you trouble, shrink the logo before you change anything else. In our test, a few percentage points made the difference between every code scanning and half of them failing.

How Pocklit's generator handles it

The QR code generator with logo follows the same rules. When you add a logo, it switches to error correction H, places the logo on a small pad in the code's background colour, and lets you pick a size from 12% to 22% of the width, so even the largest setting stays well below where our codes started to fail. After drawing the code, it checks it with the same scanner library as our QR scanner and warns you if it might not scan.

The QR Code with Logo generator with the logo size slider at 22% and the finished code: a black and white QR code with a round teal logo on a white pad in the middle, plus Download PNG and Copy to Clipboard buttons.
A made-up logo at the generator's largest setting, 22% of the code's width.

The codes it makes are static, so the link is stored in the code itself and never expires. Once you've printed it, check it the way your customers will: our guide to scanning a QR code from a screenshot or photo shows how to read it back and confirm where it leads.

How we tested

We made every code with the same code library and logo routine that the generator uses, for two made-up links: a short one (24 characters) and a long one (79 characters). Each was made at all four error-correction levels, with no logo and with logos from 10% to 50% of the code's width in steps of 2 points, at 128, 256 and 512 pixels. The logo was a simple teal circle on a white pad. Every image got a white margin, as it would on paper, and was tested twice: as a clean image, and softened like a phone photo (shrunk to 70%, slightly blurred and saved as a compressed JPEG).

That's 1,056 images, each read by two decoders: jsQR, the library behind our QR scanner, and ZXing, a widely used open-source decoder. ZXing couldn't read three of the long-link level M images even without a logo, so those three don't count against any logo size. These were digital tests, not printed codes photographed with real phones, and phone camera apps may do better or worse. Treat the numbers as a guide, and always test your own code before you print it.

Frequently asked questions

How big can a logo be on a QR code?

In our test, with error correction H, every code scanned with a logo up to 30% of the code's width, and failures began at 32%. To leave room for printing and camera blur, keep it to about a fifth of the width.

Which error correction level should I use with a logo?

Use H, the highest. It can restore up to about 30% of the code's data. With level L, which restores about 7%, our codes started failing with a logo just 14% wide.

Will a QR code with a logo scan on every phone?

There's no guarantee, because phones use different scanners. Test your code with a couple of phones before you print a batch.