QR Code Size Guide: Why Resizing Matters and How to Do It Properly

Published 13 October 2026 by the QRCodeBarn team.

A QR code that scans perfectly on your screen can fail completely once it is printed on a business card or stuck in a shop window. Usually the problem is not the code itself. It is the size it was printed at, the margin around it, or the way the image was enlarged. This guide explains what goes wrong, how big a code needs to be for common jobs, and how to resize one without breaking it.

What goes wrong when a QR code is the wrong size

A QR code is a grid of small black and white squares called modules. A phone camera has to see each module clearly enough to tell dark from light. Most scanning problems come from one of four mistakes.

How big should a QR code be? Minimum sizes by use

The most useful planning rule in the industry is that a QR code scans comfortably from about ten times its own width. It is a rule of thumb, not part of the official standard, but it is a sensible starting point. For close-up, hand-held items, around 2 cm × 2 cm (0.8 in) is the practical minimum most printers and guides recommend.

Use Typical scanning distance Suggested minimum code width
Business card 20–25 cm (in the hand) 2–2.5 cm
Product packaging or label 20–30 cm 2–3 cm
Flyer or leaflet (A5/A4) 30–40 cm 3–4 cm
Menu or table talker 30–50 cm 3–5 cm
Poster on a wall (A3/A2) 1–1.5 m 10–15 cm
Shop window or noticeboard sign 2–3 m 20–30 cm
Large outdoor signage or banner 5 m+ 50 cm+

These sizes are for the code itself. Add the quiet zone on top, and size up if your code holds a lot of data (see below).

The distance-to-size rule, with worked examples

To work out a size, divide the distance people will scan from by ten.

Always round up rather than down. Distance, lighting and glare all eat into the margin of safety.

Don't forget the quiet zone

The international QR code standard, ISO/IEC 18004, requires a clear border called the quiet zone around every side of the code. For standard QR codes it must be at least four modules wide, and the same colour as the light modules (usually white).

In practice: count the squares across your code, work out how wide one module is, and leave four of those widths clear on every side. For a 2 cm code with 29 modules across, one module is about 0.7 mm, so you need about 2.8 mm of clear space all round. Don't let a coloured background, a frame, a crop mark or a fold run into that space.

Vector vs raster, and DPI for print

There are two kinds of image file:

For raster print, the usual target is 300 DPI (dots per inch) at the final printed size. To check whether a PNG is big enough, divide its pixel width by 300 to get the maximum print width in inches. Multiply by 2.54 for centimetres. A 600-pixel image gives 2 inches (about 5 cm) at 300 DPI.

If you must enlarge a PNG, use nearest-neighbour scaling (sometimes called "hard edges" or "no smoothing" in design software), ideally by a whole number such as 2×, 3× or 4×. This keeps every module a crisp block instead of a soft blur.

How data length and error correction affect module size

Not all QR codes have the same number of modules. The more data you put in, the more modules the code needs. The smallest QR code (Version 1) is 21 × 21 modules, and each version up adds four modules per side, to a maximum of 177 × 177. Printed at the same size, a denser code has smaller modules, so it is harder to scan.

Error correction adds the same kind of trade-off. QR codes have four levels, set out in ISO/IEC 18004, that let a damaged or partly covered code still be read:

Higher levels are more robust, which is useful for codes with a logo or on surfaces that may get scuffed, but they also add more modules. As a rough example, a 40-character web address fits in a 29 × 29 code at level M, but needs 37 × 37 at level H. On a 2 cm code, that shrinks each module from about 0.69 mm to about 0.54 mm.

The practical takeaway: keep the content short. Use a short, clean URL instead of a long tracking link. If a small printed item needs to hold a lot, make the code bigger.

How to resize a QR code made with QRCodeBarn

Here is how to get a correctly sized code from the free QR code generator:

  1. Enter your content. Choose the QR type (URL or text, WiFi network, business card / vCard, email or SMS) and fill in the details. Keep URLs as short as you reasonably can.
  2. Keep dark on light. You can change the foreground and background colours, but strong contrast, such as near-black on white, gives the best results at small sizes. See our guide to QR code colours and contrast.
  3. Download the PNG. The generator creates a 240 × 240 pixel code with high (H) error correction, so it stays readable even if it gets a little damaged. At 300 DPI that image prints at about 2 cm wide, which is exactly right for a business card or small label.
  4. Scaling up for bigger prints. For flyers, posters and signs, enlarge the PNG in your design software using nearest-neighbour scaling and whole-number multiples (for example 4× to 960 pixels, which is about 8 cm at 300 DPI). Always lock the proportions so the code stays square.
  5. Add the quiet zone yourself. The downloaded image is the code itself, so leave a clear light border of at least four modules on every side when you place it in your layout.
  6. Test at final size. Print a proof and scan it before ordering the full run (see the checklist below).

For printable signs with an instruction beside the code, the QR code template builder gives you a ready-made layout to start from.

Test-before-print checklist

Our step-by-step guide on how to test a QR code goes into each check in more detail.

Frequently asked questions

What is the smallest size a QR code can be printed?

For codes scanned in the hand, around 2 cm × 2 cm (0.8 in) is the practical minimum, plus the quiet zone. Smaller codes can work if they hold very little data and are printed sharply, but always test a proof first.

Can I make a QR code bigger without it becoming blurry?

Yes. Vector formats scale without any loss. For a PNG, enlarge it using nearest-neighbour scaling by a whole number (2×, 3×, 4×) so the modules stay crisp, and keep the proportions locked.

Does a bigger QR code scan from further away?

Yes. As a rule of thumb a code can be scanned from about ten times its width, so a 10 cm code works from about 1 metre. Lighting, viewing angle and how much data the code holds all affect this.

How much white space does a QR code need around it?

The ISO/IEC 18004 standard requires a quiet zone at least four modules wide on every side, in the same light colour as the code's background.

Why does my QR code look more complicated than someone else's?

It holds more data, uses a higher error correction level, or both. Shortening the URL makes the pattern simpler and easier to scan at small sizes.

For more on sizing, see our best QR code size for printing and QR code distance guide, or read QR code error correction explained.

This article was drafted with AI assistance and reviewed for accuracy. Read our editorial policy and AI content policy.