Skip to content

Cookie settings

Optional analytics help us understand which pages and tools are useful. If you allow them, we use Google Analytics. Your files are never included, and every tool works the same if you decline. Cookie policy

What DPI Do I Need? Print, Web and Passport Photo Resolution Explained

How many pixels you need for a sharp print, why the DPI number in a file does not change quality, and what web images and passport photos actually require, with a size table you can copy.

By Fiona Sinclair8 min read

"Please send a 300 DPI image" is one of the most misunderstood requests in design and printing. The number sounds like a quality setting, but it is really a ratio between pixels and inches. Once you see it that way, every DPI question comes down to one sum: how many pixels you have, and how big you want them to be.

DPI, PPI and pixel dimensions

Three terms get used interchangeably, and that causes most of the confusion.

  • Pixel dimensions are the real content of an image, for example 4032 × 3024 from a 12-megapixel phone camera. Only this number says how much detail the file holds.
  • PPI (pixels per inch) describes how densely those pixels are laid out when the image is given a physical size. 3000 pixels printed across 10 inches is 300 PPI.
  • DPI (dots per inch) strictly describes a printer: how many ink dots it places per inch. An inkjet may use several dots to reproduce one pixel, so the two are not the same.

In everyday use, "DPI" means PPI. A print shop asking for "300 DPI" wants enough pixels for 300 per inch at the final printed size, and this article uses the term that way.

The formula: pixels = inches × DPI

Everything follows from one relationship:

pixels needed = print size in inches × DPI
print size in inches = pixels ÷ DPI

For centimeters, divide by 2.54 first. A 15 cm wide print is 15 ÷ 2.54 = 5.91 inches, so at 300 DPI it needs 5.91 × 300 ≈ 1772 pixels across.

Worked example: you want a 5 × 7 inch print of a photo that is 4032 × 3024 pixels.

  1. Needed at 300 DPI: 5 × 300 = 1500 by 7 × 300 = 2100 pixels.
  2. Your photo has 3024 pixels on the short side and 4032 on the long side.
  3. Both exceed the requirement, so the photo will print sharply, with room to crop.

Going the other way, the largest this photo prints at 300 DPI is 4032 ÷ 300 = 13.4 by 3024 ÷ 300 = 10.1 inches.

A 5 × 7 print is also a different shape (1.4:1) from a 4:3 photo (1.33:1), so some of the image will be cropped. An aspect ratio calculator shows how much.

Pixel sizes for common print sizes

Pixel dimensions for popular sizes at 150 DPI and 300 DPI:

Print sizeAt 150 DPIAt 300 DPI
2 × 2 in (US passport)300 × 300600 × 600
4 × 6 in600 × 9001200 × 1800
5 × 7 in750 × 10501500 × 2100
A6 (105 × 148 mm)620 × 8741240 × 1748
8 × 10 in1200 × 15002400 × 3000
US Letter (8.5 × 11 in)1275 × 16502550 × 3300
A4 (210 × 297 mm)1240 × 17542480 × 3508
A3 (297 × 420 mm)1754 × 24803508 × 4961
16 × 20 in2400 × 30004800 × 6000

The figures are rounded to the nearest pixel. If the printer wants bleed (extra image past the trim edge, often 3 mm or 1/8 inch per side), add it to the print size before you multiply.

Which DPI should you aim for?

300 DPI is a printing-industry convention for material held in the hand, such as photos, brochures and flyers. It is not a law of physics, but it is what most print shops ask for. Lower values are often fine:

  • 150–200 DPI usually looks good for larger prints viewed from arm's length, such as posters and wall art.
  • Banners and signs viewed from several meters away are commonly printed far lower.
  • Text and line art benefit from more than 300 DPI, because hard edges show jaggedness. Vector formats (PDF, SVG, EPS) avoid the question for text and logos.

If a print shop gives you a specific requirement, follow it over any general rule.

Why changing DPI alone does not improve quality

Image files can store a DPI value as metadata: the pHYs chunk in a PNG, the JFIF header and often EXIF in a JPEG. It is an instruction about physical size, nothing more.

Take a 1200 × 1800 pixel image:

  • Labeled 72 DPI, it "prints" at 16.7 × 25 inches.
  • Labeled 300 DPI, it prints at 4 × 6 inches.

The pixels are identical; only the instructed size changes. That is why a phone photo labeled "72 DPI" is usually fine: 72 is a common default that measures nothing.

There are two good reasons to change the stored value anyway: a printer or upload form rejects files that say 72 DPI, or you want a layout or word-processing app to place the image at the right physical size.

The Image DPI Converter does this for JPEG and PNG files: it rewrites the DPI metadata only and copies the pixels byte for byte, so dimensions and quality never change. Set a target DPI, or enter the print width you want and let it calculate the DPI. The Image DPI Checker shows what a file currently declares and the print size that implies. Both run in your browser without uploading the file.

When upscaling helps and when it doesn't

If an image has too few pixels, the only way to reach the target DPI is to resample: create new pixels by interpolation. Classic methods (bilinear, bicubic) add no detail; they spread existing detail over more pixels, so the result is softer. That can still beat visible blocky pixels on paper. AI upscalers generate plausible detail, but it is invented, not recovered, and faces, text and fine patterns can come out subtly wrong.

Practical rules:

  • Up to roughly 1.5× enlargement: resampling is usually acceptable for photos.
  • Bigger jumps: look for a larger original, re-export from the source file, or choose a smaller print size.
  • Identity documents: do not upscale or enhance. Official photo rules require an unaltered image (see below).

Web images: DPI is irrelevant, pixels are everything

Screens display images by pixel dimensions. The same 1200-pixel image saved at 72 DPI and at 300 DPI looks identical in a web page. (The HTML standard has one narrow exception: browsers may use EXIF resolution to set display size, but only when the file also carries matching EXIF pixel-dimension tags written for that purpose. A normal DPI change does not trigger it.)

For the web, set pixel width instead:

  • Match the largest displayed size times the device pixel ratio. An image shown 800 CSS pixels wide looks crisp on a 2× display at 1600 pixels.
  • Don't ship far more pixels than needed. A 6000-pixel photo in a 600-pixel column slows the page.
  • Then compress with an image compressor.

If a site asks for "72 DPI", it is following old habit. Give it the requested pixel dimensions.

Passport and document photos

Document photo rules specify a physical size and head size, and for digital submission, pixel dimensions and file size. They differ by country and application type, and they change, so check the official page before you submit. These examples were checked against official government sources in October 2026.

United States. The printed passport photo is 2 × 2 inches (51 × 51 mm), with the head measuring 1 to 1 3/8 inches (25–35 mm) from chin to top of head, according to the State Department's passport photo page. For digital visa photos, the State Department's digital image requirements specify a square JPEG between 600 × 600 and 1200 × 1200 pixels, 240 kB or smaller, in color. Note the arithmetic: 2 inches at 300 DPI is 600 pixels, and at 600 DPI it is 1200. Online passport renewal has its own upload rules, including a file size between 54 KB and 10 MB, so don't assume the visa limits apply.

United Kingdom. A printed passport photo is 45 mm high by 35 mm wide, with the head between 29 mm and 34 mm from crown to chin. A digital photo must be at least 600 pixels wide and 750 pixels tall and between 50 KB and 10 MB, and it must be unaltered by computer software, according to GOV.UK's photo guidance.

For a printed document photo, the 300 DPI table applies: a 35 × 45 mm photo needs about 413 × 531 pixels at 300 DPI. For a digital one, ignore DPI and match the pixel and file-size limits exactly.

Common mistakes and fixes

  • Mistake: Changing a 72 DPI image to 300 DPI and expecting it to look sharper. Fix: Check the pixel dimensions against the table. If they are enough, the change only satisfies a form; if not, you need more pixels.
  • Mistake: Forgetting crop. Fix: Work out the print's aspect ratio first, then check the cropped pixel count, not the original.
  • Mistake: Printing a screenshot or an image sent through a messaging app. Fix: Both are often far smaller than the original. Use the original file from the camera or source.

Check your image

Open your file in the Image DPI Checker to see its pixels, declared DPI and implied print size. If the pixels are sufficient but the label is wrong, the Image DPI Converter fixes the metadata. Both are free, need no account, and process the file on your device.

Key takeaways

  • DPI in everyday use means pixels per inch at a given print size: pixels = inches × DPI.
  • 300 DPI is the usual target for prints viewed up close; 150 DPI is often fine for larger prints viewed from further away.
  • Changing the DPI value in a file does not add detail. It only changes the size the image prints at.
  • For the web, pixel dimensions and file size matter; the DPI value does not.
  • Passport and visa photo rules are specific and change, so confirm them on the official government page before you submit.

Tools for this