Right Triangle Calculator with Angles

A right triangle is fully known once you have two values besides the right angle, as long as one is a side. With legs of 3 and 4, the hypotenuse is 5, the angles are 36.8699° and 53.1301°, and the area is 6. Pick the pair you know, enter them, and the calculator fills in the rest.

Type a number and the answer appears straight away.

Your answer

Sides a, b, c3, 4, 5

Leg a
3
Leg b
4
Hypotenuse c
5
Angle A (opposite a)
36.8699°
Angle B (opposite b)
53.1301°
Angle C
90°
Area
6
Perimeter
12
Height to the hypotenuse
2.4
Inradius
1
Circumradius
2.5

The math behind it: Right Triangle

a² + b² = c²; sin A = a / c; cos A = b / c; tan A = a / b; A + B = 90°; area = a × b / 2

Here the legs are a and b, the hypotenuse c is the side across from the right angle, angle A is opposite leg a and angle B is opposite leg b. Two legs give the hypotenuse by the Pythagorean theorem, and the angles come from the inverse tangent. For legs of 3 and 4, angle A is 36.8699° and angle B is 53.1301°, the perimeter is 12 and the height from the right angle to the hypotenuse is 2.4.

With a leg and the hypotenuse, the other leg is √(c² − a²). A leg of 5 and a hypotenuse of 13 give a second leg of 12, an area of 30 and angles of 22.6199° and 67.3801°. The 3-4-5 and 5-12-13 triangles are Pythagorean triples, sets of whole numbers that fit a² + b² = c² exactly.

With a side and an angle, the calculator uses sine, cosine and tangent, often remembered as SOH CAH TOA. A leg of 10 opposite a 30° angle gives a hypotenuse of 20 and a second leg of 17.3205: in a 30-60-90 triangle the hypotenuse is always twice the short leg. A hypotenuse of 10 with a 30° angle gives legs of 5 and 8.66025. Two legs of 1 make a 45-45-90 triangle with a hypotenuse of 1.41421, the square root of 2.

The results also include the inradius, the radius of the largest circle that fits inside, which is (a + b − c) / 2, and the circumradius, which is always half the hypotenuse. For a triangle without a right angle, use the triangle calculator. The Pythagorean theorem calculator shows the side working step by step, the area calculator covers other shapes, and the scientific calculator handles sin, cos and tan directly.

Common questions

How do you solve a right triangle?

You need two values besides the right angle, with at least one side. Use a² + b² = c² when you know two sides, and sine, cosine or tangent when you know a side and an angle. Legs of 3 and 4 give a hypotenuse of 5 and angles of 36.8699° and 53.1301°.

How do you find the hypotenuse of a right triangle?

Square both legs, add them and take the square root. Legs of 3 and 4 give √25 = 5. If you know a leg and the angle opposite it, divide the leg by the sine of the angle: 10 / sin 30° = 20.

How do you find the angles of a right triangle?

Divide the opposite leg by the adjacent leg and take the inverse tangent. For legs of 3 and 4, angle A = tan⁻¹(3 / 4) = 36.8699°. The other angle is 90° minus that, 53.1301°.

What are the sides of a 30-60-90 triangle?

They are in the ratio 1 : √3 : 2. A short leg of 10 gives a long leg of 17.3205 and a hypotenuse of 20.

How do you find the area of a right triangle?

Multiply the two legs and halve the result. Legs of 3 and 4 give an area of 6, and legs of 5 and 12 give 30.

You might also need

Checked and updated: