PPI Calculator (Pixels per Inch)

  • Tested against 400 screens worked with 50-digit square roots in Python
  • Checked by Wayne Bickerton
  • Sources: OpenStax
  • Updated November 11, 2026

Pixels per inch (PPI) is a screen’s diagonal in pixels, √(width² + height²), divided by its diagonal in inches: a measure of how sharp it looks. Enter a screen’s resolution in pixels and its size (the diagonal, in inches, as sold) to get its PPI, the size of each pixel (the dot pitch) and the screen’s real width and height.

px
px
in
Pixels per inch
91.79 PPI

A 24-inch screen with 1,920 × 1,080 pixels has 91.79 pixels per inch: each pixel is 0.2767 mm across.

Diagonal in pixels 2,202.91 px
Dot pitch 0.2767 mm
Screen width × height 20.92 × 11.77 in

How to calculate pixels per inch

Screens are sold by their diagonal, so find the diagonal in pixels too. The width, height and diagonal make a right triangle, so the Pythagorean theorem gives it: square the width and height, add them, and take the square root. Then divide by the diagonal in inches.

PPI = √(width² + height²) ÷ diagonal in inches

Here it is with your numbers:

  1. Square the sides: 1,920² + 1,080² = 4,852,800.
  2. Take the square root for the diagonal in pixels: √4,852,800 is 2,202.91 pixels.
  3. Divide by the diagonal in inches: 2,202.91 ÷ 24 = 91.79 PPI.

It means about 92 pixels sit side by side in every inch of this screen.

Source OpenStax · Prealgebra 2e, 9.3 Use Properties of Angles, Triangles, and the Pythagorean Theorem ↗

PPI of common screens

ScreenResolutionPPI
13.3″ laptop, Full HD1,920 × 1,080165.63
15.6″ laptop, Full HD1,920 × 1,080141.21
24″ monitor, Full HD1,920 × 1,08091.79
27″ monitor, Full HD1,920 × 1,08081.59
27″ monitor, QHD2,560 × 1,440108.79
27″ monitor, 4K3,840 × 2,160163.18
32″ monitor, 4K3,840 × 2,160137.68
55″ TV, 4K3,840 × 2,16080.11
65″ TV, 4K3,840 × 2,16067.78

The same resolution looks sharper on a smaller screen, because the pixels are packed closer together. Sizes are the diagonal as sold; a screen’s real viewable size can differ slightly.

FAQs

How to calculate PPI formula?

PPI = √(width² + height²) ÷ diagonal in inches. The square root gives the screen’s diagonal in pixels (the Pythagorean theorem); dividing by the diagonal in inches gives pixels per inch.

Source OpenStax · Prealgebra 2e, 9.3 Use Properties of Angles, Triangles, and the Pythagorean Theorem ↗

How many PPI on a 1080p 24 inch?

A 24-inch 1920 × 1080 screen has 91.79 PPI: √(1,920² + 1,080²) is 2,202.91 pixels, and 2,202.91 ÷ 24 is 91.79.

What is the PPI of a 27-inch 1080p monitor?

81.59 PPI: 2,202.91 pixels along the diagonal ÷ 27 inches. The same resolution on a bigger screen spreads the pixels further apart.

Sources

Related calculators