Pixel density calculator
Enter the width and height of a screen in pixels and its diagonal size, and this tool calculates the pixel density in pixels per inch.
Results
Enter your values to see the result.
About this tool
It also shows the pixels per centimetre, the dot pitch, the megapixels and the physical width and height of the screen. It helps when comparing phones, monitors and laptops.
- How it is calculated
- diagonal in pixels = √(width² + height²); pixels per inch (PPI) = diagonal in pixels ÷ diagonal in inches; dot pitch = 25.4 mm ÷ PPI; physical width = diagonal × width ÷ diagonal in pixels
- Worked example
- With Screen width: 1,920 pixels; Screen height: 1,080 pixels; Screen diagonal: 15.6; Diagonal unit: inches, the result is: Pixels per inch: 141.21 PPI; Pixels per centimetre: 55.6; Dot pitch: 0.1799 mm; Megapixels: 2.07; Screen width: 13.6 in; Screen height: 7.65 in; Screen width: 34.54 cm; Screen height: 19.43 cm; Diagonal: 15.6 in.
- Good to know
- The diagonal in pixels is the square root of width squared plus height squared, and the pixel density is that divided by the diagonal in inches. Manufacturers round screen sizes, so the real density may be a little different from the figure here.
Frequently asked questions
What is PPI?
It means pixels per inch, the number of pixels in a line one inch long. A higher PPI makes text and images look sharper at the same distance.
What PPI is high enough?
It depends on how far you sit from the screen. Phones held close need a higher density than a television seen from across the room.
Is PPI the same as DPI?
They are often mixed up. PPI describes the pixels of a screen, while DPI describes the dots a printer puts on paper.