Screen Size & PPI Calculator
Find the width and height of a screen in cm and inches from its diagonal and aspect ratio, and work out PPI (pixel density) from the resolution. Everything is calculated in this browser only.
For example 55, 27.5 or 139.7. You can add a unit too (55 in, 139.7 cm).
Width x heightEnter the diagonal length.
Paste a whole resolution such as 1920x1080 into one box and it is split across both.
For example 55, 27.5 or 139.7. You can add a unit too (55 in, 139.7 cm).
Pixel densityEnter the width and height in pixels and the diagonal.
For example 55, 27.5 or 139.7. You can add a unit too (55 in, 139.7 cm).
Same diagonal, different ratiosEnter a diagonal to see the size of each ratio.
Theoretical size of the visible display area; real products differ by bezel, stand and curvature. Estimate for reference only — verify before relying on it.
How it works
- Width and height
- Pick a diagonal and an aspect ratio to get width, height and area in cm and inches together. The diagonal can be typed in cm. Enter your own ratio if it is not in the list.
- PPI
- Enter the resolution (pixels across and down) and the diagonal to get PPI, pixel pitch, the real screen size and the aspect ratio. A resolution like 1920x1080 can be pasted in one go.
- Compare ratios
- At one diagonal, see how width, height and area change between 16:9, 16:10, 21:9 and the other common ratios in a single table.
How it is calculated
- For an aspect ratio a:b, width is diagonal x a / sqrt(a²+b²) and height is diagonal x b / sqrt(a²+b²). It comes from the Pythagorean theorem, since the diagonal is the hypotenuse. At 16:9, sqrt(16²+9²) = sqrt(337) ≈ 18.358, so a 55 inch screen is 55 x 16 / 18.358 ≈ 47.94 inches wide.
- Inches and centimetres convert at 1 inch = 2.54 cm, which is the exact defined value (1959 international yard and pound agreement). Results are worked out exactly and rounded once to the digits shown, with exact halves rounded up. Integer arithmetic is used so floating-point error cannot creep in.
- PPI is sqrt(pixels across² + pixels down²) / diagonal in inches. Pixel pitch in mm equals 25.4 / PPI. Pixels are assumed to be square.
- The diagonal is taken as the diagonal of the visible display area, without the bezel. A product adds bezel and stand, and on a curved screen the straight-line distance can differ from this value depending on how the diagonal is measured.
Worked examples
- A 55 inch 16:9 screen is 121.8 cm wide and 68.5 cm high (47.9 x 27.0 inches). A real product can be larger because of bezel and stand.
- A 27 inch screen at 3840x2160 is 163.2 PPI with a 0.156 mm pixel pitch. The same 27 inches at 2560x1440 is 108.8 PPI.
- At the same 27 inches, 21:9 is wider and shorter than 16:9 and has about 84.7% of its area. The same diagonal does not mean the same screen area.
- A 5 inch 4:3 screen is exactly 4 inches wide and 3 inches high (10.16 x 7.62 cm), because 3-4-5 is a right triangle with whole sides.
Frequently asked questions
- Which formats can I type?
- The diagonal can be a plain number such as 55, 27.5 or 139.7, or have a unit: 55 in, 55", 139.7 cm. A unit that differs from the selection is reported as an error. A comma is a thousands separator when groups have three digits and a decimal point otherwise (1,500 = 1500, 27,5 = 27.5). Full-width digits are read too.
- Why do monitors with the same inches have different widths?
- Inches only describe the diagonal. The wider the aspect ratio, the longer the width and the shorter the height. At one diagonal, the squarer the shape, the larger the area.
- How many cm is one inch?
- Exactly 2.54 cm. This calculator uses that value as is and rounds only once at the end.
- What if the resolution is not exactly 16:9, like 1366x768?
- The pixel ratio is reduced as it is and, if a common ratio is close, it is named too. 1366x768 is 683:384, very close to 16:9.
- Is a higher PPI better?
- This tool only calculates the pixel density number and does not judge it. The same PPI looks different depending on viewing distance and use.
- Are PPI and DPI the same?
- PPI is pixels per inch on a screen; DPI is printed dots per inch. PPI is the right term for screens.
Width and height by inch
Pages for common diagonals with the size of each aspect ratio and PPI at common resolutions.