Inputs
Megapixels2.07
Ready
Pixel density is the diagonal in pixels divided by the diagonal in inches. A 1920 by 1080 screen is 2202.91 pixels along the diagonal, because that is the square root of 1920 squared plus 1080 squared. On a 24-inch diagonal the density is 2202.91 / 24, which is 91.79 PPI. Megapixels are width times height divided by one million: 1920 × 1080 / 1,000,000 is 2.07. The aspect ratio reduces by the greatest common divisor, 120, to 16:9.
PPI describes a screen of a known physical size. A 27-inch panel with the same 1920 by 1080 pixels is less dense, because the same diagonal pixel count is spread over more inches. A phone can pass 400 PPI with far fewer inches. The DPI calculator is the one-edge cousin for print: pixels, inches, and DPI, without a second side and without a megapixel count.
The diagonal you type should be the visible screen, the specification diagonal, not the outside of the bezel. A wrong diagonal moves the PPI and leaves megapixels and aspect untouched, which is a useful check: if only PPI looks wrong, the diagonal is the field to remeasure.
Width 1920. Height 1080. Screen diagonal 24 inches.
Megapixels 2.07. Aspect 16:9. PPI 91.79.
Oddsock runs this in your browser. It is free, it does not upload the work, and it does not ask for an account.
2.07. 1920 × 1080 is 2,073,600 pixels, which is 2.07 million.
About 91.79. The pixel diagonal is √(1920² + 1080²), about 2202.91, divided by 24.
16:9. Divide both sides by their greatest common divisor, 120.
Megapixels and aspect use only the pixel counts. PPI also divides by the physical diagonal. A bigger screen with the same pixels is less dense.
DPI here would be the same ratio as PPI. The DPI calculator solves one edge: pixels, inches, or DPI. This page needs both pixel dimensions and a diagonal.