2 min read
How to Calculate Screen Pixel Density (PPI)
Learn what PPI means, how to calculate pixels per inch from resolution and screen size, and why density affects sharpness on phones, monitors, and TVs.
What PPI Measures
PPI stands for pixels per inch, a measure of how densely packed the pixels on a display are. A higher PPI means smaller, tighter pixels and a sharper image, which is why a phone screen can look crisper than a much larger TV even with fewer total pixels.
PPI depends on two things: how many pixels the screen has and how large the screen is physically. The same 1920 by 1080 resolution looks razor sharp on a small laptop but noticeably coarser stretched across a large monitor, because the pixels are spread over more area.
The Formula Behind It
PPI is calculated by finding the pixel count along the diagonal and dividing by the diagonal size in inches. The formula is the square root of width squared plus height squared, all divided by the diagonal inches. In other words, PPI equals sqrt(w^2 + h^2) divided by the diagonal.
For a 27-inch monitor at 2560 by 1440, the diagonal in pixels is sqrt(2560^2 + 1440^2), which is about 2938 pixels. Divide that by 27 inches and you get roughly 109 PPI. The math uses the Pythagorean theorem because screens are measured corner to corner.
Calculating Yours Step by Step
The calculator does the square-root math for you, so you only need the resolution and the advertised diagonal size, both of which are easy to find in a spec sheet.
- 1Open the PPI Calculator and enter the horizontal resolution in pixels, such as 2560.
- 2Enter the vertical resolution in pixels, such as 1440.
- 3Enter the screen diagonal in inches, using the advertised size like 27.
- 4Read the resulting PPI value, which combines both dimensions with the diagonal.
- 5Compare it against other displays to judge which will look sharper at the same viewing distance.
Why Density Matters in Practice
Higher PPI is not always better in isolation, because viewing distance matters. A phone held close needs high density to look smooth, while a TV watched from across a room can look perfect at a much lower PPI. Around 300 PPI at reading distance is often cited as the point where individual pixels blur together for most eyes.
Use PPI to compare candidates before buying, to judge whether text will look crisp, or to decide if a monitor needs display scaling. It is a single number that captures how the resolution and physical size work together.
Frequently asked questions
What is the formula for PPI?
PPI equals the square root of width squared plus height squared, divided by the diagonal size in inches. The square root gives the diagonal pixel count, which you divide by the physical diagonal.
Is a higher PPI always better?
Not always. Sharpness also depends on viewing distance. Phones benefit from very high PPI, while a TV seen from across a room can look flawless at a far lower density.
Where do I find my screen resolution and size?
Resolution appears in your display settings or the product spec sheet, and the diagonal size is the advertised screen measurement, like 15.6 inches or 27 inches.
Tools mentioned in this guide
PPI Calculator
Find a screen's pixel density (PPI) from its resolution and diagonal size.
Calculators
Screen Resolution Checker
See your screen resolution, viewport size, and pixel ratio instantly.
Screen Tools
Aspect Ratio Calculator
Solve missing dimensions for 16:9, 4:3, and any custom aspect ratio.
Calculators
Print Size Calculator
Can you print that photo at 8×10? Pixels → max print size and quality per size.
Image Tools
Dead Pixel Test
Cycle solid colors fullscreen to find dead and stuck pixels.
Screen Tools
Keep reading