CIRCULATEQR

QR code glossary · Encoding and capacity

Data capacity

Also called: QR code capacity

Definition

Data capacity is the most content a QR code can hold, which depends on its version, error correction level and encoding mode; the largest code, version 40 at level L, holds 7,089 numeric digits, 4,296 alphanumeric characters, 2,953 bytes or 1,817 kanji characters.

How it works

Each version has a fixed number of codewords. The error correction level decides how many of them carry data, and the encoding mode decides how many characters fit in each bit. A little space also goes to a mode indicator and a character count.

Maximum capacity of a version 40 code, 177 × 177 modules (ISO/IEC 18004)
LevelNumericAlphanumericBytesKanji
L7,0894,2962,9531,817
M5,5963,3912,3311,435
Q3,9932,4201,6631,024
H3,0571,8521,273784

At the other end, version 1 at level L holds 41 digits, 25 alphanumeric characters or 17 bytes, and at level H only 17 digits or 7 bytes. A byte is not always a character: in UTF-8, accented letters take two bytes and most emoji take four.

Why it matters

The maximums are theoretical. A version 40 code is far too dense for a phone at any normal print size, so the useful question is how small the content can be, not how much fits. A QR code also cannot hold a file: a code “for a PDF” or video contains a link to it, and a contact card with a photo is far beyond any QR code’s capacity.

To keep codes easy to scan, encode short content, prefer a short URL over a long address, and leave out optional fields.

Example

Real content and the version it needs at level M (qrcode encoder)
ContentCharactersVersion
Short link283 (29 × 29)
WiFi login413 (29 × 29)
MECARD with name, phone and email594 (33 × 33)
Link with three UTM tags906 (41 × 41)
vCard 3.0 with name, phone and email1157 (45 × 45)

In CirculateQR

The free generators warn you when content will make a dense code, and dynamic codes keep only a short link in the pattern, whatever the destination.

Learn more

Sources

Last updated . Written by the CirculateQR team; technical facts follow the sources listed above. Example codes and sizes are computed with the open-source qrcode encoder that CirculateQR uses. Spotted something wrong? Email support@circulateqr.com. QR Code is a registered trademark of DENSO WAVE INCORPORATED.

← Browse the full glossary