ScienceComputer Science

PPI
calculator.

See how sharp a screen is from its resolution and size, and whether pixels show from your seat.

How it's worked out

Pixels per inch, or PPI, counts how many pixels sit along one inch of the screen. Makers quote the size as the diagonal, so the tool counts the pixels along the diagonal first, with Pythagoras, and divides by the diagonal in inches.

diagonal pixels\displaystyle \text{diagonal pixels}=w2+h2\displaystyle {}= \sqrt{w^2 + h^2}
PPI\displaystyle \text{PPI}=diagonal pixelsdiagonal in inches\displaystyle {}= \frac{\text{diagonal pixels}}{\text{diagonal in inches}}

Here ww and hh are the width and height in pixels. A 27 in screen at 2560 × 1440 has 2,937.2 pixels along its diagonal, so it is 108.8 PPI. The dot pitch, the distance between pixel centers, is 25.4 mm over the PPI: 0.2335 mm here.

Whether you see those pixels depends on how far away you sit. The tool works out the angle one pixel covers at your eye, in arcminutes, where 60 arcminutes make one degree. The American Academy of Ophthalmology puts the smallest detail an ideal eye resolves at about 1 arcminute, the basis of 20/20 vision. Past the distance where a pixel shrinks below that, pixels blend.

blend distance\displaystyle \text{blend distance}=1PPI×tan⁡(1′)\displaystyle {}= \frac{1}{\text{PPI} \times \tan(1')}

Worked examples

Lee chooses between two 27 inch monitors

Lee sits about 24 in from the screen. The 1440p model is 108.8 PPI, and from 24 in each pixel spans 1.32 arcminutes, just over the 1 arcminute limit. Its pixels blend from about 32 in.

The 4K model packs 163.2 PPI. From the same seat a pixel spans 0.88 arcminutes, under the limit, so text edges look smooth. The cost is that text is drawn smaller unless the system scales it up.

Open this example in the tool

The Okafors check a 65 inch TV from the couch

A 65 in 4K TV is only 67.8 PPI, far below any monitor. Its pixels blend from about 4.2 ft, and the couch is 8 ft away, where a pixel spans 0.53 arcminutes.

A 1080p set of the same size would be 33.9 PPI, blending from about 8.5 ft. From 8 ft both look smooth to 20/20 eyes; the 4K picture holds up when someone sits closer.

Open this example in the tool

Checking a spec sheet that lists 218 PPI

Apple's Studio Display page lists a 27 in screen at 5120 × 2880 and 218 pixels per inch. The formula gives 217.6, which rounds to 218, so the figures agree.

Spec sheets in Europe often give the diagonal in centimeters. Entering 68.58 cm gives 217.6 PPI, the same screen, because 1 in is exactly 2.54 cm.

Open this example in the tool

Reading your result

The PPI compares screens of the same kind. Desktop monitors at 1080p run from 82 PPI at 27 in to 92 at 24 in. A phone such as a 6.1 in model at 2556 × 1179 is about 461 PPI because it is held so close. At 12 in a pixel there spans 0.62 arcminutes.

The blending distance is where a pixel covers 1 arcminute. Closer than that, a sharp eye can see the grid or the stair steps on a diagonal line. Farther away, adding more pixels does not look sharper to 20/20 vision. Eyes vary, so treat the figure as typical, not a promise.

Pixels per degree is the same idea counted the other way. A 1440p 27 in monitor gives about 46 pixels in each degree of view from 24 in. Near 60 a pixel covers about 1 arcminute.

The reverse question helps when shopping. At 4K, 110 PPI needs a 40.1 in diagonal, so a 4K screen of about 40 in has close to the density of a 27 in 1440p monitor, just larger.

Common mistakes

  • Using the width instead of the diagonal. Screen sizes are diagonals. Dividing the pixel width by the diagonal gives a figure that is too low.
  • Comparing PPI across distances. A TV at 68 PPI can look as smooth from the couch as a monitor at 109 at a desk. Compare the angle a pixel covers from where you sit.
  • Mixing centimeters and inches. A diagonal in cm must be divided by 2.54 first. The unit switch on the diagonal does this for you.
  • Reading PPI as DPI. DPI counts printer ink dots. A screen has pixels, and print size needs its own calculation.

Questions people ask

At 2560 × 1440 it is 108.8 PPI, which works at normal text size from a desk. 4K on 27 in is 163.2 PPI, sharper but with smaller text unless you scale it. 1080p on 27 in is 81.6 PPI, and from 24 in its pixels span 1.76 arcminutes, well above the 1 arcminute limit.

Sources