How to Use
- Enter resolution
Input the horizontal and vertical resolution in pixels.
- Enter screen size
Input the diagonal screen size in inches.
- View results
Click Calculate to see PPI, total pixel count, and individual pixel size.
What is PPI (pixel density)?
PPI (Pixels Per Inch) is the number of pixels packed into one inch of a display, and it is the key measure of how detailed a screen looks. The same 4K resolution looks razor-sharp on a 6-inch phone because the PPI is high, but on a 55-inch TV the PPI drops and individual pixels become visible up close. In other words, PPI depends on both resolution and screen size together.
Why it matters
- Judging sharpness: When comparing devices, resolution numbers alone are not enough; PPI tells you how crisp the image truly is.
- UI scaling design: On high-PPI screens, drawing in raw pixels would make text far too small, so operating systems apply scaling that matches the PPI.
- Preparing images: It sets the benchmark for which resolution to export your design assets at.
The formula
PPI is found by dividing the number of pixels along the screen's diagonal by the diagonal length in inches. To get the diagonal pixel count from the width and height in pixels, use the Pythagorean theorem.
PPI = sqrt(width_px^2 + height_px^2) / diagonal_inches
Example: a 24-inch monitor at 1920x1080 resolution:
- Diagonal pixels = sqrt(1920^2 + 1080^2) = sqrt(4,769,856) ≈ 2202.91
- PPI = 2202.91 / 24 ≈ 91.8
Width/height in pixels is the screen resolution, and diagonal inches is the physical length measured corner to corner. The total pixel count is shown separately as width x height (about 2.07 million, or 2.07 megapixels).