Pixel density

PPI Calculator: Screen Pixel Density & Pixel Pitch

Use horizontal and vertical resolution with the physical diagonal to calculate screen pixel density and the size of each pixel.

Calculator

Results

Pixel density
Pixel pitch
Pixel diagonal
Display ratio
Physical diagonal

Formula and method

PPI = √(horizontal pixels² + vertical pixels²) ÷ diagonal inches

The pixel diagonal comes from the Pythagorean theorem. Dividing it by the physical diagonal gives pixels per inch; 25.4 ÷ PPI gives pixel pitch in millimeters.

Assumptions and limits

  • Resolution is the panel’s native pixel grid.
  • Pixels are square.
  • Advertised diagonal is accurate enough for comparison.

Worked examples

27-inch 4K display

√(3840² + 2160²) ÷ 27 = about 163.18 PPI, with a pixel pitch near 0.156 mm.

24-inch 1080p monitor

√(1920² + 1080²) ÷ 24 = about 91.79 PPI, with a pixel pitch near 0.277 mm.

Typical desktop display densities

Size / resolutionApprox. PPIPixel pitch
24 in / 1920×108091.790.277 mm
27 in / 2560×1440108.790.233 mm
27 in / 3840×2160163.180.156 mm

Frequently asked questions

Is higher PPI always better?

It produces smaller pixels, but readability, scaling, viewing distance, panel quality and graphics performance also matter.

Is PPI the same as resolution?

No. Resolution counts pixels. PPI combines that count with physical size to describe density.