Hypotenuse calculator
Enter the leg a and the leg b to get the hypotenuse.
This calculator is also in the Numnote app for your phone. Google Play
Example
A right triangle with legs 6 ft and 8 ft has a hypotenuse of 10 ft.
Hypotenuse of a right triangle with a leg of 8 ft at different second legs
| a | b | hypotenuse |
|---|---|---|
| 1 ft | 8 ft | 8.0623 ft |
| 2 ft | 8 ft | 8.2462 ft |
| 3 ft | 8 ft | 8.544 ft |
| 4 ft | 8 ft | 8.9443 ft |
| 5 ft | 8 ft | 9.434 ft |
| 6 ft | 8 ft | 10 ft |
In detail
How it is calculated
By the Pythagorean theorem, the square of the hypotenuse equals the sum of the squares of the legs. Each leg is squared, the squares are added and the square root of the sum is taken. This gives the diagonal of a rectangle such as a room, a screen or a frame, the length of a ladder against a wall or a straight-line distance. Enter both legs in the same unit, and the result comes out in it.
Common mistakes
The legs are not added up: the straight line is always shorter than going along two sides. The calculation does not fit a triangle without a right angle, because the Pythagorean theorem works only when the legs meet at a right angle. Before marking out on a building site, check the angle, for instance by comparing the two diagonals of a rectangle: if they are equal, the angles are right.
Questions
How do I find the hypotenuse from two legs?
Square each leg, add the squares and take the square root of the sum.
How do I calculate the diagonal of a room?
Enter the length and the width as the legs: the diagonal of a rectangle is its hypotenuse.
How do I find a leg if the hypotenuse is known?
Subtract the square of the known leg from the square of the hypotenuse and take the root.