Developer Tools

What Is the Best Size and Format for QR Codes in Different Use Cases?

Understand how to determine optimal QR code sizes for various applications, from business cards to billboards, ensuring reliable scanning.

By Inventive HQ Team

Determining Optimal QR Code Size and Format

There is no single "best" QR code size; the correct size is set by the farthest distance a user will scan from, using the 10:1 rule — a code scans reliably from roughly 10 times its own width. That gives you fast, practical minimums: about 2-3cm for business cards and packaging scanned at arm's length, 5-10cm for posters, and 30cm to 1 metre-plus for billboards and vehicle signage read from across a room or street. On format, choose a vector file (SVG or EPS) whenever possible because it scales without blur; when you must use raster, use PNG at 300 DPI or higher and never JPG, whose lossy compression smears the module edges that scanners depend on. Two more rules decide whether a code works: keep the smallest modules at 1mm or larger, and preserve the 4-module quiet zone (roughly 4-5mm of blank margin) on every side.

That's the summary an AI Overview would hand you. What it can't show you is how those numbers relate, so the rest of this page gives you the concrete tools that generic prose flattens: a live QR generator to size and export against, an animated diagram of the distance-to-size relationship, a use-case-to-spec cheat sheet you can copy, and answers to the sizing questions people actually get wrong.

Loading interactive tool...

Every QR use case, sized at a glance

The table below is the fast reference. It maps each real-world context to a recommended physical or pixel size, the version range that fits typical data, the error-correction level that survives that environment, and the file format to export.

Use caseRecommended sizeTypical versionError correctionFormatWhen to use this row
Business card / document2-3cm (0.8-1.2")3-6M or QVector (SVG/EPS)Scanned at arm's length; keep data short
Product packaging2-4cm (0.8-1.6")3-8M or QVector or 300 DPI PNGShelf-distance scans, print durability matters
Poster / print ad5-10cm (2-4")5-15QVectorRead from 0.5-1m in variable light
Billboard / large sign30cm-1m+ (12-40"+)20-40Q or HVectorRead from 3-10m; the 10:1 rule dominates
Vehicle decal / outdoor20-50cm (8-20")15-25HVector on vinylUV/weather exposure, motion, glare
Digital display / mobile200-400 pxData-dependentMSVG or PNGOn-screen; keep 100px absolute minimum
Email / web150-300 px4-8MPNG (or SVG)Always add a fallback text link

Which should you use? Start from the row that matches how far away the user stands, not how the code looks on your mockup. If two rows are close, size up: an oversized code costs a little layout space, an undersized one costs every scan.

How distance drives size (the 10:1 rule, animated)

The single biggest sizing mistake is picking a size that looks fine in a design file and fails in the field. The relationship is simple and worth internalizing: reliable scan distance is about ten times the code's width. Watch how the same content has to grow as the reader moves back.

Three contexts — business card scanned up close, poster scanned at mid range, and billboard scanned from far away — each pairing a growing QR code with roughly ten times its width in scanning distance. The 10:1 rule: scan distance ≈ 10 × code width Business card 3cm code ~30cm away Poster 10cm code ~1m away Billboard 1m code ~10m away

Size for the farthest realistic scan distance, then verify with a test print.

Understanding QR Code Versions and Physical Size

Version Numbers and Module Counts

QR codes come in 40 versions, numbered 1 to 40:

  • Version 1: 21×21 modules (smallest)
  • Version 2: 25×25 modules
  • Version 10: 57×57 modules
  • Version 20: 97×97 modules
  • Version 40: 177×177 modules (largest)

Each version increase adds 4 modules to both dimensions. The version required depends on how much data needs to be encoded and what error correction level you're using.

Module Size and Physical Dimensions

The physical size of a QR code depends on the module size (typically measured in millimeters or pixels):

1mm Module Size:

  • Version 1: 21mm × 21mm (0.83" × 0.83")
  • Version 10: 57mm × 57mm (2.24" × 2.24")
  • Version 20: 97mm × 97mm (3.82" × 3.82")

2mm Module Size:

  • Version 1: 42mm × 42mm (1.65" × 1.65")
  • Version 10: 114mm × 114mm (4.49" × 4.49")
  • Version 20: 194mm × 194mm (7.64" × 7.64")

3mm Module Size:

  • Version 1: 63mm × 63mm (2.48" × 2.48")
  • Version 10: 171mm × 171mm (6.73" × 6.73")
  • Version 20: 291mm × 291mm (11.46" × 11.46")

Minimum Size Guidelines

The 1cm Rule of Thumb

A common starting guideline is that the smallest modules should be at least 1mm (ideally 1.5-2mm) for reliable scanning with typical smartphone cameras. This translates to:

  • Version 1 (21×21): Minimum ~2cm × 2cm (with 1mm modules)
  • Version 5 (37×37): Minimum ~3.7cm × 3.7cm
  • Version 10 (57×57): Minimum ~5.7cm × 5.7cm

Codes smaller than 1cm × 1cm often fail to scan reliably without very close proximity or specialized cameras.

Two anatomy details decide reliability more than overall size: the module (the smallest black/white square, which must stay ~1mm+) and the quiet zone (the blank margin, minimum 4 modules on every side). The diagram below shows why crowding the margin breaks scanning even on a large code.

QR code anatomy: module size and the 4-module quiet zone A QR code shown with its blank quiet-zone margin highlighted on the left as good, and the same code crowded by text on the right as bad, with a callout for module size. Module size and quiet zone decide scannability 4-module quiet zone kept scans reliably margin crowded by artwork intermittent or failed scans
Advertisement

Scanning Distance Considerations

The physical size should account for typical scanning distances:

Point-of-Sale (1-3 feet away):

  • Minimum 2cm × 2cm
  • Typical 3-5cm × 3-5cm

Retail Shelf (6-12 inches away):

  • Minimum 3cm × 3cm
  • Typical 5-8cm × 5-8cm

Billboard/Large Sign (10-20 feet away):

  • Minimum 15cm × 15cm
  • Typical 30-50cm × 30-50cm

Vehicle/Parking Lot (30-50 feet away):

  • Minimum 30cm × 30cm
  • Typical 50-100cm × 50-100cm

Optimal Sizes for Specific Applications

Business Cards and Documents

Recommended Size: 2-3cm × 2-3cm (0.8-1.2 inches)

Specifications:

  • Typically Version 3-6
  • Error Correction Level M or Q
  • Positioned in corner or dedicated space
  • White border (quiet zone) of at least 5mm recommended

Best Practices:

  • Don't overwhelm the card design
  • Position where users naturally look
  • Ensure adequate white space around the code
  • Test scanning at arm's length

Product Packaging

Recommended Size: 2-4cm × 2-4cm (0.8-1.6 inches)

Specifications:

  • Version 3-8 depending on data
  • Error Correction Level M or Q for durability
  • Positioned prominently on packaging
  • High contrast with background color

Considerations:

  • Account for printing resolution (at least 300 DPI)
  • Test that ink dots don't blur together
  • Ensure codes remain distinct at shelf viewing distance
  • Position where scanning won't damage packaging

Posters and Print Advertising

Recommended Size: 5-10cm × 5-10cm (2-4 inches)

Specifications:

  • Version 5-15 for additional data capacity
  • Error Correction Level Q for outdoor durability
  • High-contrast colors
  • Professional alignment with design

Design Integration:

  • Consider making the code part of the design
  • Add descriptive text like "Scan for more information"
  • Ensure adequate white space
  • Test scannability in typical viewing distance

Large-Format Signage and Billboards

Recommended Size: 30cm-1m+ (12-40+ inches)

Specifications:

  • Version 20-40
  • Error Correction Level Q or H
  • Visible from significant distances
  • Weather-resistant printing

Deployment Considerations:

  • Calculate scanning distance: users should scan from 1-2 feet per 10cm of code size
  • A 50cm code is scannable from 5-10 feet away
  • Test from expected viewing distances
  • Consider lighting conditions

Vehicle Decals and External Signage

Recommended Size: 20-50cm × 20-50cm (8-20 inches)

Specifications:

  • Version 15-25
  • Error Correction Level H for weather resistance
  • High-contrast colors resistant to fading
  • Quality vinyl printing

Special Considerations:

  • Must withstand UV exposure and weather
  • Test scanning from vehicle windows
  • Account for motion when scanning from moving vehicles
  • Consider reflective surfaces and glare

Digital Display and Mobile

Recommended Size: 200-400 pixels × 200-400 pixels

Specifications:

  • Version depends on data length
  • Error Correction Level M for digital context
  • Scalable vector format when possible
  • High contrast on display background

Digital Considerations:

  • Ensure minimum 100-pixel size for mobile scanning
  • Test across different device sizes
  • Account for screen glare and reflections
  • Provide fallback text link

Digital Email and Online

Recommended Size: 150-300 pixels × 150-300 pixels

Specifications:

  • Typically Version 4-8
  • Error Correction Level M
  • SVG or high-resolution PNG format
  • Clickable with inline link fallback

Online Best Practices:

  • Include text alternative to QR code
  • Provide link and description text
  • Ensure code displays clearly at typical email viewing sizes
  • Test across email clients

Format and Resolution Specifications

Printing Formats

Raster Formats (PNG, JPG, TIFF):

  • Suitable for most printing applications
  • Minimum 300 DPI for professional printing
  • PNG preferred for crisp edges
  • JPG acceptable but may cause compression artifacts
  • TIFF for archival quality

Vector Formats (SVG, EPS, PDF):

  • Ideal for all sizes without quality loss
  • Infinitely scalable
  • Best for professional printing
  • Smaller file sizes for digital use
  • Perfect for flexible sizing

Recommendation: Use vector formats (SVG/EPS) whenever possible for maximum flexibility and quality.

Digital Formats

Web and Email:

  • PNG format for quality and transparency support
  • Minimum size: 100-200 pixels
  • Maximum recommended: 400-500 pixels
  • Include fallback text link

Mobile Apps and Digital Displays:

  • SVG or PNG
  • Minimum 100 pixels for scanning reliability
  • Typical 200-400 pixels for optimal UX
  • Scalable to screen size

Relationship Between Data Length and Size

Longer data requires larger QR codes:

Short URL (20-30 characters, like http://vmsvedaweb.com/gayatri/):

  • Version 2-4: 2-3cm minimum size

Standard URL (50-60 characters):

  • Version 5-8: 3-5cm minimum size

Long URL with Parameters (80-100+ characters):

  • Version 10-15: 5-8cm minimum size

vCard/Contact Information:

  • Version 8-12: 4-6cm minimum size

WiFi Connection Data:

  • Version 5-8: 3-5cm minimum size

Testing Size Adequacy

Before deploying QR codes, test sizing by:

  1. Print at Intended Size: Print the QR code at the final size intended for use
  2. Test Multiple Devices: Try scanning with at least 5 different smartphone models
  3. Vary Distance: Test scanning from expected viewing distances
  4. Test Lighting: Scan in various lighting conditions (bright sun, indoor, dim)
  5. Angle Tests: Scan at various angles to code
  6. Device Tests: Test both iOS and Android devices
  7. User Testing: Have unfamiliar users attempt to scan without instructions

Failed scans at any point indicate the need for larger code or adjusted conditions.

Common Sizing Mistakes

Too Small: The most frequent error. Codes that look fine on a design mockup may be impossible to scan when printed small.

Ignoring Viewing Distance: Underestimating typical scanning distance leads to inadequate sizing.

Over-Compression: Overly aggressive JPEG compression damages QR codes. Always use PNG or vector formats.

Insufficient White Space: Placing the QR code too close to other design elements or the edge interferes with scanning.

Low Resolution Printing: Printing at less than 300 DPI creates blurry modules that won't scan reliably.

Wrong Error Correction: Using Level L for outdoor applications where higher levels are needed.

Size Optimization Tips

For Maximum Flexibility:

  • Generate QR codes with higher data (like URL shorteners) requires less space
  • Use URL shorteners to reduce data length: http://vmsvedaweb.com/gayatri/ is 23 characters vs 100+ for full URL

For Limited Space:

  • Use URL shortening services
  • Encode minimal data (avoid vCard contact details if only URL is needed)
  • Use error correction Level L (though Level M is recommended)

For Maximum Reliability:

  • Larger codes are more reliable
  • Use higher error correction (Q or H)
  • Provide 2-3x recommended minimum size when possible

Conclusion

Optimal QR code sizing depends on viewing distance, scanning context, data length, and environmental factors. While minimum sizes can be calculated mathematically, practical testing ensures your codes will scan reliably for actual users in real-world conditions. Following application-specific sizing guidelines—from 2-3cm for business cards to 30cm+ for outdoor signage—combined with proper format selection and adequate white space creates QR codes that balance design integration with reliable functionality. When in doubt, err on the side of larger codes; a slightly oversized QR code is far preferable to codes that consistently fail to scan.

Frequently Asked Questions

What is the minimum size for a QR code to scan reliably?

For a typical smartphone held at arm's length, aim for at least 2cm x 2cm (about 0.8 inches). The controlling number is module size, not overall size: keep the smallest black-and-white squares (modules) at 1mm or larger, ideally 1.5-2mm. Codes under 1cm x 1cm often fail unless the camera is held unusually close.

What is the 10:1 distance-to-size ratio for QR codes?

A widely used field rule is that a QR code scans reliably from roughly 10 times its own width. A 3cm code works at about 30cm, and a 30cm code works at about 3 metres. Size the code for the farthest realistic scan distance, then confirm with a physical test print.

Should I use SVG or PNG for a QR code?

Use a vector format (SVG or EPS) whenever the pipeline allows it, because it scales to any size with no blur and produces the crispest print edges. Use a high-resolution PNG (300 DPI or higher at final print size) when the tool or layout only accepts raster. Avoid JPG for QR codes, as its lossy compression smears module edges.

What DPI should a printed QR code be?

Print at 300 DPI or higher at the final physical size. At 300 DPI a 1mm module is roughly 12 pixels wide, which keeps edges sharp. Lower DPI blurs adjacent modules together and causes intermittent scan failures, especially on smaller codes.

How big should a QR code be on a billboard?

Size it for the viewing distance using the 10:1 rule. To be scanned from 10 metres, the code needs to be roughly 1 metre wide; from 3 metres, about 30cm. Pair large-format codes with error correction level Q or H and weather-resistant printing, and always test from the actual viewing distance before install.

Does more data make a QR code harder to scan?

Yes. More characters force a higher version number, which packs more, smaller modules into the same physical footprint. Shortening the encoded data (for example with a URL shortener) lowers the version, enlarges each module, and makes the code easier to scan at the same overall size.

How much white space (quiet zone) does a QR code need?

The QR standard requires a clear margin, called the quiet zone, of at least 4 modules on every side. On small print codes that is usually 4-5mm of blank space. Crowding text, images, or the page edge into the quiet zone is one of the most common causes of a code that will not scan.

What size should a QR code be on a business card?

About 2-3cm x 2-3cm (0.8-1.2 inches), typically version 3-6 with error correction level M or Q, placed in a corner with at least a 4-5mm quiet zone. Encode a short URL rather than a full vCard when space is tight, and test the printed card at arm's length.

QR codessizingdesign optimizationbest practices