PPI Calculator for Screens

Enter a screen’s resolution and diagonal size to get its pixels per inch, plus dot pitch and physical width and height. A 27-inch 4K monitor works out at about 163 PPI.

–
Dot pitch–
Total pixels–
Aspect ratio–
Width–
Height–
Retina distance*–

*Approximate viewing distance at which individual pixels become indistinguishable for 20/20 vision.

PPI vs DPI: Pixel Density Explained for Screens, Phones and Designers

PPI and DPI are two of the most confused terms in design. People say “72 DPI for web” and “300 DPI for print”, phones advertise “460 PPI”, and design software asks for a resolution when you export. They are related ideas, but they describe different things, and mixing them up leads to blurry exports and wasted effort.

Low pixel density compared with high pixel density rendering of the same text

The definitions

PPI (pixels per inch) describes how many pixels fit into one inch of a screen, or how densely an image’s pixels will be spread when printed.

DPI (dots per inch) describes how many dots of ink or toner a printer places per inch. Printers often use many tiny dots of a few ink colors to reproduce a single image pixel, so a printer’s DPI rating (often 1200–4800) is usually much higher than the PPI of the image you send it.

In everyday speech, “DPI” is often used for both, including in software dialogs. That’s fine as long as you know which one is meant: for images and screens, it’s pixels per inch.

How screen PPI is calculated

A screen’s PPI depends on its resolution and its physical size:

  1. Find the diagonal resolution in pixels: √(width² + height²)
  2. Divide by the diagonal size in inches.

Example: a 27-inch 2560 × 1440 monitor.

  • √(2560² + 1440²) = √(6,553,600 + 2,073,600) ≈ 2937 pixels
  • 2937 ÷ 27 ≈ 108.8 PPI

The PPI calculator above does this, and also calculates the dot pitch (the distance between pixels) and the physical width and height of the display.

Typical pixel densities

DeviceTypical resolutionApproximate PPI
24″ Full HD monitor1920 × 108092
27″ QHD monitor2560 × 1440109
27″ 4K monitor3840 × 2160163
27″ 5K display5120 × 2880218
13–14″ high-resolution laptop~2560 × 1600220–230
Modern smartphone~1170–1440 wide400–550
55″ 4K TV3840 × 216080

A 55-inch 4K TV has lower pixel density than a typical office monitor, but it looks sharp because you sit much further away.

Viewing distance: why “Retina” is relative

Apple introduced the “Retina” label in 2010 with the iPhone 4 (326 PPI), describing a density at which individual pixels can’t be distinguished at a normal viewing distance. The key phrase is viewing distance. Visual acuity is commonly modelled as resolving about one arcminute (1/60 of a degree) for 20/20 vision. From that, you can calculate the distance at which a screen’s pixels blend together:

PPIPixels become indistinguishable beyond roughly
9038 in (97 cm)
11031 in (80 cm)
22016 in (40 cm)
32610.5 in (27 cm)
4607.5 in (19 cm)

This is why phones need much higher density than laptops, and laptops more than TVs. Our PPI calculator shows this “retina distance” for any screen.

CSS pixels versus physical pixels

On the web, you design in CSS pixels, not physical ones. A phone with a 1179-pixel-wide panel and a device pixel ratio (DPR) of 3 reports a viewport 393 CSS pixels wide. Each CSS pixel is drawn with a 3 × 3 block of physical pixels. That keeps text and buttons a comfortable physical size across devices with very different pixel densities.

You can see your own screen’s CSS resolution and DPR with our screen resolution checker, and we explain the relationship in screen resolution vs viewport vs DPR.

What this means for designers

Export raster images at 2x. On a DPR 2 or 3 screen, an image exported at 1x looks soft. 2x is the practical sweet spot for photos; 3x adds file size with little visible gain for most images.

Use vectors for icons and logos. SVG renders sharp at any density, so DPR doesn’t matter.

Thin lines and small text look different by device. A 1px hairline is crisp on a 2x screen but can look heavy or blurry on a 1x monitor. Light font weights that look elegant on a high-density laptop can look spindly on a standard office screen. Test on both.

Physical size matters for touch targets. Guidelines like 44pt (Apple) and 48dp (Android) are in density-independent units, which map to roughly the same physical size on every device.

The myth of “72 DPI for web”

The “72 DPI” rule comes from the original 1984 Macintosh, whose screen displayed 72 pixels per inch so that one screen pixel matched one typographic point. Today, the DPI value stored in an image file has no effect on how it displays on the web. A 1200 × 800 image looks the same in a browser whether its metadata says 72 or 300 DPI. Only pixel dimensions matter for screens.

PPI only matters when you print, where it determines physical size: 3000 pixels printed at 300 PPI is 10 inches wide. Our print resolution guide covers that side.

PPI versus DPI at a glance

PPIDPI
Applies toScreens and digital imagesPrinters and printed output
MeasuresPixels per inchInk dots per inch
Typical values90–550 (screens), 150–300 (images for print)300–4800 (printers)
Affects web display?Screen PPI affects sharpness; file metadata does notNo