Screen Size Calculator

Enter the diagonal size and aspect ratio to get the screen's width and height. Add the resolution to get pixels per inch.

How it works

With a diagonal d and aspect ratio a:b, the width is d × a ÷ √(a² + b²) and the height is d × b ÷ √(a² + b²). Pixel density is the diagonal in pixels divided by the diagonal in inches.

Width = d × a ÷ √(a² + b²)
Height = d × b ÷ √(a² + b²)
PPI = √(px² + py²) ÷ d

Worked example

Using the default values: Diagonal (inches) = 27; Aspect ratio width = 16; Aspect ratio height = 9; Horizontal pixels (optional) = 2560; Vertical pixels (optional) = 1440.

The calculator returns: Screen size: 23.5 × 13.2 in; Width: 23.53 in (59.8 cm); Height: 13.24 in (33.6 cm); Area: 311.5 in²; Pixel density: 109 PPI.

Limits and assumptions

  • These are estimates from the numbers you enter and standard formulas.

Last reviewed: 2026-12-01. Found a mistake? Please use the Contact page and tell us the inputs you used.

Frequently asked questions about the Screen Size Calculator

What does 27 inches mean?

The diagonal from one corner to the opposite corner of the visible screen.

What is a good PPI?

Around 110 PPI is common for desktop monitors; phones are often above 400.

Why do the numbers differ from the box?

Makers round diagonals and bezels are not counted.

Advertisement