DPI vs PPI: What’s the Difference?
PPI (pixels per inch) describes how densely pixels are packed in a digital image or on a screen, while DPI (dots per inch) describes how many ink dots a printer lays down. For the web, only pixel dimensions matter; for print, the pixels-per-inch you print at decides how sharp the result looks.
Two different things measured per inch
Both terms describe density, but of different things.
- PPI, pixels per inch, belongs to the digital world. A screen has a physical PPI (how many pixels fit in an inch of glass), and an image can be assigned a PPI that tells software how large to print it.
- DPI, dots per inch, belongs to printers. An inkjet or laser printer builds each pixel's color from many tiny dots of a few ink colors. A printer advertised at 1200 or 2400 DPI is describing its mechanism, not your image.
Put simply: pixels are what your file is made of, and dots are how a printer reproduces those pixels on paper. A single image pixel printed at 300 PPI on a 1200 DPI printer is rendered with a small grid of ink dots.
Why the terms get mixed up
In practice, almost everyone says "DPI" when they mean PPI. Print shops ask for "300 DPI files", camera and editing software often labels the image resolution field as DPI, and Windows calls display scaling "DPI scaling". The habit is so common that it isn't worth correcting people. Just know that when someone asks for a "300 DPI image", they want an image with enough pixels to print at 300 pixels per inch at the final size.
The only time the strict difference matters is when you're reading a printer spec sheet. A printer's DPI rating says nothing about what resolution your file should be.
What matters for screens
On a screen, an image is displayed using its pixel dimensions. A 1200 × 800 photo is 1200 × 800 pixels whatever DPI value is stored in its metadata.
The screen's own PPI decides how physically large and how sharp those pixels look. You can calculate it from the resolution and diagonal: PPI = √(width² + height²) ÷ diagonal in inches. The PPI calculator does this for any display.
Worked example: screen density
| Screen | Resolution | Diagonal | Approx. PPI |
|---|---|---|---|
| Office monitor | 1920 × 1080 | 24 in | 92 |
| 4K monitor | 3840 × 2160 | 27 in | 163 |
| Phone | 2532 × 1170 | 6.1 in | about 460 |
For the 24-inch monitor: √(1920² + 1080²) ≈ 2203 pixels along the diagonal, and 2203 ÷ 24 ≈ 92 PPI. The phone packs about five times as many pixels into each inch, which is why phones scale content up by a device pixel ratio of 2 or 3. That scaling is covered in our guide to sharp images on retina screens.
What "72 DPI for web" really means
You will still see advice to "save web images at 72 DPI". It has no effect on how an image appears on a website. Browsers lay out images using their pixel dimensions and the CSS you apply. The DPI value an image editor writes into the file doesn't change that in normal use (a few browsers can read special EXIF density tags, but the ordinary 72 or 300 setting isn't something to design around). Save the same 1200-pixel-wide JPEG at 72 DPI and at 300 DPI, and both display identically and have almost the same file size.
The number comes from history. Early Macintosh screens had roughly 72 pixels per inch, which matched the typographic point (1/72 of an inch), so one pixel on screen equaled one point in print. Windows later assumed 96 pixels per inch, and the CSS pixel is defined using that 96-per-inch reference. Modern screens range from under 100 to more than 450 PPI, so no single DPI value describes "the web".
What actually matters for web images:
- Pixel width and height, ideally around twice the displayed CSS size for high-density screens.
- Format and compression, which decide file size.
- The width and height attributes in your HTML, which prevent layout shift.
What matters for print
For print, the pixels per inch you print at controls sharpness. The maths is simple division.
print width (in) = pixel width ÷ PPI
print height (in) = pixel height ÷ PPI
pixels needed = print size (in) × PPIThe DPI field in an image file is really a print-size instruction. A 3000 × 2000 pixel photo marked 300 PPI will open in layout software at 10 × 6.67 inches. Mark it 150 PPI and it opens at 20 × 13.33 inches. The pixels are identical; only the suggested physical size changes.
Worked example: can I print this photo at 8 × 10?
You have a 3000 × 2400 pixel image and want an 8 × 10 inch print at 300 PPI.
- Pixels needed: 8 × 300 = 2400 by 10 × 300 = 3000.
- Your image is 2400 × 3000 when rotated to portrait, an exact match.
- Result: it prints at a full 300 PPI with no upscaling.
Now try a 16 × 20 inch poster from the same file: 3000 ÷ 20 = 150 PPI. That's half the usual photo target, but a poster is normally seen from further away, so it will often look fine. The DPI and print size calculator runs these numbers in both directions.
Typical PPI targets by use
| Print type | Typical target | Viewing distance |
|---|---|---|
| Photo prints, magazines, brochures | 300 PPI | Hand-held |
| Posters, wall art | 150 to 200 PPI | A few feet |
| Banners, trade-show graphics | About 100 PPI or less | Several feet or more |
| Billboards | Very low, often under 50 PPI | Across a road |
These are common rules of thumb, not standards. Your printer or print shop may have its own requirements, so always check their spec sheet.
Resampling vs changing the DPI number
Image editors give you two ways to change resolution, and confusing them causes most DPI problems.
- Without resampling: the pixel count stays fixed. For a 3000-pixel-wide image, raising PPI from 72 to 300 just shrinks the print width from about 41.7 inches to 10 inches. Quality is untouched.
- With resampling: the software adds or removes pixels. Downsampling is safe. Upsampling invents pixels by interpolation, so a small image upscaled to 300 PPI gets bigger but not sharper. AI upscalers can do better, but they're guessing detail rather than recovering it.
If you need to work out new dimensions while keeping the proportions, the image resize calculator helps.
Quick reference
| Question | Answer |
|---|---|
| What does a printer's DPI rating tell me? | How finely it places ink dots, not what resolution your file needs |
| What resolution should a print file be? | Print size in inches × target PPI (often 300) |
| What DPI should web images be? | Irrelevant; export the right pixel dimensions |
| Does raising DPI improve a small image? | No; it shrinks the print size or invents pixels |
| How do I compare screen sharpness? | Calculate PPI from resolution and diagonal |
For the screen side of the story, the W3C's CSS Values specification explains how CSS pixels relate to physical inches on screen.
Frequently asked questions
Is 300 DPI the same as 300 PPI?
In everyday use, yes. When a print shop asks for a 300 DPI image, they mean an image with enough pixels to print at 300 pixels per inch. Strictly, PPI describes the image and DPI describes the printer’s ink dots.
Does changing an image from 72 DPI to 300 DPI improve quality?
No. If you only change the DPI number without resampling, the pixels stay exactly the same; only the suggested print size changes. If you resample up, the software invents new pixels by interpolation, which adds size but not real detail.
What DPI should I use for images on a website?
It does not matter. Browsers size images by their pixel dimensions and your CSS, not the DPI value stored in the file. Focus on exporting the right pixel width, ideally 2x the displayed size for high-density screens.
What is a good PPI for printing photos?
Around 300 PPI is the usual target for photos and print viewed up close. 150 to 200 PPI is often fine for posters seen from a few feet away, and large signs or billboards can use far less because they are viewed from a distance.