PPI calculator — pixel density of any screen from resolution and size

Enter a screen's horizontal and vertical resolution and its diagonal size in inches, and the calculator returns the pixel density in pixels per inch (PPI), the dot pitch, the total pixel count, the physical width and height, and the aspect ratio.

Live demo · real result from this tool
Pixel density108.79 PPI
Dot pitch
0.2335 mm
Total pixels
3,686,400 px
Physical size
23.53 × 13.24 in (59.8 × 33.6 cm)
Aspect ratio
16:9

Processed on your device — nothing is uploaded.

How to use the PPI calculator

  1. Enter the Horizontal resolution in pixels, for example 2560.
  2. Enter the Vertical resolution in pixels, for example 1440.
  3. Enter the Diagonal size in inches, as sold (27 for a 27-inch monitor).
  4. Read Pixel density, Dot pitch, Total pixels, Physical size and Aspect ratio.

What it does and when to use it

Two monitors can share a resolution yet look very different. A 1920 × 1080 picture on a 24-inch screen is noticeably sharper than on a 32-inch one, because the same pixels are spread over a larger area. Pixel density captures that in one number. Use it to:

  • compare monitors, laptops, tablets or phones before buying,
  • decide whether a bigger screen at the same resolution will look soft,
  • plan interface or icon sizes for a particular display,
  • check the real width and height of a screen from its diagonal.

The aspect ratio calculator breaks down the screen’s shape in more detail and scales sizes to match. For print work, where DPI really matters, the DPI checker reports an image’s print resolution. If you are choosing a display for a desk, the electricity cost calculator can estimate its running cost from its wattage.

How it works

The diagonal in pixels comes from Pythagoras’ theorem:

diagonal in pixels = √(width² + height²)

Then:

  • PPI = diagonal in pixels ÷ diagonal in inches
  • Dot pitch (mm) = 25.4 ÷ PPI
  • Total pixels = width × height
  • Physical width = width ÷ diagonal in pixels × diagonal in inches (and the same for height), also shown in centimetres

The aspect ratio is the resolution reduced to its simplest form. The calculation assumes square pixels and that the diagonal you enter is the visible screen area.

Worked examples

These figures come from the calculator’s own function.

A 24-inch Full HD monitor. 1920 × 1080 at 24 inches gives 91.79 PPI, a dot pitch of 0.2767 mm and 2,073,600 pixels. The screen is 20.92 × 11.77 in (53.1 × 29.9 cm).

A 27-inch 1440p monitor. 2560 × 1440 at 27 inches gives 108.79 PPI and a dot pitch of 0.2335 mm. Physical size 23.53 × 13.24 in (59.8 × 33.6 cm).

A 27-inch 4K monitor. 3840 × 2160 at 27 inches gives 163.18 PPI and a dot pitch of 0.1557 mm, with 8,294,400 pixels. The physical size is the same as the 1440p model, but each inch holds half as many pixels again.

Limits and tips

  • Advertised sizes are rounded. A “27-inch” screen may be slightly smaller in visible area, so treat the second decimal with care.
  • Curved screens use the diagonal along the curve, which changes the result very little.
  • Not for printers. Printer DPI counts ink dots, which is a different measurement.
  • Calculated entirely in your browser.

Frequently asked questions

What is the difference between PPI and DPI?
PPI (pixels per inch) describes a screen or a digital image. DPI (dots per inch) properly describes how finely a printer lays down ink dots. People often use the two words for the same idea, which is why this tool carries both names, but for screens PPI is the accurate term.
What is dot pitch?
It is the distance from the centre of one pixel to the next, in millimetres. It is 25.4 ÷ PPI, so a higher PPI means a smaller dot pitch and finer detail.
Is a higher PPI always better?
Sharper text and images, yes, but the benefit depends on viewing distance. A phone held close benefits from far higher density than a TV viewed from across a room. Very high density on a desktop monitor may also need operating-system scaling to keep text readable.
Does it work for phones and TVs?
Yes. Any rectangular screen works, as long as you know its resolution and its diagonal in inches.

Written by the ToolsRift team · Last updated

Pages are drafted with AI assistance and checked by automated tests. How we write and check pages.

Was this tool useful?

Report a problem

Start typing to search every tool.

↑ ↓ to moveEnter to openEsc to close