Calculadora de PPI (Pixels por Polegada)

PPI = √(px_w² + px_h²) / diagonal_in.
Created by
Renato Passos, Eng. de Software
Reviewed by
Renato Passos, Eng. de Software

Last updated: Apr 18, 2026

PPI
108,8

Formula

PPI = √(pw² + ph²) / diag

About this calculator

The PPI (Pixels Per Inch) Calculator determines the pixel density of a screen or digital image. PPI indicates how many pixels are contained in one linear inch of the display, a crucial parameter for assessing the sharpness of monitors, smartphones, tablets, and prints. Higher PPI means more detailed and smoother images, especially at close viewing distances.

The calculation uses the formula PPI = √(width_pixels² + height_pixels²) / diagonal_inches. First, compute the diagonal resolution in pixels (Pythagorean theorem) and then divide by the diagonal size of the screen in inches. For example, a Full HD (1920x1080) 24-inch screen has PPI ≈ √(1920² + 1080²) / 24 ≈ 91.8 PPI.

This tool is useful when comparing devices, choosing a monitor for photo editing or graphic design, or planning high-quality prints. Knowing the PPI helps understand if the screen is suitable for detailed work or if the print will have sufficient resolution for the desired size. The term DPI (dots per inch) is often used for printing, but the concept is analogous.

Cautions: the calculated PPI is theoretical and may vary with device calibration. For printing, 300 PPI is generally the standard for photographic quality. On screens, values above 300 PPI are considered excellent for close use. Remember that perceived sharpness also depends on viewing distance and the user's visual acuity.

Frequently asked questions

What is the difference between PPI and DPI?

PPI (pixels per inch) refers to digital screens, while DPI (dots per inch) is used for printers. Although similar, DPI considers ink dots, not pixels. For quality printing, 300 DPI is recommended.

How many PPI are needed for good image quality?

For mobile devices, above 300 PPI is considered excellent. For monitors, 100-150 PPI is sufficient for general use, but for graphic design or photo editing, prefer above 150 PPI.

How to calculate PPI of an image without knowing the screen diagonal?

If you know the physical dimensions (width and height in inches), you can calculate the diagonal using √(width² + height²) and then apply the formula. Otherwise, it is not possible to calculate PPI.

Does PPI affect file size?

Yes, images with higher PPI have more pixels, resulting in larger files. However, PPI is metadata that can be changed without resizing the image, only affecting the intended print size.

My monitor has resolution 1920x1080 and 24 inches, what is the PPI?

The PPI is approximately 91.8. This is calculated by dividing the diagonal resolution (about 2203 pixels) by the diagonal of 24 inches.

Other Foto e Video calculators