Pixels Per Inch (PPI) Calculator

Compute the pixel density (PPI) of any display from its pixel resolution and diagonal size.

Everyday Resolution Display
Rate this calculator · 4.0 (2)

Display PPI Calculator

Pythagoras method · presets for phones, tablets, monitors

Instructions — Pixels Per Inch (PPI) Calculator

1

Enter resolution

Type the screen width and height in pixels. For an iPhone 15 Pro that is 2556 × 1179. For a 4K monitor it is 3840 × 2160. The order does not matter for PPI.

2

Enter diagonal

Type the screen diagonal in inches. This is the value the manufacturer advertises (24" monitor, 6.1" phone). The diagonal is the visible glass, not the bezel.

3

Read the PPI

The result is the pixel density. Values above 326 PPI are Retina-class; above 220 PPI are HiDPI. Standard 24" 1080p monitors land at 92 PPI; 27" 4K is 163 PPI.

Formula: PPI = √(W² + H²) ÷ diagonal_inches.
Quick check: 1920×1080 on 24" = 2202.9 px diagonal ÷ 24 = 91.8 PPI.

Formulas

Pixel density (PPI) is the pixel diagonal divided by the physical diagonal. The pixel diagonal comes from the Pythagorean theorem applied to width and height in pixels.

Primary Formula
$$ \text{PPI} = \frac{\sqrt{W^2 + H^2}}{d_{in}} $$
W and H are pixels along the width and height; d_in is the physical screen diagonal in inches.
Pixel Diagonal (Pythagoras)
$$ d_{px} = \sqrt{W^2 + H^2} $$
A 1920×1080 panel has a pixel diagonal of √(1920² + 1080²) = 2202.91 pixels.
Metric Equivalent
$$ \text{ppcm} = \frac{\text{PPI}}{2.54} $$
Pixels per centimeter is PPI divided by 2.54 (1 inch = 2.54 cm). Used in some European display specifications.
Pixel Pitch
$$ \text{pitch}_{mm} = \frac{25.4}{\text{PPI}} $$
Pixel pitch is the dot-to-dot spacing in millimeters. Lower pitch = denser, sharper display.
Active Screen Width
$$ W_{in} = \frac{W}{\text{PPI}} \;\;\; H_{in} = \frac{H}{\text{PPI}} $$
Once you have the PPI, recover the active width and height in inches by dividing the pixel counts.
Retina Threshold
$$ \text{PPI}_{retina} = \frac{1}{2 \cdot d_{ft} \cdot \tan(0.5\prime)} $$
Apple defines Retina as the PPI above which 20/20 vision cannot resolve individual pixels. At 12" viewing the threshold is about 286 PPI; phones target 326+.

Reference

Quick Reference — Common Devices
DeviceResolutionDiagonalPPI
iPhone 15 Pro2556 × 11796.1"460
iPhone SE (3rd gen)1334 × 7504.7"326
iPad Pro 12.9"2732 × 204812.9"264
MacBook Pro 14"3024 × 196414.2"254
27" 4K monitor3840 × 216027"163
27" QHD monitor2560 × 144027"109
24" 1080p monitor1920 × 108024"92
55" 4K TV3840 × 216055"80
65" 4K TV3840 × 216065"68

Density tiers — what each PPI range means

PPI matters relative to viewing distance. Phones held close need very high PPI; TVs seen from across a room can be much lower.

Close-distance devices
PPIClass
> 460Ultra-sharp phone
326 – 460Retina phone / watch
220 – 325HiDPI tablet / laptop
150 – 219Standard high-density
100 – 149Standard density
< 100Low density
Far-distance devices
DeviceTypical PPI
4K projector (100" screen)44 PPI
55" 4K TV80 PPI
32" 4K monitor138 PPI
27" 4K monitor163 PPI
24" 4K monitor184 PPI
15" 4K laptop294 PPI

Note: VESA classifies any display above 200 PPI as HiDPI. Smartphones drove the term “Retina” into common use after Apple introduced it with the iPhone 4 in 2010.

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.

The math
d_px = √(W² + H²)
PPI = d_px ÷ d_in
ppcm = PPI ÷ 2.54
pitch (mm) = 25.4 ÷ PPI

A 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.

Did you know

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.

iPhone 4 (2010)
326 PPI
First "Retina" phone
iPhone 15 Pro (2023)
460 PPI
Super Retina XDR OLED

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.

Tip

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.

Higher PPI is not always better

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.

FAQ

PPI = pixels per inch, a measure of pixel density. Higher PPI means smaller pixels packed more tightly, which produces a sharper image. The formula is √(W² + H²) ÷ screen diagonal in inches.
You need three values: pixel width, pixel height, and physical diagonal in inches. Compute the pixel diagonal with Pythagoras, then divide by the physical diagonal. For 1920×1080 on a 24-inch monitor: √(1920² + 1080²) = 2202.9 px ÷ 24 = 91.8 PPI.
460 PPI. The 2556 × 1179 OLED panel on a 6.1-inch diagonal gives √(2556² + 1179²) ÷ 6.1 = 2814 ÷ 6.1 = 461 PPI. Apple rounds the figure to 460.
Apple defines Retina as a display dense enough that the human eye cannot resolve individual pixels at normal viewing distance. The threshold depends on distance. For a phone held 10 to 12 inches away, 326 PPI is the bar; the iPhone 4 in 2010 was the first to hit it.
Up to a point. Beyond the resolving limit of the human eye at a given viewing distance, extra pixels are invisible. They cost battery, GPU power, and money without improving perceived sharpness. Phones above 500 PPI are largely marketing once the eye can no longer distinguish pixels.
PPI = pixels per inch on a display. DPI = dots per inch on a printer. Some software uses the terms interchangeably (especially Photoshop), but the strict definitions diverge. A 300 DPI print and a 300 PPI display are not the same thing.
Look up the spec sheet for native resolution and diagonal size. A 27-inch 4K monitor (3840×2160) is 163 PPI. A 27-inch QHD (2560×1440) is 109 PPI. Manufacturer pages list both numbers.
On a monitor at typical 24 to 30 inch viewing distance, 140 PPI or higher gives clearly sharp text without anti-aliasing artifacts. 200+ PPI (such as 27-inch 4K scaled to 150%) looks indistinguishable from print to most users.