Geometry & Trig
SOH CAH TOA Solver
Pick any two known parts of a right triangle — an acute angle and a side, or two sides — and the solver finds every other side and angle, naming the SOH, CAH or TOA ratio it used.
- Opposite 5
- Adjacent 8.660254
- Hypotenuse 10
- Other angle 60°
Step-by-step working 5 steps
- 1Label the right triangle
θ is an acute angle. Opposite is across from θ, adjacent touches θ (not the hypotenuse), and the hypotenuse is opposite the right angle.
- 2Opposite: use SOH
sin θ = opposite/hypotenuse opposite = hypotenuse × sin θ = 10 × sin(30°) = 5
- 3Adjacent: use CAH
cos θ = adjacent/hypotenuse adjacent = hypotenuse × cos θ = 10 × cos(30°) = 8.660254
- 4The other acute angle
90° − 30° = 60°
The angles of a triangle add to 180°, and one is the 90° right angle.
- 5Check
opposite² + adjacent² = 100 hypotenuse² = 100
The two lines should match (Pythagorean theorem).
How to use the soh cah toa solver
- Label the triangle from the point of view of angle θ.
- Choose the two things you know and enter their values.
- Follow the ratio chosen for each unknown.
- Check with the Pythagorean theorem at the end.
SOH CAH TOA
SOH: sin θ = opposite ÷ hypotenuse CAH: cos θ = adjacent ÷ hypotenuse TOA: tan θ = opposite ÷ adjacent a² + b² = c² (Pythagorean theorem)
θ is one of the two acute angles; the other is 90° − θ.
Worked examples
Each example below is generated by the same calculator you used above, so the working always matches the answer.
30° and hypotenuse 10
- Opposite 5
- Adjacent 8.660254
- Hypotenuse 10
- Other angle 60°
Step-by-step working 5 steps
- 1Label the right triangle
θ is an acute angle. Opposite is across from θ, adjacent touches θ (not the hypotenuse), and the hypotenuse is opposite the right angle.
- 2Opposite: use SOH
sin θ = opposite/hypotenuse opposite = hypotenuse × sin θ = 10 × sin(30°) = 5
- 3Adjacent: use CAH
cos θ = adjacent/hypotenuse adjacent = hypotenuse × cos θ = 10 × cos(30°) = 8.660254
- 4The other acute angle
90° − 30° = 60°
The angles of a triangle add to 180°, and one is the 90° right angle.
- 5Check
opposite² + adjacent² = 100 hypotenuse² = 100
The two lines should match (Pythagorean theorem).
Legs 3 and 4
- Opposite 3
- Adjacent 4
- Hypotenuse 5
- Other angle 53.1301°
Step-by-step working 5 steps
- 1Label the right triangle
θ is an acute angle. Opposite is across from θ, adjacent touches θ (not the hypotenuse), and the hypotenuse is opposite the right angle.
- 2Angle: use TOA
tan θ = opposite/adjacent = 3/4 = 0.75 θ = tan⁻¹(0.75) = 36.8699°
- 3Hypotenuse: Pythagorean theorem
hypotenuse = √(opposite² + adjacent²) = √(3² + 4²) = 5
- 4The other acute angle
90° − 36.8699° = 53.1301°
The angles of a triangle add to 180°, and one is the 90° right angle.
- 5Check
opposite² + adjacent² = 25 hypotenuse² = 25
The two lines should match (Pythagorean theorem).
Hypotenuse 13, opposite 5
- Opposite 5
- Adjacent 12
- Hypotenuse 13
- Other angle 67.3801°
Step-by-step working 5 steps
- 1Label the right triangle
θ is an acute angle. Opposite is across from θ, adjacent touches θ (not the hypotenuse), and the hypotenuse is opposite the right angle.
- 2Angle: use SOH
sin θ = opposite/hypotenuse = 5/13 = 0.384615 θ = sin⁻¹(0.384615) = 22.6199°
- 3Adjacent: Pythagorean theorem
adjacent = √(hypotenuse² − opposite²) = √(13² − 5²) = 12
- 4The other acute angle
90° − 22.6199° = 67.3801°
The angles of a triangle add to 180°, and one is the 90° right angle.
- 5Check
opposite² + adjacent² = 169 hypotenuse² = 169
The two lines should match (Pythagorean theorem).
45° and adjacent 6
- Opposite 6
- Adjacent 6
- Hypotenuse 8.485281
- Other angle 45°
Step-by-step working 5 steps
- 1Label the right triangle
θ is an acute angle. Opposite is across from θ, adjacent touches θ (not the hypotenuse), and the hypotenuse is opposite the right angle.
- 2Hypotenuse: use CAH
cos θ = adjacent/hypotenuse hypotenuse = adjacent ÷ cos θ = 6 ÷ cos(45°) = 8.485281
- 3Opposite: use TOA
tan θ = opposite/adjacent opposite = adjacent × tan θ = 6 × tan(45°) = 6
- 4The other acute angle
90° − 45° = 45°
The angles of a triangle add to 180°, and one is the 90° right angle.
- 5Check
opposite² + adjacent² = 72 hypotenuse² = 72
The two lines should match (Pythagorean theorem).
Where you will use this
- Finding a ladder’s height or a ramp’s length
- Geometry and trigonometry right-triangle homework
- Surveying and navigation basics
Common mistakes to avoid
Mislabeling opposite and adjacent
Opposite and adjacent depend on which angle θ you stand at. The hypotenuse is always across from the right angle.
Calculator in the wrong mode
Use degrees for degree angles. The solver works in degrees and says so.
Using a ratio for the wrong sides
Pick the ratio that contains the two sides involved: SOH for opposite/hypotenuse, CAH for adjacent/hypotenuse, TOA for opposite/adjacent.
Frequently asked questions
What does SOH CAH TOA stand for?
Sine = Opposite/Hypotenuse, Cosine = Adjacent/Hypotenuse, Tangent = Opposite/Adjacent.
How do you solve a right triangle with an angle and a side?
Choose the ratio that links the angle, the side you know and the side you want, then rearrange. For example opposite = hypotenuse × sin θ.
How do you find an angle from two sides?
Use the inverse trig function: θ = tan⁻¹(opposite/adjacent), sin⁻¹(opposite/hypotenuse) or cos⁻¹(adjacent/hypotenuse).
Related calculators
Find Trig Functions Given a Point Calculator
All six trig functions from a point (x, y).
Pythagorean Theorem Calculator
Find a missing side or test for a right angle.
Triangle Calculator (Three Sides)
Area, angles and type from three side lengths.
Scientific Calculator
Brackets, powers, trig and logs — reduced one step at a time.
Function Grapher
Plot y = f(x), find roots and read values.
Circle Calculator
Radius, diameter, circumference and area from any one.
Browse everything in Geometry & Trig or the full calculator list.