Right Triangle
Find right-triangle properties from two legs or from one leg and the hypotenuse.
Inputs
Formula
c = √(a² + b²) or b = √(c² − a²); A = ab/2
- a — first perpendicular leg
- b — second perpendicular leg
- c — hypotenuse opposite the right angle
- Hypotenuse = √(a² + b²).
- The acute angles are found using atan2(a, b) and atan2(b, a).
- Area = ab/2; perimeter = a + b + hypotenuse.