Trigonometry Basic

SOH-CAH-TOA Right Triangle Solver

Solve a right triangle given any two known values — two sides, or one side and one acute angle. Find all missing sides and angles, see trig ratios, and get a labeled diagram.

Any two knowns
Labeled triangle diagram
All trig ratios
Live
Known Values
Select which two values you know
a — opposite
side length
b — adjacent
side length
Examples
Solution
Select which two values you know, enter them above, and press Solve Triangle.
All Six Values
a opposite
b adjacent
c hypotenuse
A angle
B angle
90°
C right angle
Trig Ratios
Angle sin cos tan
A
B
Step-by-Step Solution
Hide steps
Triangle Diagram
SOH-CAH-TOA Definitions
sin A = opposite / hypotenuse = a / c cos A = adjacent / hypotenuse = b / c tan A = opposite / adjacent = a / b

SOH-CAH-TOA is a mnemonic for the three primary trig functions in a right triangle. For angle A, the opposite side is a, the adjacent side is b, and the hypotenuse is c.

To solve for an unknown side from two knowns, rearrange: e.g., a = c · sin A. To find a missing angle, use the inverse functions: A = arcsin(a/c).

Pythagorean Theorem Connection
a² + b² = c²

In every right triangle, the square of the hypotenuse equals the sum of the squares of the two legs. This lets us find the third side whenever two sides are known.

The Pythagorean theorem and SOH-CAH-TOA work together: once you have all three sides, you can compute all six trig ratios. Once you have an angle and a side, the trig functions give you the remaining sides directly.

The two acute angles of a right triangle always sum to 90°: A + B = 90°.

Need help with Trigonometry?

A live tutor can walk you through SOH-CAH-TOA, the unit circle, and every trig concept step by step — tailored to your class.

Book a Trig Session →