How to Calculate PPI: Pixel Density From Resolution and Screen Size
Work out pixels per inch from any screen's resolution and diagonal size, learn what PPI means for sharpness, and compare phone and monitor displays the right way.
How to Calculate PPI: Pixel Density From Resolution and Screen Size
Spec sheets love to shout one number — 4K, 1440p, "stunning retina display" — and stay quiet about the one that actually decides how sharp a screen looks: pixel density. Two panels can share the exact same resolution and look completely different, because density depends on how those pixels are packed into a physical area. That packing is what PPI, pixels per inch, measures.
This guide shows you how to turn a resolution and a diagonal size into a real PPI figure, what that number tells you about sharpness, and why comparing a phone against a monitor by PPI alone is a trap. You can follow along with the PPI Calculator and check the math as you go.
What PPI Actually Measures
PPI is the count of pixels packed into one linear inch of screen. A higher PPI means smaller, more tightly spaced pixels, which is what your eye reads as "crisp" — edges look smooth, text looks printed rather than drawn, and you stop noticing the grid of dots.
Resolution alone cannot tell you this. A 1920×1080 image stretched across a 6-inch phone and the same image stretched across a 55-inch TV contain identical pixel counts, but the phone's pixels are crammed into a fraction of the space. The phone is sharp; the TV, up close, shows visible squares. Density, not pixel count, is what your eye responds to.
The companion idea is dot pitch — the center-to-center distance between two neighboring pixels, usually given in millimeters. It is simply the inverse of density: dot pitch = 25.4 mm ÷ PPI. A 100 PPI monitor has a 0.254 mm dot pitch; a dense 460 PPI phone drops to around 0.055 mm. Older monitor spec sheets quoted dot pitch instead of PPI, so knowing both lets you compare a modern panel against a legacy listing without converting in your head.
The Diagonal Pixels Formula
Screens are marketed by their diagonal size — a "27-inch monitor" or a "55-inch TV" refers to the diagonal, corner to corner. PPI is measured along that same diagonal, which makes the formula clean once you remember the Pythagorean theorem.
First, find the diagonal length in pixels from the horizontal and vertical resolution:
diagonal_px = √(width_px² + height_px²)
Then divide by the physical diagonal in inches:
PPI = √(width_px² + height_px²) / diagonal_inches
That is the whole thing. The square root converts the two-dimensional pixel grid into a single diagonal pixel count, and dividing by the inches it spans gives you pixels per inch. Every other figure — dot pitch, physical width and height, the aspect ratio — derives from this one calculation.
A Worked Example: a 27-Inch 1440p Monitor
Let's run the numbers on a common desk monitor: 2560×1440 on a 27-inch diagonal.
Start with the diagonal in pixels:
diagonal_px = √(2560² + 1440²)
= √(6,553,600 + 2,073,600)
= √8,627,200
≈ 2937.2 px
Now divide by the 27-inch diagonal:
PPI = 2937.2 / 27 ≈ 108.8 PPI
So a 27-inch 1440p panel lands at roughly 109 PPI. Its dot pitch is 25.4 ÷ 108.8 ≈ 0.234 mm. For comparison, push the same 27-inch screen to 4K (3840×2160) and the diagonal pixel count jumps to about 4405, giving ≈163 PPI — half again as dense, which is exactly why a 4K 27-inch display looks razor sharp on a desk while the 1440p version is merely fine. Same screen size, very different density, decided entirely by the pixel count in that square root.
Comparing Phones and Monitors the Right Way
Here is where raw PPI stops being the whole story. A modern phone might hit 460 PPI; a desktop monitor sits near 109; a 55-inch 4K TV is only about 80 PPI. If you ranked those by PPI you would conclude the TV is a blurry mess — yet from across a living room it looks perfectly sharp.
The missing variable is viewing distance. Sharpness is about angular resolution: how big each pixel looks to your eye, not how big it is in absolute terms. The human eye resolves down to roughly one arc-minute, which works out to about 60 pixels per degree of vision. Below that, individual pixels become resolvable; above it, they blur into a continuous image. A phone at 25 cm and a TV at 3 meters can both clear that 60 px/° threshold at wildly different densities, because the TV's lower density is offset by you sitting much farther away.
I keep two monitors on my desk, a 109 PPI 27-inch and a 163 PPI 4K of the same size. When I first set them side by side I assumed I'd never tolerate the lower-density one again. In practice, at my normal 60 cm viewing distance, the 109 PPI panel sits right around the retina threshold and I genuinely cannot pick out pixels on it during normal work. The 163 PPI screen is sharper if I lean in and hunt for the difference — but at a real desk distance the gap is far smaller than the spec sheets implied. That experiment is why I now always pair a PPI number with a viewing distance before judging it.
So the fair comparison across device types is pixels-per-degree at your actual distance, not the headline PPI. When you compare two phones held at arm's length, raw PPI is a reasonable proxy because the distance is the same for both. The moment the screens live at different distances, switch to angular resolution.
Beyond PPI: Aspect Ratio and Physical Size
Once you have the diagonal and the pixel dimensions, two more useful figures fall out for free. The aspect ratio is just the reduced form of width:height — 1920×1080 collapses to 16:9, 2560×1080 to 21:9. If you work with multiple resolutions and want the reduced ratio without the arithmetic, the Aspect Ratio Calculator handles that directly.
Physical width and height come from splitting the diagonal in the same proportion as the pixel grid, which is exact as long as the pixels are square — true for essentially every modern LCD and OLED. For our 27-inch 1440p example that gives roughly 23.5 inches wide by 13.2 inches tall, or about 59.7 by 33.5 cm. That is the figure you actually need when you are checking whether a monitor fits a shelf or two panels will sit flush side by side.
Putting It to Use
The next time a listing brags about resolution, do the quick check yourself: take the width and height, square them, add, square-root, and divide by the diagonal. A few seconds of arithmetic — or one entry into the PPI Calculator — tells you whether "4K" means 163 PPI of desktop crispness or 80 PPI that only works because you sit across the room. Pair every density figure with a viewing distance, and a vague marketing claim turns into a number you can actually trust.
Made by Toolora · Updated 2026-06-13