Toolvito

Works on this device

Display PPI Calculator

PPI means pixels per inch: how many pixels lie along one inch of the screen. Enter the resolution and the diagonal of a screen to get its PPI, or work the other way.

Enter your values

Use this for a monitor, a laptop, a phone or a TV when you know the resolution and the size.

Your values

Measure the lit part of the screen from one corner to the opposite corner.

Your values are worked out in this browser. They are not sent to a server.

Your result will show here

Fill in the values, then choose Calculate.

How to use this calculator

  1. Choose Pixels per inch from resolution and diagonal.
  2. Enter the width and height of the screen in pixels, for example 2560 and 1440. You can also pick a common screen from the list.
  3. Enter the diagonal of the screen and choose inches, centimetres or millimetres.
  4. Choose Calculate. The result shows the pixels per inch, the diagonal in pixels, and the width and height of the screen.

The formulas

  • Diagonal in pixels = √(width in pixels² + height in pixels²).
  • Pixels per inch = diagonal in pixels ÷ diagonal in inches. One inch is exactly 25.4 mm.
  • Screen diagonal = diagonal in pixels ÷ pixels per inch.
  • Screen width = width in pixels ÷ pixels per inch. The height works in the same way.
  • Pixels in one square inch = pixels per inch × pixels per inch.
  • Resolution for a size and a PPI: diagonal in pixels = diagonal in inches × pixels per inch. Width = diagonal in pixels × width part ÷ √(width part² + height part²).

Worked example

A 27 inch monitor has 2560 × 1440 pixels. The diagonal in pixels is √(2560² + 1440²) = √8,627,200 = 2937.21. Pixels per inch = 2937.21 ÷ 27 = 108.79. The screen is 23.5325 inches wide and 13.2371 inches tall, and one square inch holds 11,834.29 pixels.

A screen with 1600 × 1200 pixels at 100 pixels per inch has a diagonal of √(1600² + 1200²) ÷ 100 = 2000 ÷ 100 = 20 inches. It is 16 inches wide and 12 inches tall.

A 27 inch screen with a 16:9 shape and 110 pixels per inch needs a diagonal of 27 × 110 = 2970 pixels. That gives 2588.58 × 1456.08 pixels. The nearest whole resolution is 2589 × 1456, which has 110.01 pixels per inch.

PPI, DPI and pixel pitch

PPI counts the pixels of a screen along one inch. DPI means dots per inch and comes from printing, where a printer puts dots of ink on paper. People often say DPI for screens too, and then they mean the same number as PPI.

Pixel pitch is the same fact the other way round: the distance from one pixel to the next. Pixel pitch in millimetres = 25.4 ÷ PPI. Use the Pixel Pitch Calculator for that, and the Screen Pixel Density Calculator for pixels per centimetre.

Limits you should know

  • The calculator takes square pixels: one pixel is as wide as it is tall. This is true for almost all computer and phone screens.
  • The diagonal is the lit part of the screen, without the frame. A size in an advert is rounded: a "27 inch" panel can be 26.9 or 27.2 inches, so the true PPI can differ a little.
  • Pixel results are rounded to 2 decimal places, and a half is rounded up. Lengths are shown with 6 significant digits.
  • Sides can be from 1 to 100,000 pixels, and the diagonal can be up to 100 metres.
  • PPI is about the panel. It does not tell you how large text looks, because the operating system can scale it. For that, use the Display Scaling Calculator.
  • The common screens in the list are examples of sizes that are sold. They are not the data of one product.

Related tools