Give any two sides of a right triangle and get the third, plus its area and perimeter.
In any right triangle the square of the hypotenuse equals the sum of the squares of the other two sides. Rearranged for each unknown:
The hypotenuse is always the longest side and always opposite the right angle. If you are solving for a leg and the "hypotenuse" you entered is shorter than the other leg, no such triangle exists — the calculator says so rather than returning a nonsense number.
Some right triangles have whole numbers on all three sides. The smallest is 3, 4, 5, and any multiple of it works too — 6, 8, 10 and 9, 12, 15 are the same triangle scaled up. Other primitive triples include 5-12-13, 8-15-17 and 7-24-25.
Builders use the 3-4-5 relationship to check a corner is square without a set square: measure 3 units along one edge, 4 along the other, and if the diagonal is exactly 5 the angle is 90°.
This is worth stating because the theorem gets applied where it does not belong. For a triangle without a right angle you need the law of cosines, c² = a² + b² − 2ab·cos(C), which reduces to Pythagoras exactly when C is 90° and cos(C) is zero. The Triangle Calculator handles that case.
It is the side opposite the right angle, and always the longest of the three. If a triangle has no right angle it has no hypotenuse at all.
3-4-5 is the smallest, followed by 5-12-13, 8-15-17 and 7-24-25. Any whole-number multiple of a triple is also a triple, so 6-8-10 and 30-40-50 both work.
Most likely the hypotenuse you entered is shorter than or equal to one of the legs, which is geometrically impossible. The hypotenuse must be the longest side.
No. Use the law of cosines instead, which the Triangle Calculator applies. Pythagoras is the special case of that law where the angle is exactly 90°.
For right triangles where you know an angle rather than two sides, use the Right Triangle Calculator; for triangles with no right angle, the Triangle Calculator. The distance formula is this theorem applied to coordinates — see the Coordinate Distance Calculator.