What is the difference between DPI and PPI?

PPI (pixels per inch) measures pixel density of an image or screen; DPI (dots per inch) measures printer ink dots per inch. Neither changes an image's pixel count.

By · Updated

Explained in more detail

PPI belongs to digital images and displays. It says how many pixels fit in one inch, so it links a pixel size to a physical size. A 3000 by 2000 pixel image at 300 PPI prints about 10 by 6.7 inches. The same image at 150 PPI prints at 20 by 13.3 inches, with half the sharpness.

DPI belongs to printers. It counts the tiny dots of ink or toner a device lays down per inch. A printer's DPI is typically higher than the PPI of the image it prints, because several dots are needed to build one pixel's color. The two terms are widely used interchangeably, which causes confusion, especially in the "DPI" field of image editors, which is really PPI.

The most important fact is that the density value in a file is only a label. It is stored as metadata (PNG has a physical pixel dimensions chunk, pHYs, that gives the intended pixel size for presentation) and it does not change the number of pixels. Changing a file from 72 to 300 PPI without resampling leaves the pixels untouched and just changes the suggested print size.

On the web, the density value in a file generally does not decide how big an image appears; its pixel dimensions and your CSS do. "72 DPI for web" is a myth with no effect on how browsers display the image.

For print, what counts is whether you have enough pixels for the size you want. To calculate it, multiply the print size in inches by the target PPI.

Related terms

Try it in Triim

Sources

Part of the Triim image terms glossary, by Rocco Bombardieri.