PPI Calculator

Work out the pixel density of a screen, the size an image prints at, or how many pixels a print needs. PPI describes pixels in an image or on a screen; DPI is a printer term, explained below.

What to find
px
px
in
Screen PPI — The number copied is the large result (a width and a height are joined with "x", for example 2400x3000). The print size is copied in inches.

PPI and DPI are different things

People often write "dpi" for the resolution of an image, so the two words get mixed up, but the relation between the number of pixels and the size is about PPI. A printer's DPI does not have to equal the PPI of the image, because the printer's capability is separate from how many pixels the image has.

This calculator does not compute a printer's DPI. It uses the plain relation pixels ÷ length in inches. Values such as "72 dpi" or "96 dpi" are often just information stored in the image file or a display setting; they do not add or remove pixels. Once the pixels and the print size are fixed, the PPI is fixed too.

How it is calculated

One inch is exactly 25.4 mm.

The square root is computed with whole-number arithmetic to 12 decimal places, so there is no floating-point error.

Examples

Notes

Frequently asked questions

Are DPI and PPI the same?

No. PPI is pixels per inch in an image or on a screen, and DPI is dots of ink per inch from a printer. They are often confused because many people call the resolution of an image "dpi".

How many PPI do I need to print?

It depends on the purpose and the viewing distance, so the tool does not judge it. You can enter a PPI you want, such as 300, and see the pixels that a print size needs.

What decides the PPI of a screen?

The number of pixels (width × height) and the diagonal in inches. With the same pixels, a larger screen has a lower PPI.