QR Code Best Practices: Design, Size & Placement
Creating a QR code takes seconds. Creating a QR code that people actually scan takes thought. The difference between a QR code that gets 5% scan rates and one that gets 30% comes down to design, size, placement, and the call to action around it. This guide covers everything you need to know to maximize your QR code's effectiveness.
Size: How Big Should Your QR Code Be?
The minimum size depends on the scanning distance:
Close-range scanning (phone held 15-25 cm away) — minimum 2 cm × 2 cm (0.8 in). This is typical for business cards, table tents, product packaging, and receipts.
Medium distance (25-100 cm) — minimum 5 cm × 5 cm (2 in). This is typical for flyers, brochures, countertop displays, and small posters.
Long distance (1-5 meters) — minimum 15-30 cm (6-12 in). This is typical for wall posters, banners, storefront signs, and trade show displays.
Very long distance (5+ meters) — minimum 50 cm+ (20 in+). This is for billboards, building wraps, and stadium displays.
The rule of thumb: The scanning distance should be no more than 10 times the QR code's width. A 3 cm QR code can be scanned from up to 30 cm away.
Don't forget the quiet zone — the white border around the QR code (at least 4 modules wide). This is part of the QR code and must be included in your size calculation. QRGen lets you set a custom quiet zone (margin) in the download settings.
Contrast: The #1 Scanning Failure
Poor contrast is the most common reason QR codes fail to scan. The modules need to be clearly distinguishable from the background.
Rules for contrast: - Dark modules on a light background works best. Classic black on white is the safest choice. - Minimum contrast ratio: 4:1 (WCAG standard). QRGen shows a warning if your color combination has insufficient contrast. - Avoid: light gray on white, dark blue on black, yellow on white, orange on light backgrounds, pastel colors on pastel backgrounds. - If using colored QR codes, make sure the dot color is significantly darker than the background.
Can I make a QR code with a colored background? Yes, as long as the contrast is sufficient. Dark green dots on a light mint background works. Red dots on a white background works. Light pink dots on a white background does not work.
Can I make an inverted QR code (white dots on dark background)? Technically yes, but many scanners still struggle with inverted codes. If you must use a dark background, test with at least 5 different devices before committing to print.
Transparent backgrounds: Be careful. A QR code with a transparent background might look fine on your white webpage but become unreadable when placed on a dark image or printed on colored paper.
Design: Customization That Works
Modern QR codes can be highly customized while remaining scannable. Here's what works and what doesn't:
Safe customizations: - Custom dot shapes (rounded, dots, classy) — scanners handle these well - Custom corner styles — as long as the finder patterns remain recognizable - Color gradients — fine if contrast is maintained throughout - Logos in the center — use high error correction (Level H) to compensate for the obscured area. QRGen does this automatically. - Decorative frames around the QR code — these don't affect the code itself
Risky customizations: - Modifying the three finder patterns (the large corner squares) — these are critical for scanning - Using very low contrast colors - Making the quiet zone too small or non-existent - Stretching or skewing the QR code (it should always be square) - Adding too large a logo that obscures more than 30% of the data area
The golden rule: After any customization, test the QR code. Scan it from the distance and angle your users will actually use. Test on both iOS and Android devices.
Placement: Where to Put Your QR Code
Where you place a QR code is as important as how you design it.
Good placement: - At eye level or easily reachable by a phone camera - On flat, non-reflective surfaces - In well-lit areas - Near related context (e.g., WiFi QR code near the entrance, menu QR code on the table) - Where people naturally pause (checkout counter, waiting area, elevator)
Bad placement: - On curved surfaces that distort the code (bottles, mugs — use error correction Level Q or H) - Behind glass with strong reflections - In areas with poor lighting - Too high or too low to comfortably scan - On moving objects (vehicles are fine at stops/parking; billboards on highways are not — drivers shouldn't scan while driving) - In locations where phone use is discouraged or impractical
Material considerations: - Matte surfaces scan better than glossy (less glare) - Ensure the QR code is printed at sufficient resolution (300 DPI minimum for print) - If laminating, use matte laminate to reduce reflections - For outdoor use, UV-resistant printing and weatherproof materials are essential
Call to Action: Tell People Why to Scan
A QR code without context is a mystery box — and most people won't scan mystery boxes. Always include a clear call to action that tells the user what they'll get.
Effective calls to action: - "Scan for menu" (restaurant) - "Scan to connect to WiFi" (cafe, hotel) - "Scan for 20% off" (retail) - "Scan to save my contact" (business card) - "Scan for setup guide" (product packaging) - "Scan to register" (event) - "Leave us a review" (receipt)
QRGen's frame feature lets you embed the call to action directly into the QR code design. Choose from 40+ frame templates with customizable text, so the CTA is visually part of the QR code itself.
Placement of CTA: Put it above or below the QR code, in a font size that's readable at the same distance as the QR code. Use action verbs: "Scan," "Get," "Join," "Connect," "Save."
Testing: The Step Everyone Skips
Testing is the single most important step, and the one most often skipped. Always test before printing or deploying.
Testing checklist: 1. Scan with at least 3 different phones (mix of iOS and Android, old and new) 2. Scan from the actual distance your users will use 3. Scan in the actual lighting conditions (indoors, outdoors, dim, bright) 4. Scan at an angle (not just straight on) 5. If printing, scan the printed version — screens and prints can look different 6. Verify the destination URL loads correctly 7. For dynamic codes, verify the redirect works and analytics are recording 8. Test after applying any laminate, frame, or protective coating
Common failures caught by testing: - Colors that look fine on screen but lack contrast when printed - QR codes that are too small for the intended scanning distance - Redirect URLs that are broken or point to the wrong page - Logos that are too large and obscure too much of the code - Printed codes on glossy paper that create too much glare
Common Mistakes to Avoid
Encoding too much data — long URLs create dense, hard-to-scan codes. Use a URL shortener or a dynamic QR code (which always uses a short redirect URL).
Forgetting the quiet zone — the white border is not optional. Without it, scanners can't distinguish the QR code from surrounding content.
Using low resolution — a pixelated QR code won't scan reliably. Always export at the highest resolution you need. QRGen supports up to 4096px.
Not testing — we said it above, but it bears repeating. Test, test, test.
Placing QR codes where there's no WiFi or cellular signal — if your QR code links to a website, the user needs internet access to view it. For basements, rural areas, or airplane seatbacks, consider encoding plain text instead.
Creating QR codes that link to non-mobile-friendly pages — the vast majority of QR code scans happen on phones. If your landing page isn't mobile-responsive, you've lost the user.
Using static codes when dynamic would be better — if there's any chance the destination might change, use a dynamic code from the start. You can't convert static to dynamic after printing.
Summary
The best QR code is one that gets scanned. Follow these practices — appropriate size, strong contrast, clear call to action, good placement, and thorough testing — and your scan rates will dramatically improve. QRGen handles many of these automatically (contrast warnings, error correction for logos, quiet zone settings), but the placement and CTA are up to you.
Ready to create your QR code?
13 content types. 38 style presets. 40+ frames. 5 export formats. Free.
Open QR Generator