Diagonal calculator
Enter the width and height of a rectangle or screen, or the diagonal and the aspect ratio, and this tool works out the missing values.
Results
Enter your values to see the result.
About this tool
It shows the diagonal, the width, the height, the area and the ratio of width to height. It helps with screens, frames, tables and checking that a rectangle is square.
- How it is calculated
- diagonal = √(width² + height²); from a diagonal and an aspect ratio w:h: width = diagonal × w ÷ √(w² + h²), height = diagonal × h ÷ √(w² + h²)
- Worked example
- With I know: width and height; Width: 16; Height: 9, the result is: Diagonal: 18.36; Width: 16; Height: 9; Area: 144; Width ÷ height: 1.78.
- Good to know
- The diagonal is the square root of the width squared plus the height squared. From a diagonal and a ratio, the width and height are the diagonal times each part of the ratio divided by the square root of the sum of the squares of the ratio parts.
Frequently asked questions
How do I measure a screen diagonal?
Measure from one corner of the visible screen to the opposite corner, not including the frame.
How can I check that a frame is square?
Measure both diagonals from corner to corner. If they are exactly the same length, the corners are square.
Can I find the width of a 16:9 screen from its diagonal?
Yes. Choose the diagonal and ratio option, and enter the diagonal with 16 and 9. The tool shows the width and height.