DPI / PPI Calculator
Calculate a screen's pixels per inch from its resolution and diagonal size, with dot pitch.
How to use it
- Enter the resolution Width and height in pixels.
- Enter the diagonal The screen size in inches.
- Read the density PPI, dot pitch and megapixels.
Examples
| 1080p, 24" | ~92 PPI |
|---|---|
| phone | ~460 PPI |
About this tool
Pixel density, measured in pixels per inch, is what makes one screen look crisp and another look blocky at the same resolution. This calculator works out the PPI of any display from its pixel resolution and diagonal size.
It also reports the dot pitch — the distance between pixels — and the total megapixels, useful for comparing monitors, phones and TVs. The maths uses the Pythagorean theorem on the pixel dimensions, and it all runs in your browser.
Frequently asked questions
What is PPI?
Pixels per inch measures how densely packed a screen's pixels are. Higher PPI means a sharper image, with individual pixels harder to see.
How is it calculated?
The diagonal resolution in pixels (from width and height) is divided by the diagonal size in inches, following the Pythagorean theorem.
Related tools
Updated June 15, 2026