QR code size and printing: the rules for reliable scanning

⏱ 3 min

A QR code that looks perfect on screen can fail once it is printed. Too small, no margin, blurry or on a shiny surface, and it lets people down at the exact moment they try to scan it. Here is what to check before sending a file to the printer.

What sets the minimum size

A QR code is a grid of small squares called modules. What matters for scanning is the printed size of a single module, not just the overall size of the code.

The number of modules depends on how much data you store and on the error correction level. Under the standard, a QR code ranges from 21 to 177 modules per side. A short web address gives a sparse code that scans well even when small. Long text or a full vCard gives a dense code that needs to be printed larger.

To improve readability, shorten the content where you can, for example a short web address rather than one with many tracking parameters.

The quiet zone: 4 modules around the code

ISO/IEC 18004, the standard that defines QR codes, calls for a clear margin around the code known as the quiet zone. For a regular QR code it must be at least 4 modules wide on every side.

This margin helps the scanner tell where the code starts and ends. Text, lines or images pressed up against the code can stop it from scanning. Make sure your layout respects the margin and that trimming at the print shop does not cut into it.

Scanning distance: a rough guide

The farther away people scan from, the bigger the code needs to be. A rule of thumb often quoted in the industry suggests a scanning distance of about ten times the width of the code, so a 3 cm (just over an inch) code would scan from around 30 cm (about a foot).

Treat this as a rough estimate, not a guarantee. Real results depend on code density, camera quality, lighting and viewing angle. For a poster or a shop window, test from where people will actually stand.

Choosing the right file format

SVG is a vector format, so it scales without losing quality. It is the file to hand to a printer or designer, whatever the final size.

PNG is a pixel-based image. It works for the web, office documents and modest print sizes. Export it at high resolution, such as 2048 px, and do not enlarge it afterwards, because an enlarged PNG turns blurry.

Avoid saving the code as a JPEG: compression creates smudges around the modules.

Material and surroundings

The surface matters as much as the size. A few things to check before a print run:

  • Glossy or laminated finishes can reflect light, so a matte finish is safer.
  • Curved surfaces such as bottles or cups distort the code; make it larger and test it.
  • Textured backgrounds, kraft paper and fabric reduce contrast.
  • Outdoors, use a material that holds up to sun and moisture, since a faded code scans poorly.

Test before printing in bulk

Print a proof at actual size, on the final material if possible. Scan it with several phones, newer and older, under different lighting and from the expected distance.

Also confirm that the code opens the right destination. A typo in a web address cannot be fixed once a thousand flyers are printed.

FAQ

What is the minimum size for a QR code?

There is no single answer: it depends on the code’s density and the scanning distance. A sparse code scanned up close often works at a few centimeters. Always test a printed proof.

Why use SVG for printing?

SVG is a vector format, so it stays sharp at any size, from a business card to a banner. A PNG loses sharpness when it is enlarged.

Can I remove the white border around the code?

No. The quiet zone of at least 4 modules is part of the standard. Without it, many scanners struggle to detect the code.

Generate your QR code as SVG or as PNG up to 2048 px, ready for print.

Create my QR code →