← All tools/Calculators/Geometry/Right Triangle Calculator

Right Triangle Calculator

Solve a right triangle from any two known sides or angles — the missing sides, both acute angles, area, perimeter and height to the hypotenuse.

°

Hypotenuse (c)

5.00

Area 6.00 · perimeter 12.00 · angles 36.87° and 53.13° · height to hypotenuse 2.40

Leg a
3.00
Leg b
4.00
Hypotenuse c
5.00
Breakdown
Leg a3.00
Leg b4.00
Hypotenuse c5.00
Angle α (opposite leg a)36.87°
Angle β (opposite leg b)53.13°
Area (a × b ÷ 2)6.00
Perimeter12.00
Height to the hypotenuse (a × b ÷ c)2.40

How it works

Pythagoras: a² + b² = c²  (c is the hypotenuse)
Angle α (opposite leg a): sin α = a ÷ c, so α = sin⁻¹(a ÷ c)
α + β = 90°
Area = a × b ÷ 2
Perimeter = a + b + c
Height to the hypotenuse = a × b ÷ c

With legs a = 3 and b = 4, the hypotenuse is c = √(9 + 16) = √25 = 5. The area is 3 × 4 ÷ 2 = 6, the perimeter is 3 + 4 + 5 = 12, and the angles are α = sin⁻¹(3 ÷ 5) = 36.87° (opposite leg a) and β = 90° − 36.87° = 53.13°. The height to the hypotenuse is 3 × 4 ÷ 5 = 2.40. With legs 5 and 12 instead, the hypotenuse is 13, the area is 30, the perimeter is 30, and the angles are 22.62° and 67.38°.

Frequently asked questions

How do I find the hypotenuse from the two legs?

Use Pythagoras: c = √(a² + b²). With legs 3 and 4, c = √(9 + 16) = √25 = 5. The hypotenuse is always the longest side of a right triangle.

How do I find a missing leg if I know the hypotenuse?

Rearrange Pythagoras: b = √(c² − a²). With hypotenuse 13 and leg 5, the other leg is √(169 − 25) = √144 = 12. The leg must be shorter than the hypotenuse, or the triangle is impossible.

How do I find the angles?

Use the sine of the angle: sin α = opposite ÷ hypotenuse, so α = sin⁻¹(a ÷ c). With a = 3 and c = 5, α = 36.87°. The other acute angle is simply 90° − α = 53.13°.

What is the height to the hypotenuse?

It is the perpendicular distance from the right-angle corner to the hypotenuse: height = a × b ÷ c. For the 3-4-5 triangle it is 12 ÷ 5 = 2.40.

Can I solve a right triangle from one side and one angle?

Yes — pick “Leg + angle” or “Hypotenuse + angle” above. One side plus one acute angle fixes the whole triangle, because the second angle is 90° minus the first and the other sides follow from sine and cosine.

More tools

Tell us what you think

Loving this tool, or stuck on something? Tell us — it takes a minute.

We’ll only use your name and email to reply if needed. The tool and page are filled in for you.