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
| Screen | Resolution | Diagonal | PPI |
|---|---|---|---|
| 27” QHD monitor | 2560 × 1440 | 27” | ~108.8 |
| 24” 1080p monitor | 1920 × 1080 | 24” | ~91.8 |
| 15.6” 4K laptop | 3840 × 2160 | 15.6” | ~282.4 |
Everything runs in your browser — nothing is uploaded.