CalcHub

⚡ Quick answer

To find the diagonal of a rectangle, use the formula d = √(w² + h²).

Diagonal Calculator

Find the diagonal of a rectangle using the Pythagorean theorem: √(w² + h²).

CalcHub
9
Type or paste in the fields above

📖 What it is

The Diagonal Calculator helps you determine the straight-line distance between opposite corners of a rectangle, utilizing the Pythagorean theorem.

To use this tool, input the width and height of the rectangle, and the calculator will output the diagonal length, giving you a clear measure of the shortest distance across.

Remember, this calculation is specifically for right angles; ensure your shape is a rectangle as the diagonals in non-right shapes require different methods.

How to use

  1. Measure the width (w) of the rectangle.
  2. Measure the height (h) of the rectangle.
  3. Square both measurements: w² and h².
  4. Add the squares together.
  5. Take the square root of the sum to find the diagonal length.

📐 Formulas

  • Diagonal lengthd = √(w² + h²)
  • Width squared
  • Height squared

💡 Example

For a rectangle with a width of 9 and a height of 12:

1. Calculate w²: 9² = 81.

2. Calculate h²: 12² = 144.

3. Add the squares: 81 + 144 = 225.

4. Find the square root: √225 = 15.

Thus, the diagonal length is 15.

Real-life examples

  • Living Room Dimensions

    A living room is 10 feet wide and 24 feet high. The diagonal is √(10² + 24²) = √(100 + 576) = √676 = 26 feet.

  • Garden Layout

    A rectangular garden has a width of 5 meters and a height of 12 meters. The diagonal is √(5² + 12²) = √(25 + 144) = √169 = 13 meters.

Scenario comparison

  • Small Room vs Large RoomA small room (width 8ft, height 10ft) has a diagonal of 12.81ft while a large room (width 16ft, height 20ft) has a diagonal of 25.00ft.
  • Rectangle vs SquareA rectangle (width 6m, height 8m) has a diagonal of 10.00m; a square (side 8m) has a diagonal of 11.31m.

Common use cases

  • Determining the size of a TV for a room layout.
  • Designing floor plans for houses or offices.
  • Calculating material needs for rectangular gardens.
  • Estimating the diagonal length for furniture arrangement.
  • Assessing the dimensions for painting a rectangular wall.

How it works

The diagonal is calculated using the formula d = √(width² + height²), which applies to right-angled rectangles, ensuring accurate distance measurement.

What it checks

This tool checks the straight-line distance between opposite corners of a rectangle.

Signals & criteria

  • Width leg
  • Height leg
  • Hypotenuse length

Typical errors to avoid

  • Adding widths instead of squaring.
  • Mixing units.
  • Applying to non-right shapes without adjustment.

Decision guidance

Low: If the diagonal is significantly longer than both legs, recheck your inputs.
Medium: A diagonal length comparable to the width and height indicates a correctly formed rectangle.
High: A very short diagonal relative to the legs suggests an error in the dimensions provided.

Trust workflow

Recommended steps after getting a result:

  1. Input accurate width and height measurements.
  2. Verify your rectangle has right angles.
  3. Use the calculated diagonal for further design or construction purposes.

FAQ

FAQ

  • 3D diagonal?

    Extend with depth: √(w² + h² + d²)—not covered here.

  • Square?

    Use equal width and height; diagonal = side × √2.

Related calculators