# Diagonal of a Rectangle Calculator

Diagonal of rectangle refers to the line segment or straight line that connect the opposite corner or vertex of the rectangle. According to the Pythagorean theorem, the diagonal value can be found knowing the side length. Use our online diagonal of a rectangle calculator to find diagonal of rectangle by entering the width and height. This calculator can also be used to get the answer to the question of 'How to find the diagonal of a rectangular prism?'.

## Find Diagonal of Rectangle

Diagonal of rectangle refers to the line segment or straight line that connect the opposite corner or vertex of the rectangle. According to the Pythagorean theorem, the diagonal value can be found knowing the side length. Use our online diagonal of a rectangle calculator to find diagonal of rectangle by entering the width and height. This calculator can also be used to get the answer to the question of 'How to find the diagonal of a rectangular prism?'.

Code to add this calci to your website

#### Formula:

d = √ (w^{2} + h^{2})
**Where,**
d = Diagonal of Rectangle
w = Width
h = Height
### Example:

Calculate the diagonal of a rectangle in which its height be 20 cm and width be 25 cm.

#### Solution:

D = √25^{2} + 20^{2}

= 32.0156 cm .