Pixel Density (PPI) Calculator

Calculate screen pixels per inch, pixel pitch, and physical dimensions from resolution and diagonal.

A PPI calculator finds pixels per inch, which equals the diagonal pixel count divided by the physical diagonal in inches: PPI = √(width² + height²) / diagonal. A 1920 × 1080 screen measuring 24 inches diagonally has about 91.79 PPI. Pixel density describes physical sampling, not color quality or overall image sharpness.

Pixel Density (PPI) Calculator at a glance

Method
With square pixels, the pixel diagonal equals the square root of width² + height².
Inputs
Horizontal resolution (px), Vertical resolution (px), Display diagonal, Diagonal unit
Results
Pixel density, Pixel pitch, Screen width × height
Where it runs
In your browser; the values or files you use are not sent to a server.
px
px
Pixel density91.79 PPI
Pixel pitch0.2767 mm
Screen width × height20.92 × 11.77 in

computed locally — nothing leaves your browser

A 24-inch 1920 × 1080 display has about 91.79 pixels per inch. Compare monitors or small embedded displays using their native resolution and the diagonal of the active screen area.

How it works

With square pixels, the pixel diagonal equals the square root of width² + height². Divide it by the physical diagonal in inches for PPI. Pixel pitch in millimeters equals 25.4 divided by PPI.

  1. Enter the native width and height in pixels.
  2. Enter the viewable screen diagonal in inches or centimeters.
  3. Read PPI, the distance between neighboring pixels, and estimated active screen dimensions.

Worked example

For 1920 × 1080 pixels, the diagonal is √(1920² + 1080²) = 2202.91 pixels. Divide by 24 inches to obtain 91.79 PPI. Pixel pitch is 25.4 ÷ 91.79 ≈ 0.277 mm.

Illustrative 16:9 displays
ResolutionDiagonalPPI
1920 × 108024 in91.79
2560 × 144027 in108.79
3840 × 216027 in163.18

PPI, DPI and scaling

PPI describes pixel density on a display or raster image at a specified physical size. Printer DPI describes addressable ink dots and should not be treated as a one-to-one substitute. Operating-system scaling changes logical UI size without changing the physical screen’s pixel count or panel dimensions.

What should I measure?

Use the active display diagonal rather than the chassis or bezel. The formula assumes square pixels and a flat rectangular active area. Viewing distance, visual acuity, subpixel layout and rendering all affect perceived sharpness. A PPI value alone cannot establish whether two monitors look equally sharp.

Sample results for the Pixel Density (PPI) Calculator

These scenarios were produced by this page’s own formula, changing one input at a time. They are illustrations, not advice or a quote.

Pixel Density (PPI) Calculator: how the result changes with horizontal resolution (other inputs at their defaults)
Horizontal resolutionPixel densityPixel pitch
1,632 px81.54 PPI0.3115 mm
1,766 px86.25 PPI0.2945 mm
1,920 px (default)91.79 PPI0.2767 mm
2,074 px97.43 PPI0.2607 mm
2,208 px102.42 PPI0.248 mm
Pixel Density (PPI) Calculator: how the result changes with vertical resolution (other inputs at their defaults)
Vertical resolutionPixel densityPixel pitch
918 px88.67 PPI0.2864 mm
994 px90.09 PPI0.282 mm
1,080 px (default)91.79 PPI0.2767 mm
1,166 px93.6 PPI0.2714 mm
1,242 px95.28 PPI0.2666 mm

Frequently asked questions

What is the difference between PPI and DPI?

PPI measures pixels per inch, typically on a display or image. DPI measures dots per inch, usually for a printer. One image pixel can use multiple printed dots.

Does Windows or macOS scaling change PPI?

No. Display scaling changes logical size on screen. Physical PPI is set by native pixel count and the active display size.

Does a higher PPI always look sharper?

A higher PPI can show finer detail, but perceived sharpness also depends on viewing distance, display technology, and the source image.

Does scaling change physical PPI?

No. Scaling changes the size of interface elements in logical coordinates.

Can I calculate print size?

Divide the image width and height in pixels by your target print PPI to obtain inches.

Is higher PPI always better?

It can reduce visible pixelation at a given distance, but brightness, contrast, color and content quality also matter.

How is the Pixel Density (PPI) Calculator calculated?

With square pixels, the pixel diagonal equals the square root of width² + height². Divide it by the physical diagonal in inches for PPI. Pixel pitch in millimeters equals 25.4 divided by PPI.

What do I need to enter in the Pixel Density (PPI) Calculator?

Inputs: Horizontal resolution (px), Vertical resolution (px), Display diagonal, Diagonal unit. Change any value and the result updates immediately. Optional inputs can be left at their defaults.

What results does the Pixel Density (PPI) Calculator show?

It shows Pixel density, Pixel pitch and Screen width × height, computed from the inputs above.

Is Pixel Density (PPI) Calculator free and private?

Yes. It is free, needs no account and runs in your browser, so the files you select are not sent to a server.

Sources and assumptions

More in Image Tools