Formula and Method for Right Triangle Trigonometry
A right triangle has one 90° angle and two acute angles, A and B, that add up to 90° (A + B = 90°). The side opposite the right angle is the hypotenuse (c) — the longest side — and the other two sides are called legs. Relative to angle A, the leg across from it is the "opposite" side (a) and the leg next to it is the "adjacent" side (b). This calculator uses the three basic trigonometric ratios — sine, cosine, and tangent — together with the Pythagorean theorem to solve for every side and angle from just one known angle and one known side.
How the calculation works
The three ratios, remembered with the mnemonic SOH-CAH-TOA, are sin A = opposite/hypotenuse, cos A = adjacent/hypotenuse, and tan A = opposite/adjacent. Given angle A and one side, the calculator rearranges whichever ratio applies: if you know the opposite side a, the hypotenuse is c = a / sin A and the adjacent side is b = a / tan A; if you know the adjacent side b, the hypotenuse is c = b / cos A and the opposite side is a = b × tan A; if you know the hypotenuse c, then a = c × sin A and b = c × cos A. Once all three sides are known, the triangle's area follows from Area = ½ × a × b (the two legs act as base and height because they meet at the 90° angle), and the second acute angle is simply B = 90° − A.
Common mistakes
- Mislabeling opposite vs. adjacent: "opposite" and "adjacent" are always relative to the angle you're using — the same leg is "opposite" to one acute angle and "adjacent" to the other.
- Degrees vs. radians: make sure your angle is entered in degrees (this calculator expects degrees, not radians) — a formula that works for 30° gives a very different answer if 30 is mistakenly treated as radians.
- Confusing the hypotenuse with a leg: the hypotenuse is always the longest side and is always opposite the 90° angle, never adjacent to it.
Real-world applications
- Construction and roofing use right-triangle trig to find rafter lengths, roof pitch, and stair rise/run from an angle and a known length
- Surveying and navigation use angle-of-elevation and angle-of-depression problems to find distances and heights that can't be measured directly
- Physics uses these ratios to resolve forces or velocities into perpendicular components
- Ladder-safety and ramp-design calculations use the angle and one side to confirm a safe reach or slope