Formula and calculation method
Square the two perpendicular legs, add the squares, and take the square root.
Worked example
| Input | Example 1 | Example 2 |
|---|---|---|
| First leg | 3 | 5 |
| Second leg | 4 | 12 |
| Result | 5 units | 13 units |
Which side does the result describe?
The result is the hypotenuse opposite the right angle. Enter the two perpendicular legs in the same unit. A 9-by-12 rectangle has a 15-unit diagonal if the corner is square.