Basics

QR Codes Explained: A Practical Guide

QR codes are everywhere, yet small mistakes — low contrast, wrong size, poor placement — stop them working. Here is how to get them right.

Updated 16 September 2026 · 8 min read
Advertisement

What a QR code is

A QR (Quick Response) code is a two-dimensional barcode. It stores data in a grid of black and white modules plus three large finder patterns in the corners that let a scanner locate and orient it.

Unlike a 1D barcode, a QR code holds far more data and can be scanned from any angle. Create one with the free QR code generator.

What the parts do

  • Finder patterns — the three corner squares scanners lock onto.
  • Alignment patterns — keep it readable when skewed.
  • Data modules — your encoded content.
  • Error correction — redundancy that lets the code survive damage.

Error correction levels

QR codes can recover from partial damage thanks to Reed–Solomon error correction:

Level Recovery Use for
L ~7% Clean digital screens
M ~15% General use
Q ~25% Print, some wear
H ~30% Logos overlaid, harsh conditions

Higher correction means a denser code for the same data. H is best when you overlay a logo.

Choosing the right size

The rule of thumb: scanning distance ≈ 10× the code width.

Distance Minimum size
30 cm (1 ft) 3 cm
1 m 10 cm
3 m 30 cm

Add a quiet zone (blank margin) of at least 4 modules around the code.

Contrast, colour and testing

  • Dark code on a light background. Never invert the contrast.
  • Avoid low-contrast colours (yellow on white, red on blue).
  • Test on real phones — several, on both iOS and Android, in the actual lighting.
  • Do not stretch or skew the code; keep it square.

Common mistakes

  1. Code too small for the scan distance.
  2. No quiet zone around the code.
  3. Low contrast or inverted colours.
  4. Placing it where people cannot comfortably scan (behind glass, too high).
  5. Over-styling until the pattern breaks.
  6. Using a dynamic short link that later dies.

Create yours

Generate a clean, high-contrast QR code with the free QR code generator — download PNG or SVG, no signup, everything runs in your browser.

Advertisement
Help Center

QR Codes Explained: A Practical Guide — FAQ

A static QR code contains the data itself and never expires. A dynamic QR code points to a short link, so it works only while that link is active.

A common rule is a scanning distance of about 10× the code width. For a scan from 30 cm, make the code at least 3 cm (1.2 in) wide.

Usually low contrast, too small a size, a too-quiet margin around the code, distortion (curved surfaces), or a damaged/over-styled pattern.

Keep reading
Advertisement