ZapKit

PPI Calculator (Pixel Density)

Work out how sharp a screen is: its pixels per inch from the resolution and diagonal size, with the dot pitch and physical dimensions.

What is PPI?

PPI, pixels per inch, measures how densely pixels are packed on a display. The higher it is, the smaller each pixel and the crisper text, icons and photos look. Two screens with the same resolution can differ hugely in sharpness if one is much larger.

Shoppers use a PPI calculator to compare phones, tablets, laptops and monitors beyond the resolution on the box. Designers and developers use it to understand device pixel ratios and how large interface elements will appear physically. Along with PPI it gives the dot pitch, total megapixels and the screen's real width and height.

How to use the PPI Calculator (Pixel Density)

  1. 1.Enter the resolution

    Width and height in pixels, from the spec sheet.

  2. 2.Enter the diagonal

    The advertised screen size in inches.

  3. 3.Compare screens

    Higher PPI means smaller pixels and sharper text.

Example: a 6.1-inch phone

A 2556 × 1179 display with a 6.1-inch diagonal:

Pixel density
461.4 PPI
Dot pitch
0.055 mm
Screen size
5.54″ × 2.56″
Total pixels
3.01 MP

PPI = √(w² + h²) ÷ diagonal

At over 460 PPI, individual pixels are invisible at normal viewing distance.

How density is worked out

The diagonal in pixels is found with Pythagoras, √(width² + height²), then divided by the diagonal in inches. Dot pitch is the distance between pixel centres, 25.4 mm divided by the PPI.

Whether pixels are visible depends on viewing distance as well as density. A phone held 30 cm away needs well over 300 PPI to look perfectly smooth, while a 27-inch monitor at arm's length looks sharp at around 110–160 PPI, and a TV across the room needs far less.

Frequently asked questions

What is a good PPI for a phone?

Around 400 or more looks very sharp at normal distance; many flagship phones are 450–500.

What PPI is a 27-inch 4K monitor?

About 163 PPI at 3840 × 2160.

Is PPI the same as DPI?

They're often used interchangeably. Strictly, PPI describes screens and images; DPI describes printer ink dots.

Why isn't my screen exactly the advertised size?

Advertised diagonals are often rounded, and rounded corners or notches aren't subtracted.

More Developer tools