Calculate the hypotenuse of a right triangle from its two perpendicular legs.
Last updated: June 2026 | By Patchworkr Team
Enter a real number.
The hypotenuse comes directly from the Pythagorean theorem.
Both input sides must be positive because they are triangle edge lengths.
Enter the two perpendicular sides of a right triangle and read the diagonal length.
For legs 3 and 4, the hypotenuse is 5.
That is the classic 3-4-5 right triangle.
Negative and blank inputs are rejected before the square root is evaluated.
The result is live, so changing either leg updates the hypotenuse immediately.
Related Tools
Classify triangles.
Calculate equilateral triangle properties.
Calculate area using Heron's formula.
Calculate isosceles triangle properties.
Calculate triangle orthocenter.
Calculate triangle perimeter.