DPI / PPI Calculator

Pixel density from resolution and diagonal screen size.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

DPI / PPI calculator

Work out the pixel density of any monitor, phone or tablet from its resolution and diagonal size. It is useful for comparing screen sharpness, choosing a monitor, or checking whether a display counts as high-DPI (“Retina”).

How it works

Screens are sold by their diagonal size, so the calculation combines the pixel diagonal with that physical measurement. First it finds the diagonal in pixels with the Pythagorean theorem, then divides by the diagonal in inches:

PPI = √(width² + height²) ÷ diagonal in inches

From the PPI it also derives:

  • Dot pitch = 25.4 ÷ PPI (millimetres between pixel centres — smaller is sharper)
  • Active area = width ÷ PPI by height ÷ PPI (the physical display size in inches and centimetres)

Example

A 2560 × 1440 monitor on a 27-inch panel:

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

ScreenResolutionDiagonalPPI
27” QHD monitor2560 × 144027”~108.8
24” 1080p monitor1920 × 108024”~91.8
15.6” 4K laptop3840 × 216015.6”~282.4

Everything runs in your browser — nothing is uploaded.

Ad placeholder (rectangle)