All tools

Free tool

QR code size calculator

Enter how far away people will stand when they scan, and optionally what the code will contain, to get the smallest size you should print it. The answer uses the common rule of thumb that a code should be about one tenth of the scanning distance.

How far the phone will be from the code when someone scans it.

Unit of distance

Paste the link or text. Longer content makes a denser code, which has to be printed larger.

Minimum recommended size

10 cm3.94 in

Each side of the code, not counting the blank margin, for scanning from 1 m.

Distance ÷ 10
10 cm
Density
Not given
Module size
Add content to see it

How that compares

Typical code sizes for common uses, using the same distance ÷ 10 rule.

  • Business card at 20 cm2 cm
  • Table card at 30 cm3 cm
  • Your code10 cm
  • Poster at 1 m10 cm

Three things that matter as much as size

  • Leave a quiet zone

    Keep a blank margin at least 4 modules wide on every side. Text, borders or photos that touch the code stop phones finding it.

  • Dark on light

    Print a dark code on a light background with strong contrast. Pale colours, and light codes on dark backgrounds, fail on many phones.

  • Test before you print the run

    Print one copy at the final size and scan it from the real distance, with more than one phone, in the lighting it will be used in.

These sizes are guidelines, not guarantees. Lighting, print quality, the surface and the phone's camera all change how well a code scans.

How it works

About the numbers

How is the size worked out?

The starting point is the scanning distance divided by 10: a code read from 1 m should be about 10 cm across. If you add the content, the calculator counts the modules (the small squares) along one side. Codes with more than 25 modules are scaled up in proportion, so each square stays as large as it would be in a simple code.

What is a module, and why does its size matter?

A module is one of the small squares that make up the pattern. A phone has to tell every square from its neighbours, so what really limits scanning is the size of one module, not the size of the whole code. Below roughly 0.4 mm per module, ordinary printing and phone cameras start to struggle.

Why does a longer link need a bigger code?

More text needs more modules. Printed at the same overall size, the squares get smaller and harder to read from a distance. Shortening the link keeps the code simple, which lets you print it smaller. A dynamic QR code helps here, because it stores only a short link.

Does the size include the white border?

No. The recommended size is the pattern itself. Leave a blank margin of at least 4 modules on every side as well. When you add content, the calculator shows the total space to allow, including that margin.

Is the result a guarantee that the code will scan?

No. It is a guideline. Glossy or curved surfaces, poor lighting, low contrast, a logo covering part of the code and older phone cameras can all call for a larger size. Print one and test it from the real distance before you commit to a full run.