Math

Diagonal of Rectangle Calculator

Calculate the diagonal length of a rectangle using its width and height with the Pythagorean theorem.

in
Diagonal
18.3576 in
Width
16 in
Height
9 in
Diagonal
18.3576 in
Area
144 in²
Perimeter
50 in

The diagonal divides the rectangle into two congruent right triangles.

How to calculate the diagonal of a rectangle

The diagonal of a rectangle can be calculated using the Pythagorean theorem. Since the diagonal creates a right triangle with the width and height, we can use:

d=w2+h2d = \sqrt{w^2 + h^2}

Where:

  • d = diagonal length
  • w = width
  • h = height

Example

For a rectangle with width 16 and height 9:

d=162+92d=256+81d=337d18.36\begin{aligned} d &= \sqrt{16^2 + 9^2} \\ d &= \sqrt{256 + 81} \\ d &= \sqrt{337} \\ d &\approx 18.36 \end{aligned}

Properties of rectangle diagonals

  • A rectangle has two diagonals of equal length
  • The diagonals bisect each other (cross at their midpoints)
  • Each diagonal divides the rectangle into two congruent right triangles
  • The diagonals are not perpendicular (unless it's a square)

Common applications

  • TV and monitor sizes: Screen size is measured diagonally
  • Construction: Checking if corners are square (3-4-5 rule)
  • Packaging: Determining if items fit diagonally in boxes
  • Sports fields: Measuring field dimensions

Related formulas

PropertyFormula
Diagonald = √(w² + h²)
AreaA = w × h
PerimeterP = 2(w + h)

Special case: square

For a square where w = h = s:

d=s21.414sd = s\sqrt{2} \approx 1.414s