The PPI calculator determines the pixels per inch, dot pitch (DPI), and aspect ratio based on the screen resolution and diagonal.
The pixel density (PPI) is calculated using the following formula:
PPI = |
|
Diagonal (pixels) = | √ |
|
Let's take an example.
Calculate the PPI for the screen width of 2040, height of 1080, and diagonal of 6.4 inches.
Step 1: Find the diagonal in pixels.
Diagonal (px) = | √ |
|
Diagonal (px) = | √ |
|
Diagonal (px) = | √ |
|
Diagonal (px) = 2308.25 pixels.
Step 2: Apply the PPI formula.
PPI = |
|
PPI = 360.66.
The dot pitch (DPI) is calculated using the following formula:
Dot Pitch (mm) = |
|
× 25.4 |