Formula and calculation method
Find the diagonal pixel count using the Pythagorean theorem, then divide by the diagonal screen size in inches.
Worked example
| Input | Example 1 | Example 2 |
|---|---|---|
| Width (px) | 1920 | 2560 |
| Height (px) | 1080 | 1440 |
| Diagonal (in) | 24 | 27 |
| Result | 91.7877987534 ppi | 108.785539263 ppi |
How to use the result
Check whether the source uses decimal or binary units and whether overhead is included. Actual device or network performance may differ.
Do I enter screen width in inches?
Use the advertised diagonal length in inches, plus horizontal and vertical pixels. Compare the native panel resolution where possible. Pixels per inch is distinct from a browser's device pixel ratio.