Right Triangle Trig Calculator

Find the missing sides and angle of a right triangle.

The angle in degrees, between 0 and 90.

The side opposite θ.

The side next to θ.

The longest side, opposite the right angle.

Try

Result

You enteredθ=45∘\theta = 45^\circ

opposite=7, adjacent=7, hypotenuse=9.899495, θ=45∘\displaystyle \text{opposite} = 7,\ \text{adjacent} = 7,\ \text{hypotenuse} = 9.899495,\ \theta = 45^\circ

sin θ

0.707107\displaystyle 0.707107

cos θ

0.707107\displaystyle 0.707107

tan θ

1\displaystyle 1
Show the work
  1. CAH: cos θ = adjacent / hypotenuse

    Cosine is adjacent over hypotenuse, so rearrange to find the hypotenuse.

    Using cos⁡θ=adjacenthypotenuse\cos\theta = \frac{\text{adjacent}}{\text{hypotenuse}}

    hypotenuse=7cos⁡45∘=9.899495\begin{aligned} \text{hypotenuse} &= \frac{7}{\cos 45^\circ} \\ &= 9.899495 \end{aligned}
  2. Pythagorean theorem

    The two shorter sides and the hypotenuse satisfy Pythagoras, so the opposite side is the square root of the hypotenuse squared minus the adjacent squared.

    Using a2+b2=c2a^2 + b^2 = c^2

    opposite=9.8994952−72=7\begin{aligned} \text{opposite} &= \sqrt{9.899495^2 - 7^2} \\ &= 7 \end{aligned}
  3. Result

    So the triangle has opposite 77, adjacent 77 and hypotenuse 9.8994959.899495, with θ=45∘\theta = 45^\circ.

Worked examples