PPI Calculator

This PPI calculator converts a screen's pixel width, pixel height and diagonal in inches into pixels per inch, dot pitch, and physical width and height in inches and centimetres.

  1. Enter the resolution: width and height in pixels.
  2. Enter the diagonal in inches, measured across the visible screen.
  3. Read the pixel density, dot pitch and physical size, or start from a common screen.

Common screens

Pixel density91.8 PPI
Dot pitch0.277 mm
Physical size20.92 × 11.77 in53.13 × 29.89 cm

All calculations run in your browser.

PPI is pixels per inch along the diagonal. Dot pitch is the distance between pixel centres in millimetres.

How the PPI calculator works

Pixels per inch compares the number of pixels on the screen to the physical length of the screen. The calculation needs three numbers: the pixel width, the pixel height and the diagonal in inches. The diagonal is the distance from one corner of the visible area to the opposite corner, not including the bezel.

The formula

The pixel diagonal comes from Pythagoras: √(width² + height²). Divide that by the diagonal in inches and you have PPI. In one line: PPI = √(w² + h²) ÷ diagonal. Dot pitch is 25.4 ÷ PPI, which gives millimetres because there are 25.4 mm in an inch.

A worked example

A 1920 × 1080 screen has a pixel diagonal of about 2202.9 pixels. On a 24-inch monitor that is 2202.9 ÷ 24 = 91.8 PPI. The dot pitch is 25.4 ÷ 91.8 = 0.277 mm. The same panel is 20.92 × 11.77 inches, or about 53.1 × 29.9 cm, because each side in pixels is divided by the same PPI.

Dot pitch is the gap between pixels

Dot pitch is measured from the centre of one pixel to the centre of the next. A smaller number means the pixels sit closer together. It is another way of stating density: 91.8 PPI and 0.277 mm describe the same panel, just in different units.

Physical size and aspect ratio

The width and height in inches are each side divided by PPI. They add up to the diagonal you entered, which is a quick way to check the numbers. The shape of the screen is a separate question: a 1920 × 1080 panel and a 3840 × 2160 panel are both 16:9, but the second has four times as many pixels. The aspect ratio calculator simplifies the shape if that is what you need.

PPI, DPI and CSS pixels

PPI describes a display. DPI usually describes printer dots or a scaling setting in an operating system, and mouse DPI is a sensitivity figure, so the three are not interchangeable. Browsers also report CSS pixels rather than device pixels: a phone may have 1170 × 2532 real pixels but report about 390 × 844 CSS pixels with a device pixel ratio of 3. If you enter the reported numbers without multiplying, the PPI you get is the logical density, not the panel's real density. Screen Info shows what your browser reports, including the pixel ratio.

What PPI does not tell you

PPI says nothing about colour, contrast, brightness or response time, and nothing about how sharp the screen looks from where you sit. Viewing distance matters: the same panel can look crisp at a desk and soft from across a room. Higher PPI also means the operating system has to scale text and interface elements, which can make some apps look small or blurry if scaling is set poorly.

Frequently asked questions

What does PPI mean?

Pixels per inch. It is the number of pixels in one inch of the screen, measured along the diagonal. A 24-inch 1920 × 1080 monitor is about 91.8 PPI.

How do I calculate PPI without this page?

Square the width and height in pixels, add them, take the square root, then divide by the diagonal in inches. For 1920 × 1080: √(1920² + 1080²) = 2202.9, and 2202.9 ÷ 24 = 91.8 PPI.

What is dot pitch?

The distance between the centres of two neighbouring pixels. Divide 25.4 by PPI to get it in millimetres, so 91.8 PPI is a 0.277 mm dot pitch. A smaller pitch means a denser screen.

Is PPI the same as DPI?

No. PPI is a property of the display. DPI often refers to printer resolution or to the scaling setting in an operating system, and mouse DPI is a separate sensitivity value. The numbers are not interchangeable.

Why do two 1080p screens have different PPI?

Because PPI depends on physical size as well as resolution. A 1920 × 1080 panel at 24 inches is about 91.8 PPI; the same resolution at 15.6 inches is about 141.2 PPI.

Why does my phone report a smaller resolution than it has?

Browsers work in CSS pixels, which are scaled by the device pixel ratio. Multiply the reported width and height by that ratio to get the physical resolution, then enter those numbers. Screen Info shows both values on your device.

Can I use this for a TV or projector?

Yes. Use the native resolution and the diagonal of the visible image. For a projector the image size depends on the throw distance and zoom, so measure the picture on the wall rather than the screen's nominal size.

Does a higher PPI always look better?

Not by itself. Sharpness also depends on viewing distance, the content and how well the operating system scales the interface. At a distance the eye cannot resolve every pixel, so past a point a higher number makes little visible difference.