Skip to content
Optical Engineering Tool

QR Code Size and Scan-Distance Calculator

Determine the mathematically optimal print dimensions for posters, packaging, table tents, and billboards based on camera sensor physics, viewing distance, and ambient lighting.

1. Enter Expected Viewing Distance

m
Handheld (0.3m / 1ft)Poster (1.5m / 5ft)Storefront (5m / 16ft)Billboard (20m / 65ft)

2. Environmental & Payload Factors

Calculation ResultsOptical Standard Verified
Recommended Print Width
15.0 cm
(5.9 inches / 150 mm)
Absolute Minimum Size:12.5 cm (125 mm)
Calculated Ratio:10:1 Distance-to-Size
Estimated Module Size ($W_m$):4.55 mm
Minimum Quiet Zone Margin:18.2 mm on each side

How to Calculate the Exact Physical Print Size for Any QR Code

The most prevalent reason a printed QR code fails in the real world is improper optical scaling. Unlike human eyes that can adjust focus and interpret context, mobile camera sensors depend on physical pixel coverage across each discrete module of the matrix. If a user cannot comfortably stand close enough to cover the sensor’s focal threshold, the image binarization algorithm will register the code as ambient visual noise.

The 10:1 Ratio Rule Explained

In typical commercial environments, the standard optical baseline is the 10:1 scanning ratio. This means the scanning distance should not exceed 10 times the width of the printed QR code. For instance:

  • Tabletop Restaurant Menus (scan distance 30 cm): Minimum width = 3.0 cm (1.2 inches).
  • Eye-Level A4 Posters & Flyers (scan distance 1.2 meters): Minimum width = 12 cm (4.7 inches).
  • Storefront Window Signage (scan distance 3 meters): Minimum width = 30 cm (11.8 inches).
  • Elevated Trade Show Banners (scan distance 6 meters): Minimum width = 60 cm (23.6 inches).

When to Use the Conservative 8:1 Ratio

The 10:1 ratio assumes optimal conditions: a clean camera lens, direct daylight or 400+ lux illumination, a high-contrast black-on-white substrate, and a low-density payload (such as a 25-character URL). You should immediately scale up to the conservative 8:1 ratio when:

  1. The QR code is placed behind glass or acrylic, which creates specular reflection and glare.
  2. The lighting is dim, such as in cocktail lounges, nightclubs, or underground transit stations.
  3. The payload contains a dense vCard or long URL containing multiple UTM tracking strings.
  4. The QR code incorporates a custom logo in the center, which reduces available error correction headroom.

Common Sizing Mistakes That Destroy Scannability

  • Cropping the Quiet Zone: The white margin around the QR code must be at least 4 modules wide. Cropping this border so that graphic design elements or photos touch the finder pattern squares causes instant scan failure.
  • Exporting as 72 DPI Raster JPG: When a low-resolution JPG is enlarged for print, JPEG compression introduces ringing artifacts around high-contrast edges. Always export as vector SVG or 300+ DPI PNG.
  • Ignoring Phone Camera Minimal Focal Distance: Most modern smartphones cannot focus on objects closer than 8 to 10 cm without switching to specialized macro modes. Printing a microscopic 10 mm QR code forces users into the camera's blur zone.

Frequently Asked Questions About QR Sizing

What is the standard scan-distance-to-size ratio for QR codes?

The universal optical rule of thumb is a 10:1 ratio. For every 10 units of scanning distance, the QR code should measure at least 1 unit in width (e.g., 100 cm distance requires a 10 cm wide QR code). Under low light or high data density, use an 8:1 ratio.

What is the absolute minimum physical size for a printed QR code?

For handheld materials (business cards, product labels) scanned from 15 to 20 cm away, the absolute minimum size is 20 x 20 mm (0.8 x 0.8 inches). Anything smaller risks optical focus failure on budget smartphones.

Does the amount of data in the QR code change the required size?

Yes. As payload length increases (such as long URLs with UTM parameters or full vCards), the QR code adds more rows and columns (modules). More modules mean each individual square is smaller, requiring a larger overall print size to scan reliably.

How large should a QR code be on a highway billboard?

A billboard intended to be scanned from 25 meters away requires a QR code at least 2.5 meters (approx. 8.2 feet) wide. However, never place QR codes targeting drivers moving at high speeds due to severe road safety hazards.