Free tool · Works in your browser
QR Code Size Calculator (Free)
Enter how far away people will scan your code and what it holds, and get the smallest size to print it: the code’s width, its module size and the quiet zone around it. It follows the rules in our QR code size guide: about one tenth of the scanning distance, never under 2 cm, and larger for dense codes.
- No sign-up
- Metric and imperial
- Shows its working
- Versions 1 to 40
Work out your QR code’s size
Minimum code width
5.0 cm
2.0 in
Set by the 10:1 rule: one tenth of the scanning distance.
- With quiet zone
- 6.4 cm (2.6 in) square
- Quiet zone
- 6.90 mm (0.272 in) on each side: 4 modules
- Module size
- 1.72 mm (0.068 in)
- Code
- Version 3, 29 × 29 modules, level MA 37-character short link, like a dynamic code’s.
- For print
- SVG, or a PNG at least 591 px across the code (300 ppi)
A starting point, not a guarantee: light, angle, camera, print quality and the surface all matter. Print a proof at this size and test it with an iPhone and an Android phone.
How to use the calculator
Enter the scanning distance
How far the phone will be from the code where it is used, such as 40 cm for a table tent or 3 m for a poster. Size for the farthest likely scan.
Say what the code will hold
A short link, the exact content, a character count, or the QR version if you know it. More content means more modules.
Choose the error correction level
M suits most printed codes. Choose H if a logo will cover part of the code.
Read the minimum size
Print the code at least this wide, keep the quiet zone clear on every side, and test a printed proof at the real distance.
How the size is worked out
The calculator applies the rules from our QR code size guide, so the two always agree. Distances and sizes are in millimetres:
module size = max(0.7 mm, distance ÷ 330) code width = max(distance ÷ 10, 20 mm, modules across × module size) quiet zone = 4 × module size, on every side total width = code width + 2 × quiet zone
- The 10:1 rule. A code should be at least one tenth as wide as the distance it is scanned from. It is a printers’ rule of thumb, not part of the QR standard, and it is stated for codes holding a short link, about 25 to 33 modules across.
- The 2 cm floor. Below about 2 × 2 cm, phone cameras struggle to focus close enough, and small print errors merge neighboring modules.
- Module size. Modules should be at least about 0.7 mm for close-up scanning, and grow in proportion to distance beyond that. The calculator uses the module size the 10:1 rule gives a 33-module code (distance ÷ 330); the two limits meet at about 23 cm. Denser codes are made wider so their modules stay that big.
- Modules across. A version v code is 17 + 4v modules across: 21 for version 1, up to 177 for version 40. Pasted content is measured with the open-source qrcode encoder our free generators use, which picks the smallest version that fits. A character count is treated as bytes, as a URL is stored.
- Quiet zone. ISO/IEC 18004 asks for a blank margin 4 modules wide on every side, in the background color.
The result is a starting point, not a guarantee. Light, viewing angle, the phone’s camera, print quality and the surface all shift how well a code reads, so print a proof at size and test it where it will be used.
Minimum sizes for common uses
The same content needs more room as it gets longer. At error correction level M, a 37-character short link is version 3 (29 × 29 modules), a 116-character URL with tracking tags is version 7 (45 × 45), and a 236-character contact card is version 11 (61 × 61).
| Distance | Short link29 modules | Long URL with UTM tags45 modules | Contact card (vCard)61 modules |
|---|---|---|---|
| Business card25.0 cm | 2.5 cm1.0 in | 3.5 cm1.4 in | 4.7 cm1.9 in |
| Flyer or menu50.0 cm | 5.0 cm2.0 in | 6.9 cm2.7 in | 9.3 cm3.7 in |
| Counter sign, A4 poster1.00 m | 10.0 cm4.0 in | 13.7 cm5.4 in | 18.5 cm7.3 in |
| Shop window2.00 m | 20.0 cm7.9 in | 27.3 cm10.8 in | 37.0 cm14.6 in |
| Banner5.00 m | 50.0 cm19.7 in | 68.2 cm26.9 in | 92.5 cm36.4 in |
Error correction moves these numbers too: the 37-character short link becomes version 5 (37 × 37 modules) at level H. See QR code error correction levels for when the extra density is worth it.
QR code versions and capacity
The QR standard defines 40 versions. Each holds a fixed amount of data at each error correction level; the table gives the most bytes (letters, digits and symbols in a URL count as one byte each) per ISO/IEC 18004. Content made only of digits fits about 2.4 times as many characters, and content made only of uppercase letters, digits and a few symbols about 1.45 times, because the standard packs them more tightly. Codes for phones are usually version 10 or smaller.
| Version | Modules | L | M | Q | H |
|---|---|---|---|---|---|
| 1 | 21 × 21 | 17 | 14 | 11 | 7 |
| 2 | 25 × 25 | 32 | 26 | 20 | 14 |
| 3 | 29 × 29 | 53 | 42 | 32 | 24 |
| 4 | 33 × 33 | 78 | 62 | 46 | 34 |
| 5 | 37 × 37 | 106 | 84 | 60 | 44 |
| 6 | 41 × 41 | 134 | 106 | 74 | 58 |
| 7 | 45 × 45 | 154 | 122 | 86 | 64 |
| 8 | 49 × 49 | 192 | 152 | 108 | 84 |
| 9 | 53 × 53 | 230 | 180 | 130 | 98 |
| 10 | 57 × 57 | 271 | 213 | 151 | 119 |
Versions 11 to 40
| Version | Modules | L | M | Q | H |
|---|---|---|---|---|---|
| 11 | 61 × 61 | 321 | 251 | 177 | 137 |
| 12 | 65 × 65 | 367 | 287 | 203 | 155 |
| 13 | 69 × 69 | 425 | 331 | 241 | 177 |
| 14 | 73 × 73 | 458 | 362 | 258 | 194 |
| 15 | 77 × 77 | 520 | 412 | 292 | 220 |
| 16 | 81 × 81 | 586 | 450 | 322 | 250 |
| 17 | 85 × 85 | 644 | 504 | 364 | 280 |
| 18 | 89 × 89 | 718 | 560 | 394 | 310 |
| 19 | 93 × 93 | 792 | 624 | 442 | 338 |
| 20 | 97 × 97 | 858 | 666 | 482 | 382 |
| 21 | 101 × 101 | 929 | 711 | 509 | 403 |
| 22 | 105 × 105 | 1,003 | 779 | 565 | 439 |
| 23 | 109 × 109 | 1,091 | 857 | 611 | 461 |
| 24 | 113 × 113 | 1,171 | 911 | 661 | 511 |
| 25 | 117 × 117 | 1,273 | 997 | 715 | 535 |
| 26 | 121 × 121 | 1,367 | 1,059 | 751 | 593 |
| 27 | 125 × 125 | 1,465 | 1,125 | 805 | 625 |
| 28 | 129 × 129 | 1,528 | 1,190 | 868 | 658 |
| 29 | 133 × 133 | 1,628 | 1,264 | 908 | 698 |
| 30 | 137 × 137 | 1,732 | 1,370 | 982 | 742 |
| 31 | 141 × 141 | 1,840 | 1,452 | 1,030 | 790 |
| 32 | 145 × 145 | 1,952 | 1,538 | 1,112 | 842 |
| 33 | 149 × 149 | 2,068 | 1,628 | 1,168 | 898 |
| 34 | 153 × 153 | 2,188 | 1,722 | 1,228 | 958 |
| 35 | 157 × 157 | 2,303 | 1,809 | 1,283 | 983 |
| 36 | 161 × 161 | 2,431 | 1,911 | 1,351 | 1,051 |
| 37 | 165 × 165 | 2,563 | 1,989 | 1,423 | 1,093 |
| 38 | 169 × 169 | 2,699 | 2,099 | 1,499 | 1,139 |
| 39 | 173 × 173 | 2,809 | 2,213 | 1,579 | 1,219 |
| 40 | 177 × 177 | 2,953 | 2,331 | 1,663 | 1,273 |
Tips for printing QR codes at the right size
- Measure where people will actually stand. A poster across a room is scanned from further away than one beside a counter.
- Keep the content short. A dynamic code’s short link stays at the same size however long the destination is, so the code can stay small.
- Leave the quiet zone clear: no text, borders, photos or page edges inside it.
- Use dark modules on a light background, and avoid glossy or reflective finishes where you can.
- Export an SVG for print, or a PNG with at least 300 pixels per inch at the final size.
- Print a proof at the real size and scan it with an iPhone and an Android phone, in the real light, before the full run.
Need the code itself? The free QR code generator exports SVG and PNG, and a dynamic QR code keeps a short link inside so you can change where it goes after printing.
QR code size questions
What is the minimum size for a QR code?
About 2 × 2 cm (0.8 in) for a code scanned up close, as long as it holds a short link. Denser codes, such as a full contact card, need to be larger so each module stays at least about 0.7 mm across.
How big should a QR code be to scan from 3 meters?
About 30 cm (12 in) wide for a code holding a short link: one tenth of the distance. A code with more content needs more, and the calculator works out how much from the content you give it.
What is a module?
One of the small squares a QR code is made of. Version 1 is 21 modules across, and each version adds 4, up to 177 at version 40. The module size is the code’s printed width divided by the number of modules across.
How much quiet zone does a QR code need?
Four modules on every side, as the QR code standard (ISO/IEC 18004) specifies, in the same light color as the code’s background. For a 3 cm code with 29 modules across, that is about 4.1 mm per side.
Does error correction change the size?
Yes. Higher levels add redundant data, so the same content needs a larger version with more modules, and the code must be printed larger to keep each module the same size. A 37-character link is version 3 (29 modules) at level M and version 5 (37 modules) at level H.
How far away can a QR code be scanned?
Roughly ten times its width in good conditions, so about 1 m for a 10 cm code. Light, viewing angle, the phone’s camera and how dense the code is all shift that, so test at the real distance.
Related
- QR code size guideThe 10:1 rule, minimum sizes, contrast and file formats
- Error correction levelsHow L, M, Q and H change a code’s density
- Dynamic vs static QR codesWhy a short link keeps a code small
- Free QR code generatorMake a code and download it as SVG or PNG
- QR code scannerRead a code and see its version
- QR codes on packagingPrint specs for small codes on products