PPI Calculator: Calculate Screen Pixel Density
Width (px) · Height (px) · Diagonal (inches) → Calculate
Results
—
How pixel density is calculated
Enter pixel width, pixel height, and the physical diagonal in inches. Density is the square root of width squared plus height squared, divided by that diagonal. Pitch in millimetres is 25.4 divided by the density.
Use the native resolution and the real panel diagonal, not the browser window and not the system scaling percentage. A worked example is 1920 by 1080 at 24 inches: 91.79 PPI and a pitch of 0.2767 mm. Wrong inputs make a wrong figure, and the page does not read the panel.
Common questions
Which numbers should I enter?
Native width and height in pixels, plus the physical diagonal in inches. The scaling percentage in the system is not the diagonal.
What is pixel pitch here?
25.4 divided by the calculated density, in millimetres. The 1920 by 1080 at 24 inch example is 0.2767 mm.
Does this detect my screen?
No. It calculates from the three numbers you enter. It does not look up the panel.
How to use this tool
Width (px) · Height (px) · Diagonal (inches) → Calculate
| Results | Method and units |
|---|---|
| PPI | √(width² + height²) / diagonal (in) |
| Pixel pitch | 25.4 / PPI, mm |
| Width (cm) | width(px) / PPI × 2.54 cm |
| Height (cm) | height(px) / PPI × 2.54 cm |
Example
Width (px): 1920 px · Height (px): 1080 px · Diagonal (inches): 24 in · PPI: 91.79 · Pixel pitch: 0.2767 mm
What this test can and cannot tell you
Results reflect events and signals available to your browser. Settings, permissions and device support can affect them; they do not certify that hardware is healthy or faulty.