Use SOH CAH TOA to find a missing side of a right triangle from one angle and one side, or find an acute angle from any two side lengths.

Right triangles only. Enter all lengths in the same unit.

Opposite is across from θ, adjacent touches θ, and the hypotenuse is across from the right angle.

Display precision

SOH CAH TOA Formula

SOH CAH TOA is a mnemonic for the three main trigonometric ratios of a right triangle. Each ratio links one acute angle to two of the triangle’s sides:

sin(theta) = Opposite / Hypotenuse
cos(theta) = Adjacent / Hypotenuse
tan(theta) = Opposite / Adjacent

The variables in these formulas are:

  • theta: the acute angle you are working from (not the 90-degree angle)
  • Opposite: the side directly across from theta
  • Adjacent: the side next to theta that is not the hypotenuse
  • Hypotenuse: the longest side, always across from the right angle

To find a missing side, you pick the ratio that uses the angle you know and the side you know, then solve for the unknown side. For example, if you know theta and the hypotenuse and want the opposite side, you rearrange SOH to get Opposite = Hypotenuse times sin(theta).

To find a missing angle, you use the inverse function of whichever ratio matches the two sides you know. If you know the opposite and the hypotenuse, theta = arcsin(Opposite / Hypotenuse). The same pattern applies with arccos for adjacent and hypotenuse, and arctan for opposite and adjacent. The calculator picks the correct ratio for you based on the sides or angle you enter, and reports the answer in degrees or radians.

Which Ratio to Use

The right-triangle ratios below identify the two sides used by each mnemonic. For a missing side you also need one acute angle and one of those sides; for an angle you need both listed sides. A hypotenuse must be strictly longer than either leg.

MnemonicRatioSides InvolvedUse When You Know
SOHsin = O/HOpposite, Hypotenuseopposite and hypotenuse
CAHcos = A/HAdjacent, Hypotenuseadjacent and hypotenuse
TOAtan = O/AOpposite, Adjacentopposite and adjacent

Common reference values follow. The 0° and 90° rows are limiting trigonometric values, not valid acute-angle inputs for a nondegenerate right triangle.

Anglesincostan
0°010
30°0.5000.8660.577
45°0.7070.7071
60°0.8660.5001.732
90°10undefined

Example Problems

Example 1: Finding a missing side. A right triangle has an acute angle of 35 degrees, and the hypotenuse measures 10. You want the side opposite the 35-degree angle. The opposite and hypotenuse point to SOH, so Opposite = Hypotenuse times sin(theta) = 10 times sin(35 degrees) = 10 times 0.5736 = 5.74. The opposite side is about 5.74.

Example 2: Finding a missing angle. A right triangle has an opposite side of 6 and an adjacent side of 8. Two sides that are opposite and adjacent point to TOA, so theta = arctan(Opposite / Adjacent) = arctan(6 / 8) = arctan(0.75) = 36.87 degrees. The angle is about 36.87 degrees.

Frequently Asked Questions

How do I know which side is opposite and which is adjacent? Start at the acute angle you are working with. The side that does not touch that angle is the opposite side. The side that touches the angle but is not the hypotenuse is the adjacent side. The hypotenuse is always the longest side and sits across from the right angle, so it never changes no matter which acute angle you pick.

When do I use the inverse functions like arcsin? Use the regular sin, cos, and tan when you know an angle and want a side. Use the inverse functions arcsin, arccos, and arctan when you know two sides and want the angle. The inverse function undoes the ratio, turning a side ratio back into the angle that produced it.

Does SOH CAH TOA work on every triangle? No. These side ratios apply to right triangles, because one angle must be exactly 90 degrees. For other triangles, use the law of sines or cosines. The calculator also reports the other acute angle, all three sides, area = opposite × adjacent / 2, and perimeter = the sum of the sides. Area uses square units. Displayed results are approximate; use more decimal places for angles close to 0° or 90°. Inputs beyond floating-point range or precision are rejected explicitly.