Unit Converters

Pixels to Inches (by DPI)

Convert pixels to inches at six common DPI settings, from the 96 DPI CSS reference to 300 DPI print. It works in both directions.

Reviewed and updated

Try
Converted size
20 in

1,920 px at 96 DPI

1 inch holds
96 px
Size in cm
50.8 cm
Conversion factors are exact; rounding may affect the final digit.
Was this helpful?

Pixels only become inches once you know the DPI

inches = pixels ÷ DPI

A pixel has no fixed physical size. It measures a length only when you divide by the density of the medium — PPI on a screen, DPI in print. At 96 DPI, 300 pixels is 3.13 inches; at 300 DPI the same 300 pixels is exactly 1 inch. Reverse it with pixels = inches × DPI.

Common DPI values to divide by

UsePPI / DPINotes
Web (Windows default)96CSS reference density
Web (old Mac)72Legacy PostScript standard
Large-format print150Viewed from a distance
Photo / pro print300Industry standard
Phone screens300–500+Retina-class and up
Fine-art print600–1200Text and premium work

PPI describes screen pixels; DPI describes printer dots. People use the terms interchangeably, but the print number you divide by is the one that decides how large an image lands on paper.

Print size for a given image

Same pixels, different DPI, very different print. This is why a photo that fills a monitor can be too small to print sharply.

Image (px)@ 150 DPI@ 300 DPI
1920 × 108012.8 × 7.2"6.4 × 3.6"
3000 × 200020 × 13.3"10 × 6.67"
3840 × 216025.6 × 14.4"12.8 × 7.2"
  • You cannot upscale your way out — enlarging a low-pixel image to hit 300 DPI just interpolates and blurs. The pixels have to be there from the start.
  • 72 DPI is a leftover — it dates to 1980s Macs. Modern screens run 90 to 500-plus PPI, so treat 72 as history, not a target.

Common questions

How many pixels are in an inch?

There is no single answer — it depends on the DPI. Web layouts historically assume 96 pixels per inch, professional printing uses 300, and modern phone screens pack 300 to 500 or more. You have to know the DPI before pixels mean a physical size.

What size will my photo print?

Divide each pixel dimension by the target DPI. A 3000 x 2000 pixel photo at 300 DPI prints at 10 x 6.67 inches. Want it bigger, and you either need more pixels or a lower DPI.

Does changing the DPI setting improve image quality?

No. Typing 300 DPI into an image editor without changing the pixel dimensions does nothing to sharpness. Quality comes from the number of pixels you actually have, not the DPI label attached to them.

From the blog

Guides & how-tos

All articles →