QRsome

What size should a QR code be? Minimum print sizes

The smallest QR code that scans reliably, the distance rule for signs, how many pixels print and screens need, and which file to print.

There is no single right size for a QR code. Two things decide it: how far away people will scan it from, and how many squares (modules) the code has. Get both right and a code the size of a postage stamp scans on the first try.

The short answer

  • Hand-held (cards, labels, menus): at least 2 cm wide for a short link, plus the margin.
  • Anything farther away: a tenth of the scanning distance, so 10 cm for 1 m and 50 cm for 5 m.
  • Long content or a logo: a denser grid, up to 3.7 cm at hand-held distance, or shorten the content (tables below).
  • The file: SVG for print at any size; PNG for screens.

The distance rule

Make the code at least a tenth of the scanning distance. A code read from 30 cm should be at least 3 cm wide; one read from 3 m should be at least 30 cm wide. Phones vary, light varies, people do not stand where you expect, so treat it as a floor, not a target.

Where Read from Width
Business card, label 15–25 cm 2–2.5 cm (0.8–1 in)
Flyer, menu, table tent 30–50 cm 3–5 cm (1.2–2 in)
Poster on a wall 1–2 m 10–20 cm (4–8 in)
Window, banner 3–5 m 30–50 cm (12–20 in)

More data means more modules

A QR code is a grid. The more text it stores, the more modules it needs, and at the same printed width each module gets smaller and harder for a camera to tell apart. These are the grids the encoder picks for a few common contents, at the default error correction (M) and with a logo (H, see below):

Content Plain With a logo
Short link (28 characters) 29 × 29, 2 cm 33 × 33, 2.2 cm
WiFi name and password 33 × 33, 2.2 cm 41 × 41, 2.7 cm
Long link with tracking (100 characters) 41 × 41, 2.7 cm 57 × 57, 3.7 cm

The smallest widths assume modules of about 0.6 mm plus a two-module margin, which phones read comfortably at hand-held distance. So the same 2 cm sticker that works for a short link can fail for a long one.

Two ways to keep the grid small:

  • Shorten what goes in. Drop tracking parameters you do not read, and link to a short page.
  • Use a dynamic code. It stores only a short link such as https://qrsome.com/r/k3X9mPq, whatever the real destination is, so its grid stays at 29 × 29 even when the destination is long. More in static vs dynamic QR codes.

How small can a QR code be?

The smallest grid is 21 × 21, which holds about 14 characters at error correction M: enough for a very short link, not for a typical web address. With 0.6 mm modules and a two-module margin it is 1.5 cm wide, and that is about as small as it is worth going. Two limits stop you below it:

  • The camera. Most phones cannot focus closer than about 10 cm, and at that distance a module smaller than about half a millimeter blurs into its neighbors.
  • The print. Ink spreads on paper and fabric. On a home inkjet, a cheap label or a curved surface, modules under 0.5 mm merge, so a code that looks fine on screen fails on the product.

If space is tight, use a dynamic code: its short link keeps the grid at 29 × 29 whatever the destination, so a 2 cm sticker works even for a long address.

Logos make the grid bigger

A logo covers part of the code, so the code needs more redundancy to survive it. QRsome switches to error correction level H when a code has a logo, which recovers about 30% damage. The price is a denser grid for the same content, as the table shows: add roughly 10–35% to the width.

Keep the margin clear

The empty border around a code (the quiet zone) tells the camera where the code ends. It does not count towards the code, but it must stay empty: no text, borders or photos right up against the modules. QRsome draws a two-module margin by default, which is enough on a plain light background. On a busy or colored background, ask your assistant for a margin of 4, the width the QR standard specifies.

Which file to print

  • For print, use SVG. It is a vector file, so it stays sharp at any size, from a sticker to a banner, and printers and design tools open it.
  • PNG is for screens and quick prints. QRsome's PNG is 512 pixels by default and up to 2048 on request (see the pixel counts below).

How many pixels does a QR code need?

A QR code has no fixed pixel size: what matters is how many pixels each module gets.

  • For print, convert the width to inches (centimeters divided by 2.54) and multiply by 300, a common print resolution. A 3 cm code needs about 350 pixels, so the default 512-pixel PNG covers prints up to about 4.3 cm, and the 2048-pixel one up to about 17 cm. Above that, use the SVG.
  • On screens, give each module at least 4 screen pixels. A short link's code, 33 modules wide with its margin, then needs about 130 pixels; a code with a logo or a long link, 150 to 250. On a slide shown in a room, use the distance rule instead: the people at the back are the scanning distance.
  • Never stretch a small PNG. Scaling a 128-pixel image up to a poster blurs the module edges; ask for a bigger PNG or use the SVG.

Is there a maximum size?

No. A QR code scans at any size as long as the whole code fits in the camera's view: a 1 m code on a building reads from 10 m away. For big formats print the SVG, keep the margin in proportion, and check that the code is flat and evenly lit: folds, glare and shadows break large codes more often than size does.

Test before you print a thousand

Print one copy at the final size, put it where it will live, and scan it with two different phones from where people will stand. If it takes more than a second to scan, make it bigger, shorten the content, or use a dynamic code. If it still does not scan, go through why a QR code is not scanning.