Trigonometry (Right Triangle) Calculator

Solve a right triangle's sides from one angle and the hypotenuse.

Formula

opposite = h × sin(θ), adjacent = h × cos(θ)

Inputs

What it does

Solves a right-angled triangle from one angle and the hypotenuse, giving the opposite and adjacent sides.

Where it's used

Slopes, ramps, roof pitches, force components and surveying.

How to use it

  1. Enter the known angle in degrees.
  2. Enter the hypotenuse (the longest side).
  3. Read the other two sides.

The formula explained

opposite
h × sin θ
adjacent
h × cos θ
SOH-CAH-TOA
sin = opp/hyp, cos = adj/hyp, tan = opp/adj

Worked example

A 5 m ladder at 35° to the ground.

Inputs:

The calculator gives:

Tips and common mistakes

Questions people ask

What do sin, cos and tan mean?

In a right triangle: sin θ = opposite / hypotenuse, cos θ = adjacent / hypotenuse and tan θ = opposite / adjacent — often remembered as SOH-CAH-TOA.

How do I find an angle from two sides?

Use the inverse functions. A 5 m ladder reaching 4 m up a wall makes an angle of asin(4 / 5) ≈ 53.1° with the ground.

How can I check the answer?

With Pythagoras: opposite² + adjacent² = hypotenuse². For the example, 2.868² + 4.096² ≈ 25 = 5².

Related Maths, Units & Data calculators

Enter your values to get the result with the formula, substituted values and an explanation of each step.

All engineering calculators