yCalculator

SOHCAHTOA Calculator

Last updated: June 2026

Find

Missing value

10

Ratio used: SOH. hypotenuse = opposite / sin(30 deg)

Step-by-step working

  1. Identify the side opposite the angle, the adjacent side, and the hypotenuse.
  2. Choose SOH, CAH, or TOA based on the known values and the missing value.
  3. Write the trig equation using sine, cosine, or tangent.
  4. Rearrange the equation to isolate the missing side or angle.
  5. Calculate the result and check it makes sense for a right triangle.

Right triangle labels

AdjacentOppositeHypotenuseAngle

About this calculator

The SOHCAHTOA Calculator helps find missing sides and angles in right-angled triangles. It is designed for school maths, revision, construction-style sketches, and any situation where you know an angle and a side, or two sides, and need the missing measurement.

SOHCAHTOA calculator method

SOHCAHTOA chooses the trig ratio that connects the known side, the missing side, and the angle. The calculator then rearranges the equation to solve for the missing side or angle.

  • SOH: sin(theta) = opposite / hypotenuse
  • CAH: cos(theta) = adjacent / hypotenuse
  • TOA: tan(theta) = opposite / adjacent
  • theta = sin^-1(opposite / hypotenuse), cos^-1(adjacent / hypotenuse), or tan^-1(opposite / adjacent)

How to use the SOHCAHTOA calculator

  1. Check that the triangle has a right angle.
  2. Choose whether you are finding a side or an angle.
  3. Label the opposite, adjacent, and hypotenuse relative to the selected angle.
  4. Enter the known angle and side, or enter two known sides.
  5. Choose the missing side where needed.
  6. Read the ratio used and the rearranged equation.
  7. Round the answer to the precision required by your question.

Worked examples

Find hypotenuse

Input: Angle 30 degrees, opposite side 5

Calculation: h = 5 / sin(30 degrees)

Result: 10

Find opposite

Input: Angle 40 degrees, hypotenuse 12

Calculation: opposite = 12 x sin(40 degrees)

Result: About 7.71

Find angle

Input: Opposite 6, adjacent 8

Calculation: theta = tan^-1(6 / 8)

Result: About 36.87 degrees

When to use sine, cosine, or tangent

Known or needed sidesRatioFormula
Opposite and hypotenuseSOHsin = opposite / hypotenuse
Adjacent and hypotenuseCAHcos = adjacent / hypotenuse
Opposite and adjacentTOAtan = opposite / adjacent

Why the angle label matters

Opposite and adjacent depend on which acute angle you are using. If you switch to the other acute angle, those two side labels swap. The hypotenuse is always the longest side opposite the right angle.

Common mistakes to avoid

Mixing degrees and radians
Most wrong trigonometry answers come from using the wrong angle unit. Check whether the question, calculator, or exam setting is using degrees or radians before comparing results.
Rounding too early
Keep extra decimal places during working, then round the final answer. Rounding sine, cosine, or tangent too early can noticeably change a side length or angle.
Using trig on a non-right triangle
SOHCAHTOA only applies directly to right-angled triangles. Other triangles may need the sine rule, cosine rule, or a split into right triangles.

Edge cases

  • Tangent is undefined where cosine is zero, such as 90 degrees and 270 degrees.
  • Inverse sine and inverse cosine only accept inputs from -1 to 1.
  • Angles that differ by 360 degrees can have the same sine, cosine, and tangent values.
  • A calculated triangle side should not be negative. Recheck the selected side labels if that happens.

Limitations

This calculator is for educational maths support. It uses standard trigonometric formulas and JavaScript Math functions, so results are numerical approximations. For coursework, exams, engineering, surveying, or safety-critical work, follow the required method, units, precision, and marking guidance.

Frequently asked questions

Should I use degrees or radians?

Use the unit given in the question. GCSE-style triangle questions usually use degrees. A-Level maths, calculus, circular motion, and many scientific formulas often use radians.

What does SOHCAHTOA mean?

SOHCAHTOA is a memory aid: sine equals opposite over hypotenuse, cosine equals adjacent over hypotenuse, and tangent equals opposite over adjacent.

Why is tan 90 degrees undefined?

Tangent is sine divided by cosine. At 90 degrees, cosine is zero, so the division is not defined.

Why do inverse trig calculators sometimes give only one angle?

Inverse trig functions return a principal value. Some trig equations have multiple valid angles over a larger interval, so the calculator result may be one of several possible angles.

Can I use these calculators for GCSE and A-Level revision?

Yes, they are useful for checking working and building confidence. Always practise writing the full method because exam marks often depend on the steps, not just the final number.

Related calculators

  • Trigonometry Calculator
  • Sine Calculator
  • Cosine Calculator

What does this mean?

This calculator is designed to help you understand the likely number before you make a decision or start an application.

Your result should be checked against official UK guidance, especially if your circumstances include dependants, exemptions, prior leave, or a complex immigration history.

Treat the figure as a planning tool rather than legal advice. Where the answer affects an application deadline or major payment, speak to an authorised adviser.

Related Math calculators

math calculators

Triangle Calculator

Solve any triangle using SSS, SAS, ASA, AAS, SSA, right triangle, and Pythagorean theorem modes

Calculate ->

math calculators

Area Calculator

Calculate the area of common 2D shapes with formula substitutions and unit conversions

Calculate ->

math calculators

Volume Calculator

Calculate the volume and surface area of common 3D shapes with full working and practical litre conversions

Calculate ->

You might also need

math calculators

Trigonometry Calculator

Calculate sine, cosine, tangent, and inverse trig values in degrees or radians

Calculate ->

math calculators

Sine Calculator

Calculate the sine of an angle in degrees or radians with common trig values

Calculate ->

math calculators

Cosine Calculator

Calculate the cosine of an angle in degrees or radians with sine and tangent context

Calculate ->