Pixel Density (PPI) Calculator
Written by Thierno Sadou Diallo, formula verified per our methodology • Last checked on 12/5/2026
Pixel density is PPI = √(width² + height²) ÷ diagonal. A 24-inch Full HD screen (1920 × 1080) shows about 91.8 pixels per inch, versus 108.8 for a 27-inch 2560 × 1440 screen.
Explanation
A screen's resolution tells you how many pixels it shows, but not how sharp the image is: 1920 × 1080 pixels on a phone or on a 55-inch TV don't look the same at all. Pixel density, in PPI (pixels per inch), measures that sharpness. You get it by computing the number of pixels along the diagonal with the Pythagorean theorem, √(width² + height²), then dividing by the diagonal's length in inches. Pixel pitch, 25.4 ÷ PPI, gives a pixel's size in millimeters. A higher density makes text sharper and pixels less visible, but the real impression also depends on viewing distance: a TV watched from afar doesn't need a phone's density held at 30 cm. As orders of magnitude, a desktop monitor is often around 90 to 110 PPI, while a recent smartphone generally exceeds 400 PPI. The calculation assumes square pixels and uses the manufacturer's stated diagonal, which can differ slightly from the actual display area. To convert a diagonal into centimeters or find a screen's width and height, use the screen size calculator; for the resolution needed for a print, the image resolution calculator.
Example: a 24-inch Full HD screen
Inputs
Resolution: 1920 × 1080 pixels. Diagonal: 24 inches.
Calculation
Pixels on the diagonal = √(1920² + 1080²) = 2,203. Density = 2,203 ÷ 24 = 91.8 ppi. Pixel pitch = 25.4 ÷ 91.8 = 0.277 mm.
Result
The screen shows about 91.8 pixels per inch, each pixel measuring 0.28 mm.
Frequently asked questions
What is the difference between PPI and DPI?
PPI (pixels per inch) describes the density of a screen or a digital image. DPI (dots per inch) originally describes a printer's density of ink dots. The two terms are often mixed up in everyday use.
What pixel density is enough?
It depends on viewing distance: about 90 to 110 PPI is common for a desktop monitor viewed at 60 cm, while a phone held closer benefits from more than 300 PPI. Beyond a certain threshold, the eye no longer distinguishes pixels.
Why does my result differ slightly from the spec sheet?
The stated diagonal is often rounded, and the area actually displayed may be a little smaller. Manufacturers also round the density. The gap is usually a few PPI.