Printed a code and need to change the link? QR Gen makes codes you can edit later.Edit codes after printing with QR Gen.See QR Gen

Open on your phone

What size should a QR code be when printed?

Work out QR code size for print from scanning distance and square size. Tables for cards, flyers, posters and banners, with real module counts.

Print the code at least 2 cm wide for something held in the hand, and make it one tenth of the scanning distance for anything further away: 3 cm for a flyer, 10 cm for a poster scanned from a metre, 30 cm for a window sign read from the pavement. Then check one more number that most guides skip, the size of each small square, because a code with a long link inside needs a lot more room than a code with a short one.

The 2 cm and “one tenth” figures are rules of thumb from QR Code Generator’s guide to scanning distance: a code scans from roughly ten times its width, and for close-up scanning it should be at least 2 by 2 cm. They assume a typical, fairly sparse code. Here is how to size yours properly.

Step one: start from the distance

Work out where the phone will be when someone scans, then divide by ten. We have assumed typical distances below; change them if your shop is different.

Scan distance divided by ten

Scan distance÷ 10= Smallest code width

  1. Visiting card25 cm25 mm
  2. Table tent50 cm50 mm
  3. A3 poster1.5 m15 cm
  4. Window poster3 m30 cm
  5. Banner5 m50 cm
  6. Hoarding10 m100 cm
The squares grow with each step but are not drawn to scale. Distances are the typical ones from the table below; change them for your own shop.
Printed on Scanned from (assumed) Minimum code width What we would print
Visiting card, 89 by 51 mm 25 to 30 cm 25 to 30 mm 25 mm
A5 flyer 30 to 40 cm 30 to 40 mm 35 mm
Table tent or menu card 40 to 50 cm 40 to 50 mm 50 mm
Counter stand for UPI 30 to 50 cm 30 to 50 mm 60 mm
A3 poster on a wall 1 to 1.5 m 10 to 15 cm 15 cm
Window or door poster 2 to 3 m 20 to 30 cm 30 cm
Banner 5 m 50 cm 50 cm
Hoarding 10 m 100 cm 100 cm

The counter stand gets extra size on purpose. People scan a payment code one-handed, at an angle, under shop lights, and a code that takes two tries costs you more than 2 cm of space. The restaurant menu guide applies the same thinking to table tents.

Step two: check the size of each square

A QR code is a grid of small squares called modules. The grid grows as the link gets longer. We measured four real payloads with the project’s qr-facts script, all at error correction level M, the generator’s default:

https://example.com/menu
upi://pay?pa=sharmastore@okhdfcbank&pn=Sharma Store&cu=INR
https://www.example-shop.in/offers/diwali-2026?utm_source=poster&utm_medium=qr&utm_campaign=diwali
https://www.example-shop.in/collections/festive-sale/products/handloom-cotton-saree?utm_source=poster&utm_medium=qr&utm_campaign=diwali-2026&utm_content=window-poster&ref=qr

They come out at 25 by 25 (version 2, 24 characters), 33 by 33 (version 4, 58 characters), 41 by 41 (version 6, 98 characters) and 53 by 53 modules (version 9, 173 characters). Denso Wave’s page on versions says the same thing in general terms: more data means more modules and a larger symbol.

The size of one square is the code’s width divided by that count. Here it is in millimetres:

Code width 25 modules 33 modules 41 modules 53 modules
20 mm 0.80 0.61 0.49 0.38
25 mm 1.00 0.76 0.61 0.47
30 mm 1.20 0.91 0.73 0.57
40 mm 1.60 1.21 0.98 0.75
50 mm 2.00 1.52 1.22 0.94

Two things stand out. The famous 2 cm minimum gives a 25 module code squares of 0.8 mm but a 53 module code squares of 0.38 mm, less than half the size. And a small square is where scans tend to fail first: camera focus, ink spread and a slight angle all work against it.

How small is too small? GS1 UK’s QR code sizing guide gives a minimum module width of 0.396 mm and a minimum overall size of 14.6 mm square including the margin, 11.48 mm without it. That is a real specification, and the numbers tell you which code it assumes: 29 modules times 0.396 mm is 11.48 mm, and 37 modules (29 plus the four-module margin each side) times 0.396 mm is 14.65 mm. So GS1’s minimum is for a 29 module code. Any longer link needs more room, by the same arithmetic:

Modules Smallest width at 0.396 mm per square
25 9.9 mm
33 13.1 mm
41 16.2 mm
53 21.0 mm

A 53 module code at the “safe” 2 cm is already below that line. Treat 0.4 mm as the lowest square size and aim for 0.5 mm or more on anything people will scan with whatever phone they have.

Our habit when a design is tight: shorten the link, don’t shrink the code. A redirect or a short path on your own domain can take a 98 character link down to a code of 29 modules. The guide to adding a logo shows the same trade in reverse, since a logo forces a denser code.

Step three: can your printer draw it

Denso Wave recommends that each module be four or more printer dots for stable reading, and notes that each scanner has its own limit. Divide the square size by the dot size (25.4 mm divided by the dpi) to see where you are:

Code width 25 modules 33 modules 41 modules 53 modules
20 mm at 300 dpi 9.4 dots 7.2 5.8 4.5
25 mm at 300 dpi 11.8 dots 8.9 7.2 5.6
25 mm at 600 dpi 23.6 dots 17.9 14.4 11.1

Four dots at 300 dpi is 0.34 mm, so every row above passes on paper. Denso Wave’s own table gives 0.17 mm at 600 dpi, and warns that printing smaller “can be useless if the reading limit of the scanner is exceeded”. In practice the phone is the limit, not the printer. A thermal receipt printer at 203 dpi prints dots of 0.125 mm, so four dots is 0.5 mm: a 41 module code needs at least 20.5 mm of width on a receipt.

Worked example: a Diwali flyer

An A5 flyer carries the 98 character campaign link from above. People will scan it from about 35 cm, so the minimum width is 35 mm. The link makes a 41 module code:

square size  = 35 mm / 41       = 0.85 mm   (above the 0.4 mm floor)
dots at 300  = 0.85 / 0.0847    = 10 dots per square
footprint    = 35 x (41 + 8) / 41 = 41.8 mm of clear space

Now suppose marketing adds tracking tags and the link grows to the 173 character version, 53 modules. At the same 35 mm the square drops to 0.66 mm and the footprint is 40.3 mm. It still passes, but each square is a fifth smaller, and nothing on the flyer looks different. That is the quiet way codes get worse: the printed size stays put while the link behind it grows. Re-run the sum whenever the link changes.

The blank margin is extra

All the sizes above are the dark part of the code. Around it you need a blank border four modules wide on every side, which Denso Wave states in its overview of the code. The footprint is therefore the width times (modules + 8) divided by modules:

25 mm code, 41 modules:  25 x 49 / 41 = 29.9 mm
25 mm code, 25 modules:  25 x 33 / 25 = 33.0 mm

On a visiting card 51 mm tall, a 25 mm code with 25 modules takes 33 mm of height, leaving 18 mm for everything else. The business card guide shows layouts that fit.

The PNG from our generator includes a four-square white border by default, so the quiet zone is already inside the file. Count it in the printed width, don’t crop it, and keep the code clear of the page edge so the printer’s trim cannot cut into it.

Proof it before the full run

  1. Print one copy at the real size on the real material.
  2. Scan it from the real distance with the oldest phone you can borrow, and with the scanner on this site.
  3. Try it in the dimmest light it will live in.
  4. If the scan hesitates, go up one size before touching anything else.

For the settings that go with a good print, see the main guide to making a QR code. If you are printing a code for many items, do the same check on one from each batch.

Ready to try it? Free, no sign-up, made in your browser.

Open the QR generator