harmmy

What changing an image's DPI actually does

DPI is a density tag, not a pixel count. How print size follows from pixels ÷ DPI, what 300 DPI requires, and where the value lives in JPEG and PNG.

2026-12-03

DPI is a label, not a pixel count

A JPEG or PNG holds a fixed grid of pixels: a 3000 × 2000 file is six million pixels, and that number does not move when the DPI value changes. DPI stands for dots per inch and lives in a header field that tells software how tightly to pack those existing pixels onto paper. Rewriting it neither resamples the image nor adds or removes a single pixel.

This is why the same photo saved at 72 and at 300 DPI looks identical on a monitor. Screens map image pixels to display pixels and ignore the density tag entirely. The number only starts to matter when something converts pixels into physical units: a print dialog, a page-layout program, or a lab's ordering system.

Print size is pixels divided by DPI

The whole calculation is one division. A 3000 × 2000 image at 300 DPI prints at 10 × 6.67 inches, or 25.4 × 16.93 cm. Drop the tag to 72 DPI and the same file prints at 41.67 × 27.78 inches. The pixels, the sharpness and the file size are unchanged; only the implied scale is different.

Read that in reverse and the common mistake becomes obvious: raising DPI makes a print smaller, not sharper. A high DPI value on a small file simply produces a small print. If the pixels are not there, no header value can invent them.

How many pixels a print really needs

Multiply the target size in inches by 300: 4 × 6 inches needs 1200 × 1800 pixels, 5 × 7 needs 1500 × 2100, and 8 × 10 needs 2400 × 3000. A4 at 300 DPI is about 2480 × 3508 pixels, and US Letter at 300 DPI is about 2550 × 3300. For 600 DPI, double each figure.

300 DPI is the usual threshold at photo labs, for halftone figures in journals and for Amazon KDP covers. Treat it as two separate requirements: the tag has to say 300, and the pixel count has to be large enough at the final print size. Some systems read only the tag, others only count pixels, so both have to be right. Before resizing, check the ratio with Aspect Ratio Calculator: 4 × 6 is 3:2 and 8 × 10 is 5:4, so Image Resizer will need to crop if the source is a different shape.

Where the number hides in the file

A JPEG usually stores density twice. The JFIF segment carries units and dots per inch, while EXIF holds XResolution, YResolution and ResolutionUnit. Programs disagree about which one to trust, so a file edited by one tool can report 300 in one application and 72 in another. A proper edit keeps both in agreement.

PNG has no EXIF block by default; it uses the pHYs chunk, measured in pixels per metre. 300 DPI is 300 × 39.3701 = 11,811.02, rounded to 11,811 pixels per metre. Read back, 11,811 × 0.0254 = 299.9994, which every program rounds to 300. Seeing 299.9994 in a metadata viewer is a unit artefact, not a broken file.

Changing the tag is lossless; resampling is not

A tag-only edit copies the compressed image data byte for byte. There is no generation loss, no colour shift and no change in dimensions, and the file grows or shrinks by a few bytes at most. That is exactly what Image DPI Changer does for JPEG and PNG.

Resampling is a different operation: it creates or throws away pixels and forces a re-encode. With JPEG that means another round of compression, upscaling can only soften edges, and many editors strip EXIF (camera, GPS, copyright) along the way. Sometimes that is desirable, and Remove EXIF is the honest way to do it; but it should never be a side effect of changing a number.

A workflow that survives a print shop

Start by reading the current DPI and the pixel dimensions. Work out what the target size needs, then decide: if the pixels are sufficient, change only the tag with Image DPI Changer; if they are not, choose between printing smaller and resampling with Image Resizer, knowing the latter adds no real detail. After downloading, reopen the file and confirm both the DPI and the pixel size before you send it anywhere.

Three failures come up again and again. A lab still rejects the file because the pixels are too few, and the tag cannot manufacture detail. The image looks unchanged on screen after 72 becomes 300, which is expected rather than a failed edit. And DPI gets confused with PPI: print pipelines care about the density tag, screens care about pixels, and mixing the terms leads to wrong expectations. The classic case is an 800 × 600 image tagged 300 DPI, which prints at roughly 2.67 × 2 inches, nowhere near 8 × 10. Finally, know the tool's limits: JPEG and PNG only, 25 MB per file, 20 files per batch, all local with no upload; convert WebP, HEIC or TIFF first.

Related tools

What changing an image's DPI actually does | harmmy