Formula and Method for Solving a Right Triangle with Trigonometry
A right triangle has one 90° angle and two acute angles that always add up to 90°. If you know one acute angle (θ) and the length of any one side, trigonometry lets you find the other two sides using the three basic ratios — sine, cosine, and tangent — remembered by the mnemonic SOH-CAH-TOA: sin θ = opposite/hypotenuse, cos θ = adjacent/hypotenuse, and tan θ = opposite/adjacent.
How the calculation works
This calculator picks the correct ratio automatically based on which side you say you know. If you enter the opposite side, the hypotenuse is found from hypotenuse = opposite ÷ sin θ, and the adjacent side from adjacent = opposite ÷ tan θ. If you enter the adjacent side, the hypotenuse is adjacent ÷ cos θ, and the opposite side is adjacent × tan θ. If you enter the hypotenuse, the opposite side is hypotenuse × sin θ, and the adjacent side is hypotenuse × cos θ. In every case, the remaining acute angle is simply 90° − θ, since the two non-right angles of a right triangle are complementary.
Common mistakes
- Mixing up opposite and adjacent: the "opposite" side is the one directly across from the angle θ; the "adjacent" side is the other leg touching θ (not the hypotenuse). Swapping them flips sine and cosine.
- Degrees vs. radians: this calculator expects the angle in degrees. If you are working from radians, convert first (degrees = radians × 180/π) or the trig ratios will be wrong.
- Angle out of range: θ must be strictly between 0° and 90° for a right triangle's acute angle — 0° or 90° would collapse the triangle into a line.
Real-world applications
- Surveying and construction use angle-of-elevation trigonometry to find heights of buildings, towers, or slopes without direct measurement.
- Navigation and aviation use right-triangle trig to compute bearings, altitude, and distance-to-target from angle and range readings.
- Carpentry and roofing use it to size rafters, ramps, and staircases from a known rise (opposite), run (adjacent), or slope angle.
- Physics problems routinely decompose forces or velocities into perpendicular components using the same sine/cosine relationships.