QR Code Barcode: Size, Structure and Check Digit
Barcodes · 2D and stacked codes
QR Code: 2D matrix. Data: Up to 7,089 digits / 4,296 alphanumeric / 2,953 bytes (version 40-L). Error checking: Reed–Solomon, levels L 7 %, M 15 %, Q 25 %, H 30 %. Standard: ISO/IEC 18004. Typical use: URLs, payments, tickets, GS1 Digital Link on packaging.
- Type
- 2D matrix
Drawing
QR Code specifications
| Type | 2D matrix |
|---|---|
| Character set | Numeric, alphanumeric, bytes (UTF-8), Kanji |
| Data length | Up to 7,089 digits / 4,296 alphanumeric / 2,953 bytes (version 40-L) |
| Check digit / error correction | Reed–Solomon, levels L 7 %, M 15 %, Q 25 %, H 30 % |
| Standard | ISO/IEC 18004 |
| Quiet zone | 4 modules each side |
| Symbol size | 21 × 21 (version 1) to 177 × 177 modules (version 40) |
| Typical use | URLs, payments, tickets, GS1 Digital Link on packaging |
QR Code has 40 versions; version V is 17 + 4V modules square. The three large squares in the corners are finder patterns that let a scanner find position and rotation; the alternating timing lines and smaller alignment patterns (from version 2) fix the module grid. Choose error correction M (15 %) for clean print and H (30 %) when a logo covers part of the code or the surface may be damaged.
Also known as
All barcode types
Sources
- GS1 General Specifications (Release 24.0): §5 symbol specifications, symbol specification tables
- GS1: How to calculate a check digit manually
- GS1 Sweden: Barcode size guide (X-dimension and height tables)
- GS1 UK: How big should an ITF-14 barcode be?
- ISO/IEC 15420 (EAN/UPC), 15417 (Code 128), 16388 (Code 39), 16390 (ITF), 24724 (GS1 DataBar)
- ISO/IEC 18004 (QR Code), 16022 (Data Matrix), 15438 (PDF417), 24778 (Aztec Code)
- JsBarcode (MIT): Code 128 / Code 39 / Codabar pattern tables used to cross-check the drawings
Values last checked against these sources on November 15, 2026. · How we check data
Reference values for planning and identification. Confirm critical dimensions with the manufacturer's drawing or the current edition of the standard before production.