Find the hypotenuse from two legs
When both legs are known, use the Pythagorean theorem to solve the longest side.
a = 3, b = 4
c = 5, area = 6, perimeter = 12
Our free right triangle calculator helps you find all properties of a right-angled triangle, including sides, angles, area, and perimeter. Enter any two values to calculate the rest.
You're using two sides mode: enter the lengths of two legs, and the calculator will find the hypotenuse and all angles.
Enter values and calculate to see results

A right triangle has one 90-degree angle. The side opposite that angle is the hypotenuse, and the other two sides are the legs. Because one angle is fixed, a right triangle can often be solved quickly when you know two sides or one side plus one acute angle.
These formulas power the calculator and explain how each missing value is solved:
| Property | Formula |
|---|---|
| Hypotenuse (c) | c = √(a² + b²) |
| Area | A = (a × b) / 2 |
| Perimeter | P = a + b + c |
For the fastest result, enter the lengths of both legs. If you know one leg and one acute angle, the calculator can still solve the triangle.
When both legs are known, use the Pythagorean theorem to solve the longest side.
a = 3, b = 4
c = 5, area = 6, perimeter = 12
A single leg and one acute angle are enough to determine the rest of a right triangle.
a = 10, angle A = 30°
b ≈ 17.32, c = 20, angle B = 60°
Right triangles are common when checking slope, roof framing, or stair layouts.
a = 12, b = 5
c = 13, area = 30, perimeter = 30
You usually need two independent values. The most common combinations are two sides or one side plus one acute angle.
No. Two angles describe the shape, but not the size. You still need at least one side length to calculate area, perimeter, and actual side measurements.
The calculator uses the Pythagorean theorem: c = sqrt(a^2 + b^2), where c is the hypotenuse and a and b are the legs.
Use this calculator when one angle is exactly 90 degrees. The right-triangle-specific formulas make the calculation simpler and more precise for that case.