Rectangle Diagonal Calculator (Diagonal of a Rectangle or Square)

Find the diagonal of a rectangle or square from its length and width (√(l² + w²)), with the angle, area and perimeter, or work out…

Results

Enter your details and click Calculate to see your results.
About This Calculator

By the Pythagorean theorem, diagonal = √(length² + width²). A square's diagonal is side × √2 ≈ side × 1.414.

From a diagonal and aspect ratio w : h, length = d × w ÷ √(w² + h²) and width = d × h ÷ √(w² + h²).

Example

Example: a 12 × 5 rectangle has a diagonal of 13 and makes an angle of 22.6199° with the long side.

Assumptions

Any unit; results use the same unit.

Frequently Asked Questions

What is the diagonal of a 10 × 10 square?

14.142.

What is the diagonal of a 3 × 4 rectangle?

5.

How do I square a frame?

Measure both diagonals — they're equal when the corners are square.

Related Calculators

About the Author

Imran Hossain
Imran Hossain

Professional SEO, Digital Marketer Specialist

I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist

View full profile