DPI vs Pixels: What Actually Sets Image Size

Last updated

On this page
  1. The formula
  2. Why DPI barely matters on screen
  3. DPI in your exported files
  4. Common mistake
  5. Frequently asked questions
  6. Related guides
  7. More in this topic

Short answer: Pixels set how much detail an image holds. DPI only tells a printer how large to print those pixels. Pixels equal inches times DPI, so 2 inches at 300 DPI is 600 pixels.

Part of Image Sizes, DPI, and File Formats Explained. Also read: PNG vs JPEG vs WebP: Which Format After Cropping? · How to Crop an Image to an Exact Pixel Size

Open the batch cropper

The formula

Pixels = inches × DPI. For millimetres, divide by 25.4 first: 35 mm ÷ 25.4 × 300 DPI is about 413 px. The pixel conversion table has common sizes worked out.

Why DPI barely matters on screen

A 600 × 600 px image looks identical on screen whether it is labeled 72 or 300 DPI. DPI only changes the physical size when the file is printed, because it sets how many pixels fit in each inch.

DPI in your exported files

In ID Photo mode the cropper resizes each crop to exact pixels (physical size × DPI). PNG exports store the DPI in a pHYs chunk and JPEG exports store a JFIF density value, so software and print shops can read the intended print size.

Common mistake

Raising the DPI label on a small image does not add detail. To get more pixels you need a larger source photo; resizing up only stretches existing pixels. See crop vs resize vs scale.

Frequently asked questions

Does 300 DPI mean a better image?

Not by itself. The pixel dimensions decide detail; 300 DPI is a print setting that sets how large those pixels print.

How do I convert millimetres to pixels?

Divide millimetres by 25.4 to get inches, then multiply by the DPI.

Does the cropper save DPI?

Yes for ID Photo presets: PNG files include a pHYs chunk and JPEG files include a JFIF density value.

More in this topic