EngineerPlay

Right triangle calculator

In a right triangle with hypotenuse L and angle θ, the side opposite θ is h = L × sin θ and the side next to it is x = L × cos θ; the other acute angle is 90° − θ. A 4 m ramp at 30° rises 4 × sin 30° = 2 m over a run of 4 × cos 30° ≈ 3.464 m.

Your values

m
°

Result

h side opposite θ
2 m
x side next to θ
3.464 m
90° − θ the other angle
60 °

Worked steps

  1. h = L × sin θ = 4 m × sin 30° = 2 m
  2. x = L × cos θ = 4 m × cos 30° ≈ 3.464 m
  3. 90° − θ = 90° − 30° = 60°

Formulas used

The same formulas as the formula sheet and the practice questions; the worked steps print them with your numbers.

Questions

How do I find the height of a ramp from its length and angle?

The height is opposite the angle and the ramp is the hypotenuse, so h = L × sin θ. A 3 m ramp at 5° rises 3 × sin 5° ≈ 0.261 m.

Which of sin, cos or tan do I use?

SOH CAH TOA: sin θ = opposite / hypotenuse, cos θ = adjacent / hypotenuse, tan θ = opposite / adjacent. Pick the one that links the side you know and the side you want.

Why does my calculator give a strange answer?

It may be set to radians. sin 30 in degrees is 0.5, but in radians it is about −0.988. Set the calculator to degrees when the angle is in degrees.