Base formula
The relationship is a² + b² = c². If you know two sides, you can solve for the third.
Geometry
Calculate the hypotenuse or a missing leg of a right triangle and review the formula step by step.
Use the same unit for every side of the right triangle.
Quick examples
Pending
The result will appear here with the formula and check.
Formula: Complete the fields to see the formula.
Substitution: —
Calculation: —
Result: —
Check
—
—
The highlighted side is hypotenuse c.
Not to scale
The hypotenuse is always opposite the right angle and is the longest side. The diagram only identifies the sides.
In a right triangle, the legs form the 90° angle. The hypotenuse is opposite that angle.
The relationship is a² + b² = c². If you know two sides, you can solve for the third.
Add the squares of both legs and take the square root: c = √(a² + b²).
Subtract the square of the known leg from the square of the hypotenuse: b = √(c² - a²).
These examples show the same steps generated by the calculator.
c = √(3² + 4²) = √25 = 5 cm. This is one of the most common Pythagorean triples.
b = √(13² - 5²) = √144 = 12 m. The hypotenuse must be longer than the known leg.
Once you know all three sides, use those values to calculate the triangle’s area and perimeter.
It is a relationship for right triangles: the sum of the squares of the legs equals the square of the hypotenuse.
Square each leg, add the values and take the square root. The formula is c = √(a² + b²).
Subtract the square of the known leg from the square of the hypotenuse and take the square root. This calculator uses b = √(c² - a²).
The hypotenuse is 5 because 3² + 4² = 9 + 16 = 25 and √25 = 5.
No. It applies only to right triangles, meaning triangles with a 90° angle.
Because it is opposite the right angle. In a right triangle, it is always longer than either leg.