Solve any right triangle in seconds. Enter any two sides to calculate the third using a2 + b2 = c2. You’ll also get angles, area, perimeter, and a clear step-by-step explanation—ideal for students, teachers, and professionals.
This right-triangle tool uses the Pythagorean theorem to solve for any missing side and then derives angles, area, and perimeter.
The calculator applies a² + b² = c² (Pythagorean theorem):
The Pythagorean theorem states that in a right triangle, the sum of the squares of the two legs equals the square of the hypotenuse: a² + b² = c². Here, a and b are the legs, and c is the side opposite the right angle (the hypotenuse).
Example: a = 3, b = 4
Result: c = 5, Area = ½ × 3 × 4 = 6, Perimeter = 3 + 4 + 5 = 12
The equation is a2 + b2 = c2, where a and b are the legs and c is the hypotenuse.
Square both legs, add them, then take the square root: c = √(a2 + b2).
Subtract the square of the known leg from the square of the hypotenuse, then take the square root: a = √(c2 − b2) or b = √(c2 − a2).
Yes. With the longest side as c, if a2 + b2 = c2 holds (within rounding), the triangle is right-angled.
Any consistent length unit (mm, cm, m, in, ft). Don’t mix units in one calculation.
Angles, area, and perimeter:
Angles: A = sin⁻¹(a / c), B = sin⁻¹(b / c)
Area: ½ · a · b
Perimeter: a + b + c
Displayed values are rounded for readability. The calculator uses full precision internally, but rounding inputs or results can introduce small differences.
Was this calculator helpful?
Rate your experience to help us improve.
Thanks for rating! See the average and total ratings above.
Not rated yet—be the first to rate this calculator.