Pixel Density (PPI)

Calculate pixels per inch from diagonal resolution and screen size.

—

Formula

sqrt(x*x+y*y)/inches