The formula
Diagonal in pixels = √(width² + height²)
PPI = diagonal pixels ÷ diagonal inches
Width = diagonal × width px ÷ diagonal px; height = diagonal × height px ÷ diagonal px
Dot pitch (mm) = 25.4 ÷ PPI; 'retina' distance ≈ 3,438 ÷ PPI inches (1 arcminute per pixel)
Worked example
- A 27-inch 2560 × 1440 monitor:
- Diagonal pixels = √(2560² + 1440²) = 2,937.2, so PPI = 2,937.2 ÷ 27 = 108.8.
- Width = 27 × 2560 ÷ 2,937.2 = 23.53 in (59.8 cm); height = 13.24 in (33.6 cm).
- The aspect ratio is 16:9, and pixels blend together beyond about 31.6 in (80 cm).
What PPI means
Pixels per inch (PPI) measures how densely pixels are packed on a screen. Higher PPI means sharper text and images at the same viewing distance. A 24-inch 1080p monitor has about 92 PPI, a 27-inch 1440p monitor about 109, a 27-inch 4K monitor about 163, and modern phones 400–500. Screen size alone doesn't tell you sharpness: a 32-inch 1080p TV looks fine from the sofa but noticeably soft as a desktop monitor. PPI combined with viewing distance determines how sharp a screen appears.
Screen dimensions
Screen sizes are quoted as the diagonal, which makes comparing different aspect ratios tricky. A 34-inch ultrawide (21:9) is about as tall as a 27-inch 16:9 monitor, but much wider. The calculator gives the actual width and height in inches and centimetres, which is what matters when checking whether a monitor fits on a desk, a TV fits a cabinet, or a laptop fits a bag. Bezels and stands add to these dimensions, so check the manufacturer's specifications for the full size.
Aspect ratios
The aspect ratio is the width divided by the height. Most TVs and monitors are 16:9; many laptops use 16:10 or 3:2 for extra vertical space; ultrawide monitors are 21:9 or 32:9; and phones are around 19.5:9 or 20:9. Resolutions are simplified to their ratio automatically, so 2560 × 1440 shows as 16:9 and 3440 × 1440 as 43:18, which is marketed as 21:9. For image and video aspect ratios and crop factors, use our aspect ratio calculator.
Viewing distance and retina displays
The human eye with 20/20 vision can resolve detail of about one arcminute. Beyond a certain distance, individual pixels are too small to see, and the screen appears perfectly smooth; Apple popularised the term "retina" for displays that reach this at normal use. The calculator estimates that distance from the PPI. For a 27-inch 1440p monitor it's about 80 cm, a typical desk distance, while a 4K 27-inch monitor reaches it at about 53 cm, which is why text looks crisper. For TVs, recommended viewing distances are often about 1–1.5 times the diagonal for 4K.
Scaling and pixel density
High-PPI screens usually use display scaling so that text and interface elements stay a comfortable size: a 4K 27-inch monitor is often used at 150% scaling, giving the same workspace as 1440p but with sharper text. Mac and Windows handle scaling differently, and some older apps look blurry at fractional scales. For web designers, CSS pixels stay constant while device pixels vary, so use relative units; our px to rem converter helps, and the DPI calculator covers print resolution.
TV sizes at a glance
For 16:9 screens, the width is about 87% of the diagonal and the height about 49%. So a 55-inch TV is about 48 × 27 inches, a 65-inch about 57 × 32 inches and a 75-inch about 65 × 37 inches, before the frame. A 4K TV at 65 inches has about 68 PPI, which looks sharp from a few metres away but would look coarse at desk distance.
Choosing a screen
For a desktop monitor at a normal distance, around 100–140 PPI is comfortable without scaling, while 160 PPI and above looks sharp with scaling. Gamers often trade resolution for refresh rate: a 27-inch 1440p monitor at 144–240 Hz is a popular balance. For working with photos, higher PPI and good colour accuracy matter more. Our PSU calculator helps size a power supply for the graphics card that drives a high-resolution display, and the eDPI calculator tunes mouse sensitivity.