Rectangle Diagonal & Angle Calculator

Calculate the diagonal length and the angle between the diagonal and a side of a rectangle.

Enter Rectangle Dimensions

Result

Diagonal Length
--
units
Length (l)--
Width (w)--
Diagonal (d)--
Angle between diagonal & length--
Angle between diagonal & width--
Angle sum check--

Step-by-Step Solution

d = sqrt(l^2 + w^2), theta = arctan(w/l)

Rectangle Diagonal and Angles

The diagonal of a rectangle connects two opposite corners, forming a right triangle with the length and width as legs. Using the Pythagorean theorem, the diagonal length is the square root of the sum of the squares of the length and width. The angle that the diagonal makes with each side can be found using inverse trigonometric functions.

Diagonal Formula

From the Pythagorean theorem.

d = sqrt(l^2 + w^2)

Angle with Length

The angle between the diagonal and the length side.

alpha = arctan(w / l)

Angle with Width

The angle between the diagonal and the width side.

beta = arctan(l / w) = 90 - alpha

Key Relationships

  • The two angles formed by the diagonal always sum to 90 degrees.
  • Each rectangle has two diagonals of equal length.
  • The diagonals bisect each other (cross at their midpoints).
  • For a square (l = w), the diagonal angle is always 45 degrees.
  • As the rectangle becomes more elongated, one angle approaches 0 and the other approaches 90 degrees.

Applications

Understanding diagonal angles is important in construction (bracing angles), screen measurements (TVs and monitors are measured diagonally), graphic design (understanding aspect ratios), and structural engineering (diagonal bracing for stability).