PPI Calculator (Pixels per Inch)

Quick answer

The PPI calculator finds the pixel density of any screen from its resolution and its diagonal (or its width and height), together with pixels per centimetre, dot pitch, total megapixels, the physical screen size and the distance at which single pixels disappear.

Diagonal resolution
2,937.2 px
Pixel density
108.8 PPI
Pixels per centimetre
42.8 px/cm
Dot pitch (pixel size)
0.2335 mm
Total pixels
3,686,400
Megapixels
3.69 MP
Aspect ratio (decimal)
1.7778
Screen width
23.53
Screen height
13.24
“Retina” viewing distance (pixels no longer visible)
0.8
Density class
Standard – typical office monitor or TV

Pixel density is the number of pixels packed into each inch of a display. It decides how crisp text looks, whether you can see the pixel grid and how much scaling your operating system needs. A 27-inch monitor and a 6-inch phone can both have 2560 × 1440 pixels, but the phone packs them almost five times more densely.

To compute PPI you need only the resolution and the physical size. The diagonal in pixels follows from Pythagoras, and dividing it by the diagonal in inches gives PPI. If you only know the width and height of the panel (common for laptops and custom displays) the diagonal is found the same way from those lengths.

Density only matters relative to viewing distance. The calculator therefore also shows the distance beyond which a person with normal (20/20) vision can no longer make out individual pixels, the idea Apple popularised as a “Retina” display. Sit farther than that and more pixels add nothing you can see.

How to use the PPI Calculator

  1. Horizontal pixels
  2. Vertical pixels
  3. Screen size given as
  4. Diagonal
  5. Screen width
  6. Screen height

Results update as you type, every field has its own unit menu, and everything is calculated in your browser.

How it works

Enter the horizontal and vertical pixel counts and the screen diagonal (or width and height). The calculator takes the Pythagorean diagonal in pixels, divides by the diagonal in inches and derives dot pitch, PPCM, total pixels and the 1-arcminute viewing distance from the result.

Worked example

A 27-inch monitor with 2560 × 1440 pixels has a diagonal of √(2,560² + 1,440²) = 2,937.2 px. PPI = 2,937.2 ÷ 27 = 108.8 PPI (42.8 px/cm), the dot pitch is 25.4 ÷ 108.8 = 0.2335 mm, and the screen measures 23.53 × 13.24 in (59.8 × 33.6 cm). Pixels stop being distinguishable beyond 3,438 ÷ 108.8 = 31.6 in (0.80 m).

Typical pixel densities

Device Resolution Size PPI
24-inch Full HD monitor 1920 × 1080 24 in 91.8
27-inch 1440p monitor 2560 × 1440 27 in 108.8
27-inch 4K monitor 3840 × 2160 27 in 163.2
65-inch 4K TV 3840 × 2160 65 in 67.8
6.1-inch phone 2532 × 1170 6.1 in 457.2

Inputs explained

Field What to enter
Horizontal pixels A number
Vertical pixels A number
Screen size given as Choose one: Diagonal, Width and height
Diagonal Units: in, cm, m, ft, mm
Screen width Units: in, cm, m, ft, mm
Screen height Units: in, cm, m, ft, mm

What each result means

  • Diagonal resolution = sqrt([Horizontal pixels]^2 + [Vertical pixels]^2)
  • Pixel density = [Diagonal resolution]÷[Diagonal (in)]
  • Pixels per centimetre = [Pixel density]÷2.54
  • Dot pitch (pixel size) = 25.4÷[Pixel density]
  • Total pixels = [Horizontal pixels]×[Vertical pixels]
  • Megapixels = [Horizontal pixels]×[Vertical pixels]÷1e6
  • Aspect ratio (decimal) = [Horizontal pixels]÷[Vertical pixels]
  • Screen width = [Diagonal (in)]×0.0254×[Horizontal pixels]÷[Diagonal resolution]
  • Screen height = [Diagonal (in)]×0.0254×[Vertical pixels]÷[Diagonal resolution]
  • “Retina” viewing distance (pixels no longer visible) = 3438÷[Pixel density]×0.0254

Formula

Diagonal pixels d_p = √(w² + h²) · PPI = d_p ÷ diagonal (in) · PPCM = PPI ÷ 2.54 · Dot pitch (mm) = 25.4 ÷ PPI · "Retina" distance ≈ 3438 ÷ PPI (in)

Worked example

Inputs: Horizontal pixels: 2,560; Vertical pixels: 1,440; Screen size given as: Diagonal; Diagonal: 27 in.
Results: Diagonal resolution = 2,937.2 px; Pixel density = 108.8 PPI; Pixels per centimetre = 42.8 px/cm; Dot pitch (pixel size) = 0.2335 mm; Total pixels = 3,686,400; Megapixels = 3.69 MP; Aspect ratio (decimal) = 1.7778; Screen width = 23.53 in; Screen height = 13.24 in; “Retina” viewing distance (pixels no longer visible) = 0.8 m; Density class = Standard – typical office monitor or TV.

Key terms

PPI
Pixels per inch along the screen.
Dot pitch
Centre-to-centre spacing of pixels, in millimetres.
Resolution
Number of pixels horizontally × vertically.
Arcminute
One sixtieth of a degree; normal vision resolves about one arcminute.

Frequently asked questions

What is the PPI of a 27-inch 1440p monitor?

√(2560² + 1440²) = 2,937 px across the diagonal; 2,937 ÷ 27 = 108.8 PPI.

What is a good PPI for a monitor?

90–110 PPI suits 100% scaling; 140–220 PPI looks noticeably crisper but usually needs 150–200% scaling.

What PPI do phones have?

Modern phones are typically 400–550 PPI, which is beyond what eyes resolve at 25–30 cm.

Is PPI the same as DPI?

PPI describes screen or image pixels; DPI describes printer dots. They are often mixed up in everyday speech.

Why are my width and height results slightly different from the box?

Manufacturers round the diagonal, and some panels have non-square pixels or extra border; the calculator uses the exact numbers you enter.

What does dot pitch mean?

The distance between the centres of two neighbouring pixels, which is 0.233 mm on a 27-inch 1440p monitor.

How is the Retina distance worked out?

It is the distance at which one pixel subtends one arcminute: 1 ÷ (PPI × tan 1′) ≈ 3,438 ÷ PPI inches.

Sources

  1. Pixel density (Wikipedia)
  2. ITU-R BT.1845: Guidelines on metrics for tailoring television programmes to display sizes and viewing distances

Cite this calculator

Speedy Calculator. (2026). PPI Calculator (Pixels per Inch). Speedy Calculator. https://speedycalculator.com/calculators/other/ppi/