⚡ 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²).
📖 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
- Measure the width (w) of the rectangle.
- Measure the height (h) of the rectangle.
- Square both measurements: w² and h².
- Add the squares together.
- Take the square root of the sum to find the diagonal length.
📐 Formulas
- Diagonal length—d = √(w² + h²)
- Width squared—w²
- Height squared—h²
💡 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 Room—A 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 Square—A 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
Trust workflow
Recommended steps after getting a result:
- Input accurate width and height measurements.
- Verify your rectangle has right angles.
- 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.