30% off your first 3 months

Get the deal

Right triangle trigonometry

In a right triangle, sine, cosine and tangent are ratios of two sides, seen from one angle: sin⁡θ=oppositehypotenuse\sin\theta = \frac{\text{opposite}}{\text{hypotenuse}}, cos⁡θ=adjacenthypotenuse\cos\theta = \frac{\text{adjacent}}{\text{hypotenuse}} and tan⁡θ=oppositeadjacent\tan\theta = \frac{\text{opposite}}{\text{adjacent}}, or SOH CAH TOA.

Guide 6 of 7
A right triangle with a 35 degree angle at the left. The hypotenuse, 12, runs up to the right; the side x is opposite the angle, straight up on the right; the side along the bottom is adjacent to it.
sin 35° = x / 12. Opposite over hypotenuse, so x = 12 sin 35° ≈ 6.88.

Why it works. Every right triangle with a 35∘35^\circ angle is the same shape, just scaled, so the ratio of any two of its sides is always the same number. Sine, cosine and tangent are those fixed ratios, which is why one angle and one side are enough to find the rest.


Move it yourself

Change the angle and the hypotenuse: the three ratios change with the angle, never with the size.

A right triangle with a 35 degree angle at the left. The hypotenuse, 12, runs up to the right; the side x is opposite the angle, straight up on the right; the side along the bottom is adjacent to it.

Your turn

A 10 m ladder leans against a wall, making a 60∘60^\circ angle with the ground. How high up the wall does it reach? Round to two decimal places.

Or just show the answer

8.668.66 m

The height is opposite the 60∘60^\circ angle and the ladder is the hypotenuse, so use sine: h=10sin⁡60∘≈8.66h = 10\sin 60^\circ \approx 8.66 m.


Watch out for

  • Mistake 1. Struck through: 12 sin 35 ≈ −5.14; written over it: 12 sin 35° ≈ 6.88.

    The calculator in radian mode: 12sin⁡3512\sin 35 comes out about −5.14-5.14.

    Set it to degrees: 12sin⁡35∘≈6.8812\sin 35^\circ \approx 6.88.

  • Mistake 2. Struck through: cos 35° = x over 12; written over it: sin 35° = x over 12.

    Mixing up opposite and adjacent: cos⁡35∘=x12\cos 35^\circ = \frac{x}{12}.

    Opposite is across from the angle; adjacent touches it and is not the hypotenuse.

  • Mistake 3. Struck through: x = 12 over sin 35°; written over it: x = 12 sin 35°.

    Dividing when x is on top: x=12sin⁡35∘x = \frac{12}{\sin 35^\circ}.

    x is on top of the fraction, so multiply: x=12sin⁡35∘x = 12\sin 35^\circ.


Stuck on your own homework?

Open DuckyHelper and say it out loud. It sees your screen, so it works through your own problem with you and draws it, like the board above.

“Which of sine, cosine or tangent do I use here? Help me label the sides.”

Plus is $14 a month for your first 3 months. DuckyHelper is an app for Mac (Apple silicon, macOS 14 or later), Windows and Linux.


Read the whole guide as text

In a right triangle, sine, cosine and tangent are ratios of two sides, seen from one angle: sin⁡θ=oppositehypotenuse\sin\theta = \frac{\text{opposite}}{\text{hypotenuse}}, cos⁡θ=adjacenthypotenuse\cos\theta = \frac{\text{adjacent}}{\text{hypotenuse}} and tan⁡θ=oppositeadjacent\tan\theta = \frac{\text{opposite}}{\text{adjacent}}, or SOH CAH TOA. Pick the ratio that links the side you know to the side you want, then solve. Keep the calculator in degrees.

Worked example

A right triangle has a 35∘35^\circ angle and a hypotenuse of 12. Find x, the side opposite the angle.

  1. Name the sides from the 35∘35^\circ angle: x is opposite it, and 12 is the hypotenuse.
  2. Opposite and hypotenuse go together in sine (SOH).
    sin⁡35∘=x12\sin 35^\circ = \frac{x}{12}
  3. Multiply both sides by 12.
    x=12sin⁡35∘x = 12\sin 35^\circ
  4. Work it out with the calculator in degree mode.
    x≈6.88x \approx 6.88

Answer: x≈6.88x \approx 6.88

Geometry: all 7 guides
Questions and jobs

Do anything

Ask it a question or hand it a job, in any app.

Doing jobs for you is in the Mac app. Asking works on Mac, Windows and Linux.