Instant Rectangle Diagonal Calculator
Enter the rectangle length and width to calculate the diagonal using the Pythagorean theorem.
What Is a Rectangle Diagonal?
A rectangle diagonal is a straight line connecting one corner of a rectangle to the opposite corner. Because a rectangle has four right angles, each diagonal creates two identical right triangles. That makes this a perfect geometry problem for the Pythagorean theorem.
Whether you are working on construction layouts, screen sizing, room planning, fabric cutting, CAD drawings, or school homework, knowing the diagonal helps you verify dimensions quickly and accurately.
Rectangle Diagonal Formula
Using the Pythagorean Theorem
If the rectangle has:
- Length = l
- Width = w
Then the diagonal d is:
d = √(l² + w²)
This works because the diagonal is the hypotenuse of a right triangle with sides l and w.
How to Use This Rectangle Diagonal Calculator
- Enter your rectangle length.
- Enter your rectangle width.
- Select a unit (optional, but useful for labeled output).
- Choose decimal precision.
- Click Calculate Diagonal.
The tool will instantly return your diagonal and show the exact substitution used in the formula so you can check your work.
Example Calculations
Example 1: Small Rectangle
Length = 8 cm, Width = 6 cm
d = √(8² + 6²) = √(64 + 36) = √100 = 10 cm
Example 2: Room Layout
Length = 15 ft, Width = 12 ft
d = √(15² + 12²) = √(225 + 144) = √369 ≈ 19.21 ft
Example 3: Screen Panel
Length = 1200 mm, Width = 700 mm
d = √(1,200² + 700²) = √(1,440,000 + 490,000) = √1,930,000 ≈ 1,389.24 mm
Common Mistakes to Avoid
- Mixing units: Keep length and width in the same unit.
- Adding before squaring incorrectly: Square first, then add.
- Negative values: Length and width should always be positive.
- Rounding too early: Round only at the final step for better accuracy.
Where This Is Useful in Real Life
- Checking if furniture fits diagonally through a doorway.
- Planning tile, carpet, or flooring installations.
- Calculating monitor or TV dimensions from width and height.
- Designing rectangles in architecture, engineering, and manufacturing.
- Classroom geometry and exam prep.
FAQ
Does every rectangle have two diagonals?
Yes. A rectangle has two diagonals, and both are exactly the same length.
Can I calculate in inches and get feet?
The calculator keeps the same unit you enter. If you need conversion, convert inputs first or convert the final diagonal afterward.
Is this formula valid for squares too?
Absolutely. A square is a special rectangle where length = width, so the same diagonal formula applies.
Final Thoughts
The rectangle diagonal calculator gives a fast, reliable way to find diagonal length from length and width. It is simple, practical, and grounded in one of the most important geometry rules: the Pythagorean theorem. Save this page for quick calculations any time you need accurate rectangle measurements.