QR code size calculator
Enter how far away people will scan from. Get the smallest width your code still reads at, quiet zone included.
A QR code should be at least one tenth of the scan distance wide, for a code with 25 squares across, and larger when it holds more data. A short-link code read from 30 cm needs about 4.2 cm; one on a sign read from 3 m needs about 42 cm. Pick the distance and what the code holds below, and the calculator gives the minimum width with the white margin included, by the same rule the print check in our generator uses.
How the size is worked out
-
Distance divided by ten
The starting point is a rule of thumb printers use: the code is one tenth of the distance it is scanned from, for a code 25 squares across.
-
Scaled by the number of squares
A code that holds a long address or a contact has more squares, so each square shrinks. The width grows in step so each square stays readable.
-
Never under 0.4 mm per square
Below that, printers and phone cameras blur the squares together, whatever the distance.
-
Plus the quiet zone
The white margin around the code is part of it. The result includes the margin the generator draws by default.
When to go bigger
-
Poor light or a curved surface
Bottles, cups and dim restaurants need some extra room. Add a quarter to the result.
-
Logos and colours
A logo or low contrast makes phones work harder. The print check in the generator tests your exact design.
-
People walking past
On posters and windows, people scan while moving and from an angle. Plan for the far end of the distance, not the near one.
-
Editable codes are smaller
An editable code holds only a short link, so it has fewer squares and can print smaller than a fixed code with a long address.
Questions and answers
What is the minimum size of a QR code?
For a short link scanned from about 20 cm, roughly 2.8 cm wide including the white margin. Smaller codes can still work when printed very sharply, but every millimetre below the rule makes scanning slower on older phones.
How big should a QR code be on a poster?
Measure where people will stand. Read from 1 m, a short-link code needs about 14 cm; read from 2 m, about 28 cm. Use the calculator for the exact figure.
Does a bigger QR code scan better?
Up to a point. A code that is too large for a close distance can overflow the camera view, but that rarely happens below a metre wide.
Why does the content change the size?
More data means more squares in the same space. Each square gets smaller, so the code needs to grow to keep every square readable.
Can I print the table for my shop?
Yes. The size and distance poster is a free PDF with the minimum widths for common distances and code sizes, made from the same calculation.
Related tools and guides
- QR code scanner: read a code from your camera or an image
- Barcode generator for EAN, UPC, ISBN, GS1-128, Data Matrix and more
- Embed a QR code generator
- QR code lapse rules: what happens when you stop paying
- Free QR code generator
- QR code types
- Plans and passes
oqrely is not affiliated with any service listed here.
Get the right size the first time
Make your code in the generator: the print check tells you the smallest width your exact design prints well at.