Toolvito

Calculates on this device. File exports run online.

QR Code Print Size Calculator

Type the data of your QR code and how far away people will scan it. The page works out the version the data needs, the module size and the smallest printed size, with the quiet zone. Or type a printed size to see what it can hold. Then make a test code at that size and try it.

Enter your values

Type the data (or its length) and how far away it will be scanned. The page gives the version, the module size and the printed size.

Your values

The text or address the code will hold. Leave it empty to plan by length.

How far away people will hold the phone or scanner.

Your printer’s and scanners’ limit. Phones at hand distance often manage 0.3 to 0.5 mm (common usage).

More options

A common rule of thumb is about 10 (a code read from 1 m is about 10 cm wide). It is not a standard: test a print.

Your values are worked out in this browser. They are not sent to a server.

Your result will show here

Fill in the values, then choose Calculate.

Make a test code or save the numbers

Task
Make a test code at this size

A QR code of your data (or of a sample of the same length) at the computed module size, read back before it is delivered. Print it at 100 % and try it from the real distance.

More options

The print sizes are calculated on your device. When you request a sample code or document, Toolvito receives the data needed to make it. Download the result within one hour after the job finishes. Choose Delete files now to request earlier removal. The hourly cleanup normally removes files within one to two hours after completion.

How the size is worked out

  1. The data sets the version: the page counts the bits of the text in one mode (digits, capitals and a few signs, or any text as UTF-8 bytes) and takes the smallest version whose data capacity at your error correction level holds them.
  2. A version-v code is 17 + 4 × v modules wide: 25 modules for version 2, 57 for version 10.
  3. The width is the larger of the scanning distance ÷ the ratio, and the modules × the smallest module size that prints and scans well.
  4. The quiet zone, a light margin of 4 modules on every side, is added to give the printed size.

The distance rule of thumb

A rule of thumb in common use says a code reads from about 10 times its width: a code 3 cm wide from about 30 cm, 10 cm wide from about 1 m. It is not a standard. Phone cameras, light, the angle, the contrast and the print all change it, so the ratio can be changed under More options, and a test print is the real check.

Error correction

A higher level (L, M, Q, H restore about 7, 15, 25 and 30 % of a damaged code) holds less data in the same version, so the code gets bigger. The table in the result shows the same data at every level.

The test code

The box below makes a QR code of your data at the computed module size (between 0.1 and 2 mm, the export service’s range) and reads it back in a blurred, unevenly lit picture, a stand-in for a phone camera. A code that cannot be read is not delivered. The encoder there may mix modes and make a slightly smaller code than the page’s count.

Related tools