PPI Calculator
Type a screen’s resolution and its diagonal to get its pixel density. Nothing is uploaded — there is no file here at all.
Pixel density
—
This page cannot read your screen
A browser knows how many CSS pixels a page has and a device pixel ratio, and neither says how big the glass is. So nothing here is filled in from your device. Take the resolution from the display settings and the diagonal from the spec sheet, and type both.
Working out a print size?
A picture has no diagonal of its own — its density is whatever you print it at. For that, Pixels to Inches turns a pixel count into a size at the DPI you choose. Nothing is uploaded on either page.
How it works
The sum is the diagonal in pixels over the diagonal in inches
The width and height in pixels make a right triangle, so the diagonal in pixels is the square root of width squared plus height squared. Divide that by the diagonal in inches and you have pixels per inch. A 1920 by 1080 screen has a diagonal of 2202.9 pixels; on a 24 inch monitor that is 91.79 PPI, and on a 15.6 inch laptop the same pixels come out at 141.21.
Every answer names the diagonal it came from
A 27 typed as centimetres instead of inches gives a figure 2.54 times too high, and it looks just as believable. So the result line always repeats the resolution and the diagonal it used, with the inch value when you typed centimetres. If the number looks wrong, the line under it shows what went in.
Width, height and dot pitch assume square pixels
Dividing the horizontal pixel count by the PPI gives the panel width only if a pixel is as tall as it is wide, which is true of almost every screen sold today. The page says so under the table rather than hiding it. Dot pitch is the same figure turned around: 25.4 millimetres divided by the PPI, the distance from one pixel centre to the next.
A distance, not a sharpness grade
Labels like retina or sharp on a PPI number depend on how far away you sit, and nobody typed that. Instead the page gives the distance at which one pixel spans one arcminute, the usual figure for 20/20 vision. A 24 inch 1080p monitor reaches it at about 95 cm, a 27 inch 4K one at about 54 cm. Sit further back and single pixels blend; sit closer and they can be seen.