Solve for any side of a right triangle using the Pythagorean theorem.
Last updated: March 2026 | By ForgeCalc Engineering
Please enter two positive values.
In a right triangle, the square of the hypotenuse equals the sum of the squares of the other two sides.
Example: a = 3 and b = 4 gives c = 5.
Which side is the hypotenuse?
The hypotenuse is the longest side, opposite the right angle.
Can this solve for a or b?
Yes. Switch the mode to solve for either leg.
Does this accept decimals?
Yes. Any positive finite values are accepted.
What if the hypotenuse is not larger?
The calculation is invalid because the triangle would not be right-angled.
Related Tools