Log inStart free
Free tool · no sign-up

QR code size calculator

Tell us how far away people will stand and what the code contains, and we will tell you the smallest size that still scans reliably: the width in centimetres or inches, the size of each dot, the clear border to leave and the pixel size to export. The result is checked against two rules at once, so a long link on a business card does not slip through.

How the calculator works

Two things decide how small a QR code can be, and the calculator checks both. The first is distance: the further away the phone is, the bigger the code needs to be to fill enough of the camera frame. The second is density: the more data a code holds, the more dots it has, and each dot must still be big enough for your printer to reproduce and a phone camera to resolve. The larger of the two answers wins.

  1. Enter the scanning distance in whichever unit is easiest, from centimetres to feet.
  2. Paste what the code will contain, or type its length in characters. If you already know the QR version, enter it instead. With nothing entered, a typical 37-character link is assumed.
  3. Pick an error-correction level. M is a sensible default; use Q or H if the code will be handled outdoors or carry a logo.
  4. Read the result and use the print button to see the code at true size before you send anything to the printer.

Calculate your minimum QR code size

0.4 mm is a common guideline for clean offset or laser printing, not a standard. Rough surfaces, embossing and cheap labels may need more.

Minimum code width
-
Width with quiet zone
-
Each dot (module)
-
Clear border
-
Code density
-
Export size for print
-

QR code size by situation

These starting points assume a typical link of 30 to 60 characters, which produces a version 3 or 4 code (29 to 33 modules per side) at level M. Use the calculator for your own content, because a longer link or a higher error-correction level pushes the numbers up.

Where the code isTypical scanning distanceMinimum code width
Business card, ticket, product label20 to 30 cm (8 to 12 in)2 to 3 cm (about 1 in)
Table tent, menu, brochure30 to 50 cm (1 to 1.6 ft)3 to 5 cm (1.2 to 2 in)
Flyer or A4 poster on a wall1 m (3 ft)10 cm (4 in)
Shop-window poster2 to 3 m (6 to 10 ft)20 to 30 cm (8 to 12 in)
Banner, shopfront or vehicle5 m (16 ft)50 cm (20 in)
Billboard or large sign10 m (33 ft)1 m (3 ft)

Why a longer link needs a bigger code

A QR code is a grid of dark and light squares called modules. The smallest, version 1, is 21 by 21 modules; each step up adds 4 modules per side, so version 40 is 177 by 177. The scanner needs to see every module, so the more data you store, the more modules there are to fit into the same printed width. Here is how little data the first four versions hold in byte mode:

VersionModulesLevel LLevel MLevel QLevel H
121 x 2117 characters14117
225 x 2532262014
329 x 2953423224
433 x 3378624634

The 32-character short link of a dynamic code, such as https://qrcodable.com/r/Ab3dE9xQ, fits in version 3 at level M (29 by 29 modules). A 120-character link with tracking parameters needs version 7 (45 by 45 modules). Printed 3 cm wide, the dots shrink from about 1.0 mm to about 0.67 mm, and the code becomes noticeably less forgiving. That is the reason experienced printers shorten the link before they enlarge the code.

The quiet zone is part of the size

The border of empty space around a code is called the quiet zone, and the specification asks for at least four modules on every side. The calculator reports it separately so you can plan the artwork: a 3 cm code with 29 modules has dots of about 1 mm, so it needs a clear 4 mm margin all round, making the full footprint about 3.8 cm. Designers often trim this margin to make a layout tighter, and it is the most common reason a code works on screen but fails on a printed leaflet.

Four checks before you print

Remember: the results are guidance based on common practice, not a guarantee. Cameras, print quality and viewing angles vary, so always test a real print before a large run.

Frequently asked questions

How big should a QR code be?

For a code held in the hand, such as a business card or a table tent, 2 x 2 cm (about 0.8 inch) is a practical minimum. For anything read from further away, use the 10:1 rule of thumb: the code's width should be about one tenth of the scanning distance. A poster scanned from 2 metres needs a code roughly 20 cm wide. Dense codes need more, which is why this calculator also checks the module size.

What is the 10:1 rule for QR code size?

It is a rule of thumb, not a standard. Phone cameras read a code reliably when it fills a reasonable part of the frame, and in practice that works out at a distance about ten times the code's width. If people will scan from 3 metres, aim for a code about 30 cm wide. The calculator uses this rule together with a minimum dot size.

What is the quiet zone and how big must it be?

The quiet zone is the empty border around a QR code. The QR code specification asks for at least 4 modules (4 dots) of clear space on every side, and scanners use it to tell the code apart from the surrounding design. The calculator shows the exact width. Do not crop it, and keep text, borders and photos out of it.

Does error correction change the size?

Yes, indirectly. Higher error correction (Q or H) adds redundant data, which makes the code denser, with more and smaller dots. At the same printed width, a denser code has smaller dots and is harder to scan. Choose M for most uses and Q or H only when the code may be scratched, folded or partly covered by a logo.

What size should I export a QR code image at for print?

Export a vector file (SVG or PDF) when you can, because it stays sharp at any size. For a bitmap, the calculator gives the pixel size at 300 dpi for your printed width. Whole-number scaling matters: if the code plus its quiet zone is 37 modules wide, export at a multiple of 37 pixels so every dot has hard edges.