DPI / Screen Resolution Calculator

Calculate screen DPI, PPI and resolution from display dimensions.

Screen Details

Result

DPI / PPI—
Total Pixels—
Aspect Ratio—
Megapixels—

About the DPI / Screen Resolution Calculator

This calculator works out the pixel density of a screen or image: how many pixels are packed into every inch. Give it the resolution in pixels and the diagonal size in inches, and it returns DPI/PPI along with total pixels, megapixels and the aspect ratio in its simplest form.

Pixel density is the diagonal in pixels divided by the diagonal in inches. A 1920 x 1080 display measures about 2,200 pixels across its diagonal, so on a 24-inch monitor that is roughly 92 PPI, while the same resolution on a 13-inch laptop comes out near 166 PPI. Higher density means smoother text and finer detail at the same physical size, which is why phone screens sit around 300-460 PPI while desktop monitors often stay under 110.

Strictly speaking DPI belongs to printing and PPI to displays, but the arithmetic is identical and the two terms are used interchangeably. For print work the question is different: an image needs enough pixels to fill its printed size at the target resolution, so a 4 x 6 inch photo at 300 DPI needs about 1200 x 1800 pixels. The aspect ratio output helps when resizing, since keeping the same ratio is what stops an image looking stretched.

Common questions about DPI & Screen Resolution Calculator

What is DPI or PPI?

The number of pixels in one linear inch of a screen or printed image. It is a measure of density, not of how good the picture itself is.

How is it calculated?

The diagonal in pixels is divided by the diagonal in inches. The diagonal comes from the square root of width squared plus height squared.

Are DPI and PPI the same thing?

In practice yes, for this calculation. DPI originally described printer dots per inch and PPI display pixels per inch, but both reduce to pixels divided by inches here.

Why is the detected resolution higher than my monitor's specification?

The Detect My Screen button multiplies CSS pixels by your browser's device pixel ratio, and browser zoom affects that too. Enter the manufacturer's native resolution for the true figure.

What DPI should I use for printing?

300 DPI is the usual standard for photos and documents held in the hand. Large posters viewed from a distance often look fine at 150 DPI or less.

Does a higher DPI always mean a better image?

No. It describes how tightly pixels are packed on a display. A low-resolution file shown on a high-density screen still looks soft.

Related Tools in Everyday Utilities

Password GeneratorQR Code GeneratorRandom Number Generator