Technical Reference

QR Code Versions and Data Capacity

Understand QR versions 1 through 40, module counts, payload size, error correction, and why more data creates denser symbols.

Quick answer

Quick answer

Standard QR Code versions run from Version 1 to Version 40. DENSO WAVE documents Version 1 as a 21×21-module symbol and Version 40 as 177×177 modules, with each higher version adding four modules per side. The amount of data a code can hold depends on version, data mode, and error-correction level. This is why there is no single character limit for every QR code and why long payloads can force a denser symbol.

Key points

  • Version controls the number of modules in the symbol.
  • Higher versions provide more data capacity but create denser visuals.
  • Capacity depends on whether the data is numeric, alphanumeric, byte, or another supported mode.
  • Higher error correction uses more capacity for redundancy.
  • A technically valid high-capacity QR may still need a large physical size for reliable real-world scanning.

What to do

  1. 1Use the shortest practical payload before worrying about maximum capacity.
  2. 2Choose the required error-correction level.
  3. 3Let the encoder select an appropriate version unless you have a technical reason to constrain it.
  4. 4Inspect the resulting module density in the actual design size.
  5. 5Test physical or screen scanning at the intended distance.
Common mistakes to avoid

Common mistakes to avoid

  • Quoting one maximum character number without specifying data mode and error correction.
  • Forcing a very small version for data that does not fit comfortably.
  • Using the maximum theoretical capacity in a tiny printed symbol.
  • Assuming two URLs of similar visual length always encode to the same QR version.

Frequently asked questions

How many QR code versions are there?

Standard QR Code versions run from 1 through 40.

How many modules are in QR Version 1?

Version 1 is 21×21 modules.

How many modules are in QR Version 40?

Version 40 is 177×177 modules.

Does a higher QR version mean better quality?

No. It means more modules and more capacity, not automatically better scanning or visual quality.

What determines QR capacity?

Version, encoding mode, error-correction level, and the actual payload all affect capacity.

Why did my QR suddenly become denser after editing the URL?

The longer or differently encoded payload may have crossed a capacity threshold that required a higher version.

Can I force a smaller QR version?

Only if the payload and correction level fit. An encoder cannot safely place too much data into an undersized version.

Is maximum capacity a good target?

Usually not for consumer scanning. Leave practical margin for physical size, camera resolution, and real-world conditions.

Sources and further reading

Technical or policy-sensitive statements in this guide are grounded in primary or authoritative references where available.

Ready to test the QR workflow?

Create a QR and explore the static, dynamic, normal, or Spiral approach that fits your use case. This guide stays independent of any fixed package or price.

Try Spiral QR