PPI Calculator (Pixels Per Inch)
Calculate pixel density, dot pitch, total megapixels, and aspect ratio for any screen or print
About This Tool
This PPI Calculator finds pixels per inch (PPI) and pixels per centimeter (PPcm) for any display. Enter the screen resolution in pixels and the diagonal size in inches or centimeters, and the tool instantly computes pixel density (PPI, PPI², PPcm), dot pitch in millimeters, the diagonal length in pixels, total pixel count (megapixels), and the aspect ratio in both common and decimal form.
PPI follows the Pythagorean theorem: diagonal in pixels = √(width² + height²), then PPI = diagonal in pixels ÷ diagonal in inches. Dot pitch = (diagonal inches ÷ diagonal pixels) × 25.4 mm. Higher PPI means a sharper screen — phones typically hit 300—460 PPI, laptops 150—250, and desktop monitors 90—165.
Designing for a specific display? Pair this with the Color Contrast Checker to ensure text legibility at your target density, or use the Color Picker to grab accurate hex values for UI work. For photography workflows, the Camera Storage Calculator helps plan how many photos fit a memory card at a given megapixel count.
Browse more tools on the Display tag page. All calculations are performed locally in your browser — no data is sent to any server.