DPI vs Pixels Explained: Getting the Right Size for Print and Screen

“Upload a 300 DPI image.” “Your photo must be at least 600 × 600 pixels.” Instructions like these confuse a lot of people because DPI and pixels sound like two separate things to fix. They are related, and once you see how, every size requirement becomes simple maths.

Pixels: what the image actually contains

A digital image is a grid of tiny coloured squares called pixels. A photo that is 3000 × 2000 pixels has 3000 squares across and 2000 down. This number is fixed by the camera or the editing you do. It is the real amount of detail in the picture.

DPI: how tightly the pixels are printed

DPI stands for dots per inch. (Strictly, for digital images the correct term is PPI, pixels per inch, but the two are used interchangeably.) It describes how many of those pixels are squeezed into one inch of paper when the image is printed.

The same 3000 × 2000 pixel photo could be printed at:

  • 300 DPI, giving a sharp print 10 × 6.7 inches in size
  • 150 DPI, giving a larger but softer print 20 × 13.3 inches in size
  • 72 DPI, giving a huge, visibly blocky print over 41 inches wide

The pixels never changed. Only the spacing on paper did.

Why DPI doesn’t matter on screens

A screen shows images pixel by pixel. A 1080-pixel-wide image fills 1080 screen pixels whether its file says 72 DPI or 300 DPI. Changing the DPI number on an image without changing its pixels makes no difference at all to how it looks on a phone or computer.

That is why, for websites and online forms, you should pay attention to the pixel dimensions and the file size, and largely ignore DPI.

The formula for printing

To find the pixels you need for a print, multiply the size in inches by the DPI:

Pixels = inches × DPI

For millimetres, divide by 25.4 first to get inches. Photo labs typically print at 300 DPI, so:

Print sizePixels needed at 300 DPI
35 × 45 mm passport photo413 × 531
2 × 2 inch passport photo600 × 600
4 × 6 inch photo1200 × 1800
A4 page2480 × 3508

You can do the same calculation for any size. A 50 × 70 mm photo is 1.97 × 2.76 inches, which at 300 DPI is 591 × 827 pixels.

What this means for passport photos

When an office asks for a “35 × 45 mm photo at 300 DPI”, it is really asking for an image of about 413 × 531 pixels that prints at exactly 35 × 45 mm. The Passport Photo Maker creates files at exactly those pixel sizes and also stores the 300 DPI setting inside the file, so printers and print shops reproduce it at the correct physical size.

Can you increase DPI to make a photo sharper?

No. Typing a bigger DPI number into an editor without adding pixels just makes the print smaller. Enlarging the pixel dimensions with the Image Resizer makes the image bigger, but it can only guess the new pixels from the old ones, so fine detail stays soft. The only real way to get more detail is to start from a larger original photo.

Quick reference

  • Screens and online forms: care about pixels and KB, not DPI.
  • Printing: pixels = inches × 300 for a sharp result.
  • Changing DPI alone never adds detail.
  • Always keep your original, full-size photo.