PPI Calculator

Turn resolution and screen size into pixels-per-inch, dot pitch and a retina check.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

A PPI (pixels-per-inch) calculator turns three simple inputs — a display’s horizontal resolution, vertical resolution and physical diagonal — into the numbers that actually describe how sharp a screen is: pixel density, dot pitch, the real active area in inches and centimetres, total megapixels, the reduced aspect ratio, and a retina sharpness check for the distance you sit from it. It is the tool to reach for when you are comparing two monitors, choosing a phone, sizing a TV for a room, or deciding whether a 4K panel is worth it at the size you want.

How it works

Pixel density is the diagonal measured in pixels divided by the diagonal measured in inches. The diagonal in pixels comes straight from Pythagoras, so the full formula is:

PPI = sqrt(width_px² + height_px²) / diagonal_inches

From that single number everything else follows. Dot pitch — the spacing between neighbouring pixel centres — is 25.4 / PPI in millimetres. The active area is each pixel dimension divided by the PPI. Megapixels is width times height divided by one million. The aspect ratio is the width and height reduced by their greatest common divisor (so 2560 by 1440 reports as 16 by 9).

The retina check is the clever part. The human eye resolves detail down to about one arc-minute. At a given distance the smallest pixel pitch you can still perceive corresponds to a required PPI of 1 / (distance_in × tan(1 arc-minute)). If your screen’s PPI is at or above that threshold, the pixels blur together and the display is effectively retina-class for you. Sit further back and the required PPI drops — which is exactly why a 55-inch 4K TV at 80 PPI looks razor sharp from the sofa, while the same 80 PPI on a desk monitor would look coarse.

Worked example

Take a 27-inch 2560 × 1440 monitor. The diagonal in pixels is sqrt(2560² + 1440²) ≈ 2937 px. Divide by 27 inches and you get about 108.8 PPI, a dot pitch of roughly 0.233 mm, an active area of about 23.5 × 13.2 inches, 3.69 megapixels and a clean 16:9 aspect ratio. At a 24-inch viewing distance the threshold is around 96 PPI, so this panel clears it — pixels are not individually resolvable at the desk. Drop the panel to a 24-inch 1080p screen and density falls to about 92 PPI, just under the threshold, which is why text on cheap 24-inch 1080p monitors can look a touch soft.

Reference / formula note

  • PPI = sqrt(w² + h²) / diagonal_inches
  • Dot pitch (mm) = 25.4 / PPI
  • Pixels per cm = PPI / 2.54
  • Megapixels = (w × h) / 1,000,000
  • Required PPI at distance d (in) = 1 / (d × tan(1/60°))
  • 1 inch = 2.54 cm exactly, so a diagonal entered in cm is divided by 2.54

Common retina marketing references: phones ≈ 326 PPI, tablets ≈ 264 PPI, laptops ≈ 220 PPI, desktop monitors ≈ 218 PPI. Add a panel price to get cost per megapixel and cost per diagonal inch for a quick value comparison between two displays.

Everything is computed in your browser — no numbers are uploaded or stored.

Ad placeholder (rectangle)