PPI vs DPI: what's the difference?
Photo editors call it resolution, Photoshop calls it pixels per inch, Windows calls it DPI, and print shops say both. Are PPI and DPI the same? For the number stored in an image file, yes. For a printer, no. Once you see where each term comes from, the confusion goes away and the "conversion" turns out to be simple.
The short answer
- PPI (pixels per inch) describes digital images and screens: how many pixels fit in one inch.
- DPI (dots per inch) strictly describes printers and scanners: how many physical dots of ink, toner or light samples fit in one inch.
- In everyday use, "300 DPI image" means "300 PPI image". The metadata field inside the file holds one number, and software labels it either way.
Pixels: what an image file actually contains
A digital image is a grid of pixels. Each pixel holds a full colour value; in a typical JPG, any one of about 16.7 million combinations of red, green and blue. The file also has an optional density value saying how many of those pixels should occupy one inch on paper. Here's how the main formats store it:
- JPG stores density in the JFIF header (as dots per inch or per centimetre) and often again in EXIF as X and Y resolution.
- PNG stores it in the pHYs chunk as pixels per metre. 300 PPI is saved as 11811 pixels per metre, which converts back to 299.9994 and is shown as 300.
- TIFF stores X and Y resolution with a unit of inches or centimetres.
Notice that even the format standards switch between "dots" and "pixels" for the same thing. That's why software uses both terms: the label is historical, and the meaning is pixels per inch.
Dots: what a printer actually does
A desktop inkjet typically has a small set of ink colours, often four to six, sometimes more. It can't print a pixel of "dusty rose" directly. Instead it places many tiny dots of its few inks in patterns, and your eye blends them into the intended colour. This is called dithering, or halftoning in commercial printing.
So a printer rated at 4800 × 1200 DPI isn't printing a 4800 PPI image. It's using up to 4800 dot positions per inch horizontally to build the colours of a much lower number of image pixels. Several printer dots go into reproducing each pixel's colour, and there's no fixed ratio between them; it depends on the printer, driver, paper and colour. This is also why a higher printer DPI spec doesn't mean you should send a higher-PPI file.
Commercial offset printing uses a third measure, LPI (lines per inch), the spacing of the halftone screen. A common rule of thumb is to supply image PPI of about 1.5 to 2 times the LPI, which is one origin of the 300 PPI standard for a 150 LPI screen. Your printer can tell you what screen they use if it matters.
Scanners: DPI that becomes PPI
A scanner's DPI setting is how many samples it takes per inch of the original. Each sample becomes one pixel, so scanner DPI translates directly into image PPI at the original's size. Scan a 3 × 5 inch index card at 400 DPI and you get a 1200 × 2000 pixel image whose natural size is still 3 × 5 inches at 400 PPI. For choosing a setting, see the best DPI for scanning photos.
Screens: PPI as a hardware number
Monitors and phones have a physical PPI determined by their size and pixel count. Calculate it from the diagonal: PPI = √(width² + height²) ÷ diagonal in inches. For a 27-inch 3840 × 2160 monitor, √(3840² + 2160²) ≈ 4406 pixels across the diagonal, divided by 27 gives about 163 PPI. That number is a property of the screen. An image's own DPI label has no effect on how it looks on that screen; the screen shows pixels one-to-one or scaled by the operating system.
"Converting" PPI and DPI
For an image file, there is nothing to convert: 300 DPI and 300 PPI are the same setting. What people usually need is one of these conversions.
Pixels to print size
Inches = pixels ÷ PPI. A 1800 × 1350 image at 300 PPI prints at 6 × 4.5 inches. At 225 PPI the same pixels print at 8 × 6 inches.
Print size to pixels
Pixels = inches × PPI. A 9-inch-wide banner at 200 PPI needs 1800 pixels across.
Inches to centimetres
Multiply inches by 2.54, or divide centimetres by 2.54 to get inches. For density, pixels per centimetre = PPI ÷ 2.54. 300 PPI is about 118.1 pixels per centimetre, and a file stored at 118 pixels per centimetre reads as about 299.7 PPI.
Changing the PPI while keeping the print size
This one does change pixels. To take a 6-inch-wide image from 150 to 300 PPI at the same width, you need 6 × 300 = 1800 pixels instead of 900, which means resampling, also called upscaling. It adds interpolated pixels, not original detail. If you keep the pixels and change only the PPI, the print size changes instead: those 900 pixels at 300 PPI print 3 inches wide.
The print size calculator handles all of these, and what a DPI converter really does goes deeper on the last case.
A worked example from start to finish
You have a 2250 × 1500 pixel image labelled 72 DPI, and a printer asks for 300 DPI at 7.5 × 5 inches.
- Pixels needed: 7.5 × 300 = 2250 and 5 × 300 = 1500. The image has exactly that.
- So no resampling is needed. Change only the label from 72 to 300, for example with the DPI changer.
- Before the change, software reads the size as 2250 ÷ 72 = 31.25 inches wide. After, 2250 ÷ 300 = 7.5 inches. Same pixels, same file quality, correct size.
Which term should you use?
| Talking about | Precise term | Also commonly called |
|---|---|---|
| Image file resolution | PPI | DPI |
| Screen pixel density | PPI | Sometimes DPI, especially in operating-system scaling settings |
| Scanner sampling | Samples per inch | DPI |
| Printer output | DPI | Almost always DPI |
| Offset halftone screen | LPI | Screen ruling |
In practice, use whichever word the person you're dealing with uses. If a print shop says "300 DPI", they mean a file with 300 pixels per inch at the final size. The DPI checker shows both the stored value and the effective pixels per inch at common sizes. Mouse DPI is a different measure again, explained in mouse DPI vs image DPI. To see how much higher values help, read 300 vs 600 DPI.