QR codes · 4 min read

QR code best practices: size, contrast, logos and testing before you print

How big to print a QR code, which colours scan, how much logo is too much and how to test before you print 5,000 copies. A checklist you can use today.

Published · Updated · by The GoTinyURL team

Tini the fennec fox illustrating "QR code best practices: size, contrast, logos and testing before you print"

Key takeaways

  • Rule of thumb: the code's width should be at least one tenth of the scanning distance, and never under about 2 cm (0.8 in).
  • Dark modules on a light background, with strong contrast and a quiet margin around the code.
  • A centre logo is fine if it covers a small part of the code and you use a higher error-correction level.
  • Always point printed codes at a short link so you can change the destination later.
  • Test with several phones, in the real lighting, at the real distance, before printing.

A QR code that does not scan is worse than no QR code at all. It costs you the print run and it teaches people that your codes do not work. The good news is that almost every scanning problem comes down to five things you can control: size, contrast, margin, what the code contains, and testing. Here is how to get each right.

How big should a QR code be?

Use the 10:1 rule: the code should be at least one tenth as wide as the distance it will be scanned from, and never smaller than about 2 cm (0.8 inches) for close-range use.

Where it goesTypical scanning distanceMinimum code width
Business card, product label20–30 cm2–3 cm (about 1 in)
Table tent, menu30–50 cm3–5 cm (1.2–2 in)
Shop window, flyer on a wall1–2 m10–20 cm (4–8 in)
Poster across a room3 m30 cm (12 in)
Billboard or stage screen10 m+1 m+

The rule is a starting point, not physics. Phones vary, lighting varies, and a code holding more data has smaller modules. That is one reason to keep the content short.

Why does contrast matter so much?

Scanners look for the difference between dark and light modules. The safest design is dark modules on a light background with strong contrast. Brand colours are fine as long as they stay clearly dark against clearly light: deep navy or teal on cream works, pastel on white does not.

Avoid:

  • Light modules on a dark background (inverted codes). Many phones read them now, some still do not.
  • Gradients that fade the modules toward the background colour.
  • Photos or busy patterns behind the code.
  • Metallic or glossy inks that reflect light into the camera.

What is the quiet zone?

The quiet zone is the blank margin around the code. The QR code standard (ISO/IEC 18004) specifies a margin four modules wide on every side, so the scanner can find where the code starts and stops. Designers love to crop it to save space. Do not. If anything sits closer than that margin (a border, text, an edge of the card), test it carefully.

Can you put a logo in a QR code?

Yes. QR codes carry error correction: spare data that lets a scanner rebuild the message when part of the code is damaged or covered. There are four levels, L, M, Q and H, which can recover roughly 7%, 15%, 25% and 30% of the code respectively. A centre logo deliberately “damages” part of the code, so:

  1. Use level Q or H when you add a logo.
  2. Keep the logo small and central, away from the three large corner squares (the finder patterns).
  3. Give the logo its own light background so its edges do not blend into the modules.
  4. Test the final file, not the mock-up.

GoTinyURL’s QR code generator lets you upload a centre logo, choose dot and eye styles and add a frame with text.

What should the QR code contain?

For anything printed, point the code at a short link instead of the final URL. That gives you three advantages:

  • The code holds less data, so the modules are bigger and it scans more easily.
  • You can change the destination after printing, so a new menu or a moved page never means a reprint.
  • Every scan is counted, so you can see which poster, table or package works.

Add UTM tags to the destination, such as utm_medium=qr and a utm_content per placement, and your analytics tool will attribute the visits correctly.

Does a QR code need a call to action?

It should have one. A bare square asks people to guess. “Scan for today’s menu”, “Scan to save my contact” or “Scan for 10% off” tells them what they get and why it is worth lifting their phone. Put it right next to the code, in a frame or directly underneath.

How should you test a QR code before printing?

Testing takes ten minutes and saves the whole print run:

  1. Print a proof at the real size on the real paper or material.
  2. Scan with at least three phones, including an older one, using the built-in camera app.
  3. Scan from the real distance and the real angle, for example from a seat for a table tent.
  4. Scan in the real light: a dim restaurant, a sunny window, under shop spotlights.
  5. Check where it lands: the right page, fast, readable on a phone.
  6. Check the count: open the short link’s statistics and make sure your test scans appeared.

The QR checklist

  • Code width at least one tenth of the scanning distance, never under about 2 cm
  • Dark on light, strong contrast, no busy background
  • Quiet zone of four modules on every side
  • Logo small, central, with error correction Q or H
  • Points to a short link, with UTM tags on the destination
  • A clear call to action next to the code
  • Proof printed and scanned on three phones, at the real distance and light

Get those right and your QR codes will scan the first time, every time.

Tini the fennec fox, GoTinyURL's mascot, waving hello

Written by

The GoTinyURL team

Product and support team, TheBigBot LLC

The people who build, host and support GoTinyURL. We write about the things customers ask us most: short links, QR codes, bio pages and reading click data honestly.

Tags: qr codes, print, design, testing

FAQ

Questions on this topic

8 questions
Q01What is the minimum size for a QR code?

Around 2 cm (0.8 inches) wide for codes scanned at arm's length, such as on business cards or packaging. For anything scanned from further away, use the 10:1 rule: width at least one tenth of the distance.

Q02Can a QR code be coloured?

Yes, as long as the modules are clearly darker than the background. Dark navy on cream works; light teal on white does not. Avoid inverted codes (light on dark) unless you have tested them on older phones.

Q03How big can the logo in a QR code be?

Keep the logo to a small central area and choose a higher error-correction level so the code can still be read with that area hidden. Test every design; there is no single safe percentage for all codes.

Q04What is the quiet zone?

The empty margin around the code. The QR standard calls for a margin of four modules (the small squares) on every side so scanners can find the code's edges.

Q05Why will my QR code not scan?

The usual culprits are low contrast, a missing quiet zone, printing too small, a glossy surface reflecting light, or too much data in a static code. Pointing the code at a short link keeps it simple and easier to read.

Q06Should a QR code have a call to action?

Yes. A frame or line of text such as 'Scan for the menu' tells people what they get and noticeably reduces hesitation.

Q07Do QR codes expire?

The image never expires. A code that points to a short link works as long as the link exists.

Q08How do I track QR code scans?

Point the code at a short link. Each scan is a click on that link, counted with time, location and device.

Keep reading

Cover for Dynamic vs static QR codes: the difference, and which one to print

Dynamic vs static QR codes: the difference, and which one to print

Static QR codes hold the content; dynamic ones hold a short link you can change and track. When each makes sense, with a decision table.

Cover for UTM parameters: what they are and how to name them so reports stay clean

UTM parameters: what they are and how to name them so reports stay clean

What each UTM parameter means, a naming system that keeps Google Analytics clean, real examples per channel and the mistakes that split your reports.

Cover for Link in bio best practices: 11 ideas that turn profile visits into taps

Link in bio best practices: 11 ideas that turn profile visits into taps

How to build a link in bio page people actually use: block order, how many links, deep links, scheduling, lead capture and what to measure.

The Tiny Dispatch

One useful link tip, every other week

Short guides on links, QR codes, bio pages and campaign tracking from the GoTinyURL team. No spam, one-click unsubscribe, and we never sell your address.

By subscribing you agree to the privacy policy.

Try it on your own links

Everything in this guide works on GoTinyURL's free plan.

  • Free plan, no card
  • Cancel any time
  • Your data stays yours
Tini the fennec fox cheering you on