QR Code DPI: What Resolution You Need to Print a Sharp QR Code

A QR code that looks crisp on your screen can come out fuzzy on a flyer, a sign or a sticker. The usual culprit is resolution: the image file simply doesn't have enough pixels for the size it's printed at. Blurry edges make the black and white squares harder for a phone camera to separate, and that can make a code slow or impossible to scan.

This guide explains what DPI means for QR codes, how to calculate the resolution you need, and how to avoid the most common printing mistakes.

The short answer

DPI, PPI and pixels: what they mean

DPI stands for dots per inch, and PPI for pixels per inch. Strictly, DPI describes printers and PPI describes digital images, but most people and most print shops use "DPI" for both, so this guide does too.

A raster image like a PNG or JPG is a fixed grid of pixels. It doesn't have a physical size until you print it. The DPI is simply how many of those pixels you squeeze into each inch of paper:

DPI = pixel width ÷ print width in inches

So the same 600-pixel image is 300 DPI when printed 2 inches wide, but only 150 DPI when printed 4 inches wide. That's why "what DPI is my QR code?" always depends on how big you print it.

Why 300 DPI is the usual target

300 DPI is the standard many print shops ask for when printing images that people view up close, such as business cards, flyers, menus and packaging. At that resolution, the edges of each square look clean at normal reading distance.

Large items viewed from farther away, such as posters, banners and signs, are often printed at lower resolutions, because no one sees them from a few inches away. Your print shop's file requirements are the final word, so check them before you export.

Make a free QR code for a link, WiFi or contact card — generated in your browser.

Open the free QR code generator →

How to calculate the pixel size you need

Work it out in three steps:

  1. Decide the printed size of the QR code, including its quiet zone (the white margin around it). Our QR code size for print guide helps you choose a size based on scanning distance.
  2. Convert to inches if you're working in centimeters: divide centimeters by 2.54.
  3. Multiply by the DPI you're targeting.
Printed widthPixels needed at 300 DPIPixels needed at 150 DPI
1 in (2.54 cm)300 px150 px
1.5 in (3.8 cm)450 px225 px
2 in (5.1 cm)600 px300 px
3 in (7.6 cm)900 px450 px
4 in (10.2 cm)1,200 px600 px
6 in (15.2 cm)1,800 px900 px

Working backward: if you already have an image, divide its pixel width by 300 to see the largest size it can print at 300 DPI. A 1,024-pixel image, for example, prints at up to about 3.4 inches (1,024 ÷ 300).

Modules: the detail that matters most

A QR code is made of small squares called modules. The smallest codes are 21 × 21 modules, and the grid grows as you store more data, up to 177 × 177. The standard also calls for a quiet zone four modules wide on every side.

Two things follow from this:

For example, a 25 × 25 code with a four-module quiet zone on each side is 33 modules wide. At 660 pixels, each module is exactly 20 pixels. Printed at 300 DPI, that's 2.2 inches wide.

You don't need to count modules for everyday printing at 300 DPI; there are usually enough pixels per module that small blending doesn't matter. It becomes important when the file is small or the code is dense.

Scaling without losing sharpness

When DPI doesn't matter: vector files

Vector formats such as SVG, EPS and PDF describe the code as shapes, not pixels, so they stay sharp at any size and have no DPI. If you're printing large or sending files to a professional printer, a vector file is the safest choice, as long as the printer and design software accept it.

QR Studio downloads PNG files up to 1,024 pixels wide, which works for codes up to about 3.4 inches at 300 DPI, or larger at the lower resolution many print shops accept for signs viewed from a distance. For bigger prints, check what resolution your print shop needs or use a generator that exports vector files.

How to check a QR code file before printing

  1. Check the pixel size. Open the image's properties or info panel and note its width in pixels.
  2. Divide by your print width in inches to get the effective DPI.
  3. Zoom in on screen to 100% or more and look at the module edges. They should be sharp, not fuzzy or gray.
  4. Print a test copy at the real size and scan it with two or three phones, from the distance people will actually stand.

If a printed code still won't scan, work through our QR code not scanning checklist, which covers contrast, the quiet zone and other causes.

Frequently asked questions

What DPI should a QR code be for printing?

About 300 DPI at the final printed size is the usual target for items viewed up close. Large signs viewed from a distance can often use less. Follow your print shop's requirements.

How many pixels does a QR code need to print 2 inches wide?

At 300 DPI, 2 inches × 300 = 600 pixels, so a 600 × 600 pixel image.

Does DPI affect whether a QR code scans?

Indirectly. A low-resolution print has blurry module edges, which can make the code harder or slower for phones to read, especially when the code is small or dense.

Can I make a small QR code image bigger?

You can, but it usually blurs. It's better to generate a new, larger image. If you have to resize, use nearest-neighbor resampling at a whole-number scale.

Do SVG QR codes have a DPI?

No. SVG is a vector format, so it stays sharp at any size. DPI only applies to raster images such as PNG and JPG.

Make a free QR code for a link, WiFi or contact card — generated in your browser.

Open the free QR code generator →

Keep reading