Right Triangle Calculator
Enter any two values of a right triangle (sides a, b, c or the angle A) and the other sides and angles are found with the Pythagorean theorem and trigonometry.
How it works
In a right triangle with legs a and b and hypotenuse c, a² + b² = c². Once two sides are known, the third follows; the acute angles come from inverse tangent, and the area is half the product of the legs.
Area = a × b ÷ 2 · Perimeter = a + b + c · Height to hypotenuse = a × b ÷ c
Worked example
Using the default values: Side a (opposite A) = 3; Side b = 4; Hypotenuse c = ; Angle A (degrees) = .
The calculator returns: Hypotenuse c: 5; Side a: 3; Side b: 4; Angle A: 36.8699°; Angle B: 53.1301°; Area: 6; Perimeter: 12.
Limits and assumptions
- Enter exactly two of the four values (a, b, c, angle A). If you enter more, the first two found in the order a, b, c, A are used.
- The hypotenuse must be longer than either leg.
- Angle A is opposite side a.
Frequently asked questions about the Right Triangle Calculator
Which side is the hypotenuse?
The side opposite the right angle and always the longest side, called c here.
Which angle is A?
Angle A is opposite side a, and angle B is opposite side b.
Can I find a missing side from an angle?
Yes. Give one side and angle A; for example with b and A, a = b × tan(A) and c = b ÷ cos(A).