PPI calculator

PPI is the length of the screen diagonal in pixels divided by its length in inches.

Features

  • Dot pitchDistance between pixels in millimetres.
  • MegapixelsTotal pixel count.
  • Runs in your browserNothing is uploaded and no account is needed.

How to use the ppi calculator

  1. Enter the resolution.
  2. Enter the diagonal size.

Physical and CSS pixels

High density screens map one CSS pixel to several physical ones, so export raster assets at 2x or 3x.

Frequently asked questions

What PPI looks sharp?

It depends on viewing distance; closer screens need more.

Is PPI the same as DPI?

DPI describes printer dots, though the terms are often mixed.

Which size is used?

The diagonal of the visible area.

Related tools