DPI / PPI calculator

What is a Dpi Ppi Calculator?

Pixel density measures how many pixels fit into one inch of a display. Higher density means sharper text and images at the same viewing distance. This calculator works out pixels per inch (PPI) from a screen's resolution and diagonal size, which is useful when comparing monitors, phones and laptops.

How to use it

  1. Enter the horizontal and vertical resolution, for example 3840 × 2160.
  2. Enter the diagonal screen size in inches.
  3. Read the PPI and the dot pitch.

The formula

Diagonal in pixels = √(width² + height²). PPI = diagonal pixels / diagonal inches.

Examples

  • 27-inch 2560 × 1440 monitor: √(2560² + 1440²) = 2937 px, so 109 PPI.
  • 27-inch 3840 × 2160 (4K) monitor: 4406 / 27 = 163 PPI.
  • 24-inch 1920 × 1080 monitor: 92 PPI.
  • 6.1-inch phone at 2556 × 1179: about 460 PPI.

PPI vs. DPI

PPI describes pixels on a screen or in a digital image. DPI (dots per inch) describes how densely a printer places ink dots. The terms are often mixed up. For printing, an image's PPI setting determines its physical size: a 3000 × 2000 px photo printed at 300 PPI is 10 × 6.67 inches.

How much density do you need?

  • Desktop monitors at arm's length look sharp from about 110 PPI, and very sharp at 160 PPI and above with scaling.
  • Phones are held closer, so they use 400 PPI or more.
  • Print quality photos typically use 300 PPI.

Frequently Asked Questions

How is PPI calculated?

Divide the diagonal resolution in pixels, found with the Pythagorean theorem, by the diagonal size in inches.

What is the difference between PPI and DPI?

PPI is pixel density on screens and in digital images. DPI is the density of ink dots produced by a printer.

What PPI is a 27-inch 4K monitor?

About 163 pixels per inch.

What resolution do I need to print a photo?

For high quality prints, about 300 pixels per inch of print size. A 6 by 4 inch print needs about 1800 by 1200 pixels.