Every rectangle (and square, which is just a special rectangle) has a diagonal — a straight line connecting two opposite corners.
Every rectangle (and square, which is just a special rectangle) has a diagonal — a straight line connecting two opposite corners. Knowing the diagonal is handy for checking that a frame or foundation is truly square, sizing a TV or screen, or fitting furniture through a doorway. This calculator finds the diagonal length and the angle it makes with the base.
A door frame measures 90 cm wide and 200 cm tall. Diagonal = √(90² + 200²) ≈ 219.32 cm. Angle from the base = arctan(200/90) ≈ 65.77° — useful for checking the frame is perfectly square by comparing both corner-to-corner diagonals.
Using the Pythagorean theorem: diagonal = √(length² + width²).
It's used to check if a rectangular space has true 90° corners by comparing measured diagonals.
Yes — a square is a special rectangle, so the same formula applies.