Monitor PPI Calculator — Pixels Per Inch and Pixel Pitch
Enter a monitor's horizontal and vertical resolution in pixels and its physical diagonal size in inches to get PPI (pixels per inch), pixel pitch in millimeters, and diagonal pixel count. This is not a display scaling or OS DPI setting tool and does not account for subpixel layout or panel coatings.
Monitor specifications
Formulas
diagonal_px = √(width² + height²)
PPI = diagonal_px / diagonal_in
pixel_pitch_mm = 25.4 / PPI
Where width = horizontal resolution in pixels; height = vertical resolution in pixels; diagonal_in = physical screen diagonal in inches; diagonal_px = diagonal resolution in pixels; PPI = pixels per inch (pixel density); pixel_pitch_mm = distance between pixel centers in millimeters.
PPI is calculated from the diagonal pixel count divided by the physical diagonal in inches.
Pixel pitch is the inverse of PPI converted to millimeters (25.4 mm per inch).
Assumes square pixels; does not apply to displays with non-square pixels.
Checked examples
1920×1080 at 24 inches: diagonal pixels = √(1920²+1080²) = 2202.9; PPI = 2202.9/24 = 91.8; pitch = 25.4/91.8 = 0.277 mm.
3840×2160 at 27 inches: diagonal pixels = √(3840²+2160²) = 4405.8; PPI = 4405.8/27 = 163.2; pitch = 25.4/163.18 = 0.1557 mm.
2560×1440 at 27 inches: diagonal pixels = √(2560²+1440²) = 2937.4; PPI = 2937.4/27 = 108.8; pitch = 25.4/108.79 = 0.2335 mm.
Limits
Resolution dimensions must be positive integers. Diagonal size must be positive. Assumes square pixels and that the advertised diagonal matches the visible area. Not for: OS display scaling or DPI settings; Subpixel layout (RGB, BGR, PenTile) effects; Panel coating or perceived sharpness comparisons.