Online ruler to measure screen size

Pixel density
–
Width
–
Height
–
Aspect ratio
–
Outline of the entered screen
This screen, measured

Calibrate to measure this screen.

How the screen size calculator works

The screen size calculator turns a resolution and a diagonal into pixels per inch (PPI), width and height, and measures your own screen after calibration.

  1. Enter the width and height in pixels from the display's specifications.
  2. Enter the diagonal in inches.
  3. Read the pixels per inch (PPI), the width, the height and the aspect ratio.
  4. Check the outline, which is drawn at true size when it fits.
  5. Calibrate with a credit card to see this screen's measured size.
diagonal width px height px
Width and height in pixels, and the diagonal measured corner to corner.

Screen size calculator formula

Pixels per inch (PPI) equal the diagonal resolution in pixels divided by the diagonal size in inches. The diagonal resolution is √(width² + height²). Divide PPI by 25.4 for pixels per millimetre, and by the device pixel ratio for CSS pixels.

PPI = √(w² + h²) ÷ diagonal_in
w, h
native resolution in pixels
diagonal_in
visible diagonal in inches

Worked example, live

√(1920² + 1080²) = 2202.9 px on the diagonal. 2202.9 ÷ 24 in = 91.8 PPI (3.61 pixels per mm). The diagonal is 61.0 cm.

Screen size calculator conversion chart

Apple's published diagonals and resolutions give about 219 to 460 PPI for these 8 screens. PPI is computed from each published resolution and diagonal; the diagonal is also shown in centimetres.

Apple screens: published diagonal and resolution, with the PPI they give
DeviceDiagonal inDiagonal cmResolutionPPI
MacBook Air 13-inch (M2 and later)13.634.52560 × 1664225
MacBook Air 15-inch15.338.92880 × 1864224
MacBook Pro 14-inch14.236.13024 × 1964254
MacBook Pro 16-inch16.241.13456 × 2234254
iMac 24-inch (4.5K)23.559.74480 × 2520219
iPhone 166.1215.52556 × 1179460
iPad Air 11-inch (M2 and later)10.8627.62360 × 1640265
iPad Air 13-inch (M2 and later)12.932.82732 × 2048265

Screen size calculator FAQ

How do I find my screen size without a tape measure?

Calibrate this page with a credit card, and the calculator measures the screen from its pixel count. The page knows the screen size in CSS pixels, and the calibration gives CSS pixels per millimetre. Width in mm equals the CSS width divided by pixels per mm, and the diagonal follows from the width and height, for example 34.5 cm (13.6 in).

How accurate is the measured screen size?

The measured size has the same percentage error as your calibration, which the verify step shows. At the 1.5% verify limit that is 0.23 in (6 mm) on a 15.6-inch (39.6 cm) diagonal. Rounded corners are measured as if they were square, so the result matches the rectangle that makers quote.

Can I measure a phone screen size with this page?

Yes, open the page on the phone, calibrate with a credit card held upright and read the measured diagonal. For example, Apple states a 6.12-inch (15.5 cm) diagonal for the iPhone 16. Your measured value differs from it by your calibration error, which the verify step shows; at the 1.5% limit that is 0.09 in (2.3 mm).

How do you convert a screen diagonal from inches to centimetres?

Multiply the diagonal in inches by 2.54: a 27-inch monitor is 68.6 cm. Screen sizes are usually sold in inches, measured corner to corner across the visible area. The calculator shows width and height in both inches and centimetres for any resolution and diagonal you enter, for example 23.5 × 13.2 in (59.8 × 33.6 cm) for a 27-inch 16:9 screen.

Why does a 1920 × 1080 laptop have a higher PPI than a 1920 × 1080 monitor?

PPI depends on screen size: the same 1920 × 1080 pixels sit closer together on a smaller screen. On a 15.6-inch (39.6 cm) laptop, √(1920² + 1080²) ÷ 15.6 = 141.2 PPI. On a 24-inch (61 cm) monitor, the same resolution gives 91.8 PPI, so each pixel is 0.28 mm wide instead of 0.18 mm.

Calibrate

Not calibrated
  1. Most reliable method. Hold any bank card or driving licence flat on the screen (85.6 × 53.98 mm), top-left corner in the outline's corner.
  2. Drag the orange handle until the right edges line up. Arrow keys: 1 px, Shift 10 px.