Skip to content

PPI calculator

Pixel density (pixels per inch), pixel pitch and screen dimensions. Enter any two of resolution, diagonal size, physical size or PPI, and the rest fill in.

Fill in any two of the four groups below. The rest are calculated from them.

Resolution
px
px
Diagonal size
Physical size
cm
cm
Pixel density
ppi

PPI result

Pixels per inch

-

Enter two of the four groups to the left.

Pixel pitch
-
Aspect ratio
-
Width
-
Height
-
Resolution
-
Diagonal
-

Common resolutions

NameResolution
HD (720p)1280 × 720
Full HD (1080p)1920 × 1080
QHD (1440p)2560 × 1440
4K UHD (2160p)3840 × 2160
5K5120 × 2880
8K UHD7680 × 4320

How it works

PPI (pixels per inch) is the pixel density of a display: the diagonal pixel count divided by the diagonal screen size in inches. Higher PPI packs more pixels into the same space, giving sharper text and images. Fill in any two of resolution, diagonal size, physical size or PPI, and the calculator solves for the other two.

  1. Pick any two groups

    Resolution and diagonal is the most common combination, but any two work.

  2. Read the density

    PPI and pixel pitch (the physical distance between pixels) update as you type.

  3. Check the dimensions

    Width, height and resolution fill in from whichever two groups you used.

PPI formulas

Pixel density from resolution and diagonal size:

Diagonal (px) = √(Width² + Height²)
PPI = Diagonal (px) ÷ Diagonal (inch)

Pixel pitch, the physical distance between pixel centers:

Pitch (µm) = 25,400 ÷ PPI

Physical width and height from a diagonal size and aspect ratio, using the angle θ = arctan(ratioH ÷ ratioW):

Width = Diagonal × cos(θ)
Height = Diagonal × sin(θ)

Retina and HiDPI

Apple's "Retina" display refers to a screen where individual pixels are indistinguishable at typical viewing distance: roughly 300+ PPI for phones held about 12 inches away, and 220+ PPI for laptops viewed at roughly 18 inches. HiDPI is the equivalent concept on other platforms; modern operating systems scale the interface to stay readable on these high-density screens.

Typical PPI by device

  • Smartphone: 300 to 500+ PPI, viewed from 10 to 15 inches.
  • Laptop: 100 to 300 PPI, viewed from about 20 inches.
  • Desktop monitor: 80 to 160 PPI, viewed from 20 to 30 inches.
  • TV: 40 to 80 PPI, viewed from 6 to 10 feet, where angular resolution matters more than raw PPI.

Higher PPI is not always better

Beyond the Retina threshold for a given viewing distance, extra PPI gives no perceptible improvement, because the eye's angular resolution limit is already met. Very high-PPI displays also need OS scaling, which can introduce artifacts in applications that do not handle it well.

Frequently asked questions

What PPI qualifies as a Retina display?

Apple defines Retina as a display where individual pixels are indistinguishable at typical viewing distance. In practice that means 300+ PPI for smartphones held about 12 inches away, and 220+ PPI for laptops viewed at roughly 18 inches. The iPhone 15 Pro reaches 460 PPI; the 14-inch MacBook Pro reaches 254 PPI, both well above the threshold.

Is 100 PPI enough for a desktop monitor?

For most people at a normal arm's-length viewing distance of 24 to 30 inches, 100 to 110 PPI is adequate for comfortable reading. Photo or video editors benefit from 140 to 160 PPI to see finer detail. Below 90 PPI, individual pixels become visible at close range, which is why many people upgrade to 4K panels on 27-inch monitors (about 163 PPI).

Why does a 4K TV have a lower PPI than a phone?

PPI depends on both resolution and physical screen size. A 55-inch 4K TV at 3840×2160 works out to about 80 PPI, while a 6.1-inch phone at a similar resolution exceeds 400 PPI. Because TVs are viewed from 6 to 10 feet away, 80 PPI is more than enough: angular resolution, not raw PPI, determines perceived sharpness at that distance.

What is pixel pitch and how does it relate to PPI?

Pixel pitch is the center-to-center distance between adjacent pixels, usually in millimeters or micrometers. It is the reciprocal of PPI scaled by 25.4: pitch (mm) = 25.4 ÷ PPI. A 100 PPI display has a 254-micrometer pitch; a 300 PPI display has an 85-micrometer pitch. Lower pitch means finer detail.

Does higher PPI always mean better image quality?

Not unconditionally. Beyond the Retina threshold for a given viewing distance, additional PPI gives no perceptible improvement, because the eye's angular acuity limit of about 1 arc-minute is already satisfied. Very high-PPI displays also require OS scaling, which can introduce rendering artifacts in applications that are not built for it.