Article — Pixels Per Inch (PPI) Calculator
Pixels per inch (PPI): how to calculate display pixel density
Pixels per inch (PPI) is a display metric that measures how tightly pixels are packed on a screen. It equals the pixel diagonal divided by the physical diagonal: PPI = √(W² + H²) / d, where W and H are the resolution in pixels and d is the screen diagonal in inches. A 1920×1080 panel on a 24-inch monitor has 91.8 PPI; an iPhone 15 Pro hits 460 PPI on its 6.1-inch screen.
PPI is the simplest objective measure of display sharpness. Higher density means smaller pixels packed more tightly, which makes text crisper and images smoother. The relationship is asymptotic, though: once pixels drop below the eye's angular resolution at normal viewing distance, more PPI becomes invisible and only costs battery and GPU cycles.
What is pixels per inch?
Pixels per inch counts how many pixels fit along a 1-inch stretch of screen. It is a density, not a resolution: a 27-inch 4K monitor and a 13-inch 1080p laptop can have very different PPI even when one has four times the total pixel count. The PPI value tells you about pixel size, not pixel count.
The metric is independent of whether the pixels are arranged in a square grid, an RGB stripe, or a Pentile diamond. PPI counts logical pixels along the axis. Subpixel arrangement affects perceived sharpness for text, but PPI ignores the subpixel layout.
The pixels per inch formula
The formula uses the Pythagorean theorem twice: once to find the pixel diagonal, once to divide by the physical diagonal.
d_px = √(W² + H²)PPI = d_px ÷ d_inppcm = PPI ÷ 2.54pitch (mm) = 25.4 ÷ PPIA worked example: 1920 × 1080 on a 24-inch diagonal. Pixel diagonal = √(1920² + 1080²) = √(3,686,400 + 1,166,400) = √4,852,800 = 2202.9 pixels. PPI = 2202.9 / 24 = 91.8. Pixel pitch = 25.4 / 91.8 = 0.277 mm, which matches the published spec for almost every 24-inch FHD monitor on the market.
Pixels per inch vs DPI
PPI describes displays; DPI (dots per inch) describes printers. They are related but not identical. A 300-DPI inkjet lays down 300 ink dots per linear inch on paper. A 300-PPI display shows 300 colored pixels per linear inch on glass. Photoshop and most image editors blur the distinction and use the terms interchangeably for image metadata, which is technically wrong but practically common.
The difference matters when preparing files for print versus screen. A high-quality 6×4 inch print needs 300 DPI on the page, so the source image must contain at least 1800 × 1200 pixels regardless of the screen PPI at viewing.
Old CRT monitors had effective PPI in the 60 to 75 range. The original 1984 Macintosh used 72 PPI as its design baseline, chosen so that 1 typographic point (1/72 inch) equaled 1 pixel. The 72 PPI convention survived into early web design and into PDF metadata: a "72 DPI image" tag really just means "no explicit print resolution set," which dates back to that CRT-era assumption.
The Retina pixels-per-inch threshold
Apple introduced "Retina display" with the iPhone 4 in 2010, defining it as a screen dense enough that the human eye cannot resolve individual pixels at normal viewing distance. The threshold depends on distance: a phone held 10 to 12 inches from the face needs about 326 PPI; a tablet held 15 inches away needs about 264 PPI; a laptop at 20 inches needs about 220 PPI.
The 326 PPI number is derived from the resolving power of 20/20 vision (about 1 arcminute) at 10 inches. Beyond 326 PPI on a phone, extra pixels are invisible to most people under normal lighting. Phone manufacturers still advertise 500+ PPI, partly to support virtual reality use cases where the screen sits inches from the eye.
Pixels per inch by device class
The expected PPI range depends on what the device does and how close the user holds it. Phones hit 400+ PPI because they sit a hand's width from the face. Monitors hover at 100 to 200 PPI because they sit at arm's length. TVs drop to 60 to 100 PPI because viewing distance is several feet. Projectors drop further still.
For a desktop monitor, the sweet spot is a 27-inch panel at 4K (3840 × 2160 = 163 PPI). Below that resolution at 27 inches, text starts looking pixelated; above it, system scaling (typically 150% or 200%) is required for usable UI sizes. A 32-inch 4K monitor (138 PPI) is good for users who prefer larger native UI without scaling.
Viewing distance and PPI
Pixel density only matters relative to viewing distance. A 60-inch 4K TV at 80 PPI looks Retina-sharp from 10 feet away because the pixels subtend less than 1 arcminute of vision at that distance. The same 80 PPI on a monitor 24 inches from the face would look distinctly pixelated.
The formula for the "Retina threshold" at any distance is PPI ≈ 3438 / d_inches. At 10 inches (phone distance), threshold ≈ 344 PPI. At 24 inches (monitor distance), threshold ≈ 143 PPI. At 120 inches (TV at 10 ft), threshold ≈ 29 PPI. The numbers explain why TVs can get away with much lower density than monitors or phones.
Pixels per inch comparison table
The most-cited devices and what they hit.
- iPhone 15 Pro = 460 PPI (6.1-inch, 2556 × 1179)
- iPhone SE 3 = 326 PPI (4.7-inch, 1334 × 750)
- iPad Pro 12.9 = 264 PPI (12.9-inch, 2732 × 2048)
- MacBook Pro 14 = 254 PPI (14.2-inch, 3024 × 1964)
- 27-inch 4K monitor = 163 PPI (3840 × 2160)
- 32-inch 4K monitor = 138 PPI (3840 × 2160)
- 27-inch QHD monitor = 109 PPI (2560 × 1440)
- 24-inch 1080p monitor = 92 PPI (1920 × 1080)
- 55-inch 4K TV = 80 PPI (3840 × 2160)
- 65-inch 4K TV = 68 PPI (3840 × 2160)
Common pixels-per-inch mistakes
Equating resolution with sharpness. A 4K monitor is not automatically sharper than a 1080p monitor; the comparison depends on screen size. A 24-inch 4K is 184 PPI, much sharper than a 55-inch 4K at 80 PPI. Always pair resolution with diagonal before judging density.
Confusing PPI with DPI. Display PPI and print DPI use the same units but apply to different physical processes. Image metadata that lists "300 DPI" is really specifying intended print resolution; the screen renders the image at whatever PPI the display offers.
Beyond the resolving threshold for your viewing distance, extra pixels cost battery, GPU cycles, and money without improving perceived sharpness. A phone at 500 PPI consumes about 20 to 30% more GPU power than the same panel at 350 PPI under heavy graphics load, with no visible benefit at normal arm-length use. The advantage shows only in VR headsets where each pixel covers a much larger visual angle.
Misreading manufacturer specs. Some manufacturers list the "effective resolution" (after scaling or subpixel rendering) rather than the native pixel count. Pentile OLED panels in particular have fewer subpixels than the nominal pixel count suggests; the true PPI for color rendering may be 70 to 80% of the marketed PPI.
Forgetting scaling. A 4K display at 200% scaling shows the same logical UI density as a 1080p display at 100%. The extra pixels go into smoother edges and sharper text, not more screen real estate.