Formula and Method for Solving a Right Triangle by Side and Angle
A right triangle has one 90° angle. Once you know one of the other two acute angles (call it A) and any one of the three side lengths, the triangle is fully determined — the remaining two sides and the remaining angle follow directly from the trigonometric ratios sine, cosine, and tangent (remembered by the mnemonic SOH-CAH-TOA) and from the Pythagorean theorem.
How the calculation works
Label the side opposite angle A as a, the side adjacent to angle A (that is not the hypotenuse) as b, and the hypotenuse (opposite the right angle, always the longest side) as c. Depending on which side you enter, the calculator solves for the other two using: sin A = a/c, cos A = b/c, and tan A = a/b. If side a is known, c = a / sin A and b = a / tan A. If side b is known, a = b × tan A and c = b / cos A. If the hypotenuse c is known, a = c × sin A and b = c × cos A. The remaining acute angle is always B = 90° − A, since the three interior angles of any triangle sum to 180° and one of them is already 90°. As a check, the three resulting sides always satisfy the Pythagorean theorem: a² + b² = c².
Common mistakes
- Mixing up opposite and adjacent: "opposite" and "adjacent" are always relative to the angle you are using. Swapping them flips which trig ratio applies and gives a wrong side.
- Degrees vs. radians: this calculator expects angle A in degrees. Entering a radian value (like 0.52 instead of 30) will produce a nonsensical result.
- Forgetting the hypotenuse is longest: the hypotenuse is always the largest side of a right triangle. If a computed leg comes out longer than the hypotenuse, double-check which side was entered.
Real-world applications
- Surveying and construction use angle-and-side triangle solving to find distances or heights that can't be measured directly, such as a building's height from a known distance and elevation angle.
- Navigation and aviation use right-triangle trigonometry to compute bearings, altitude, and ground distance from angle-of-climb or angle-of-descent readings.
- Carpentry and roofing use it to cut rafters and braces at the correct angle given a run (horizontal leg) and a pitch angle.
- Physics and engineering resolve forces or vectors into perpendicular components using the same sine/cosine relationships.