Calcoid
Math

Right Triangle Calculator

Solve any right triangle from two known values (sides or angles). Computes all sides, angles, area, perimeter, and altitude.

Right triangle

Enter any two values. Sides a and b are the legs, c is the hypotenuse. Angle A is opposite leg a, angle B is opposite leg b (both in degrees).

Enter any two values to solve the triangle.

Frequently Asked Questions about the Right Triangle Calculator

What is a right triangle?
A right triangle is any triangle that contains one 90-degree angle. The side opposite that right angle is the hypotenuse, which is always the longest side. The other two sides are called legs, often labeled a and b, with the hypotenuse labeled c.
How does the Pythagorean theorem work?
The Pythagorean theorem states that for any right triangle with legs a and b and hypotenuse c: a^2 + b^2 = c^2. If you know any two sides, you can find the third. For legs 3 and 4, the hypotenuse is sqrt(3^2 + 4^2) = sqrt(25) = 5.
What is SOH-CAH-TOA?
SOH-CAH-TOA is a memory aid for the three basic trig ratios in a right triangle: Sin = Opposite / Hypotenuse, Cos = Adjacent / Hypotenuse, Tan = Opposite / Adjacent. "Opposite" and "adjacent" are always relative to the angle you are working with, not the right angle.
What is a 30-60-90 triangle?
A 30-60-90 triangle has angles of 30, 60, and 90 degrees. Its sides are always in the ratio 1 : sqrt(3) : 2, where the shortest leg is opposite the 30-degree angle and the hypotenuse is twice that shortest leg. For example, legs of 1 and sqrt(3) give a hypotenuse of 2.
What is a 45-45-90 triangle?
A 45-45-90 triangle is an isosceles right triangle: both legs are equal and the two acute angles are each 45 degrees. The sides follow the ratio 1 : 1 : sqrt(2), so a hypotenuse is always the leg length multiplied by sqrt(2). For legs of 5, the hypotenuse is 5 x sqrt(2), or about 7.071.