QR code version

Also called: symbol version, QR code size

Definition

A QR code version is the size of the symbol, numbered 1 to 40. Version 1 is 21 × 21 modules and each version adds 4 modules per side, up to 177 × 177 modules for version 40.

How versions are numbered

The version number sets the grid size. The side length in modules is 17 plus 4 times the version, so version 1 is 21 × 21, version 2 is 25 × 25, and version 40 is 177 × 177.

The version is about module count, not physical size. A version 2 code can be printed as large as a billboard or as small as a postage stamp; what changes with the version is how much data fits and how fine the modules are.

  • Version 1: 21 × 21 modules
  • Version 2: 25 × 25 modules
  • Version 10: 57 × 57 modules
  • Version 25: 117 × 117 modules
  • Version 40: 177 × 177 modules
  • Micro QR M1 to M4: 11 × 11 to 17 × 17 modules

How the version is chosen

Most generators pick the smallest version that holds the data at the chosen error correction level. Longer content, a less efficient encoding mode or a higher error correction level all push the code to a larger version.

A higher version means more, smaller modules at the same printed size, so it needs a sharper print and a closer or better camera. Keeping content short, for example by using a short link, keeps the version low and the code easy to scan.

Structural changes by version

The version also decides which fixed patterns appear. Version 1 has no alignment pattern, versions 2 and up have one or more, and versions 7 and up carry version information blocks beside two of the finder patterns.

Frequently asked questions

What is the biggest QR code version?

Version 40, which is 177 × 177 modules. At error correction level L it holds up to 7,089 digits or 2,953 bytes.

Does a higher QR code version mean a bigger printed code?

Not necessarily. The version is the number of modules; the printed size is up to you. A higher version at the same print size just has smaller modules.

Which QR code version should I use for a URL?

Most short URLs fit in versions 2 to 5. Let the generator pick the smallest version, and shorten long links so the code stays simple.

Sources and standards

All terms