Enter a rectangular screen’s pixel resolution and diagonal in inches to calculate PPI, exact total pixels, megapixels and aspect ratio.
PPI = √(width² + height²) ÷ diagonal in inches; total pixels use the rectangular grid.