Menu

How big should a QR code be when printed? Minimum size, quiet zone and error correction for print
πŸ“°

How big should a QR code be when printed? Minimum size, quiet zone and error correction for print

DEV Community: javascriptΒ·Allan HallΒ·about 8 hours ago
#6rOxOg5T
#devtojavascript#devto#dev#modules#module
Reading 0:00
15s threshold

A QR code that looks sharp on a phone can fail in print: the modules are too small for the scanner, the quiet zone got cropped, or contrast disappeared on dark or glossy stock. This note is for developers generating codes for cards, labels or flyers.

The figures below come from DENSO WAVE, the inventor of QR Code, whose public documentation matches the model in ISO/IEC 18004 (first published as an ISO standard in 2000; current edition 2024). I am not quoting unpublished tables from the standard itself.

Size is module size times module count

A QR Code is a grid of square modules. Once you know the version, printed size is:

printed size = (modules + 2 Γ— quiet-zone modules) Γ— module size

Enter fullscreen mode

Exit fullscreen mode

DENSO WAVE's outline of the specification gives the grid sizes: Version 1 is 21 Γ— 21 modules, growing by four modules per side up to Version 40 at 177 Γ— 177. Version V is 21 + 4 Γ— (V βˆ’ 1) modules on a side. The payload, not a style option, usually picks the version.…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.