Trigonometry Calculator

Calculate the opposite side, adjacent side and tangent in a right triangle, from an angle and the hypotenuse.

Opposite side
5.00
Opposite the angle
Adjacent side
8.66
tan(angle)
0.5774
Embed on your website →

How to use the trigonometry calculator

  1. Enter the angle in degrees.
  2. Enter the length of the hypotenuse (the longest side, opposite the right angle).
  3. The calculator shows the opposite side, adjacent side and tangent of the angle automatically.

How the trigonometry is calculated

In a right triangle, the trigonometric functions describe the ratio between the sides and one of the acute angles:

sin(a) = opposite ÷ hypotenuse
cos(a) = adjacent ÷ hypotenuse
tan(a) = opposite ÷ adjacent

The calculator rearranges the sine and cosine formulas to find the sides: opposite = hypotenuse × sin(a) and adjacent = hypotenuse × cos(a).

A common mnemonic for which side belongs to which function is SOH-CAH-TOA: Sine = Opposite ÷ Hypotenuse, Cosine = Adjacent ÷ Hypotenuse, Tangent = Opposite ÷ Adjacent.

Ad space — reserved for future partners

Frequently asked questions

What does SOH-CAH-TOA mean?

SOH-CAH-TOA is a mnemonic for the three basic trigonometric ratios: Sine = Opposite ÷ Hypotenuse (SOH), Cosine = Adjacent ÷ Hypotenuse (CAH), Tangent = Opposite ÷ Adjacent (TOA).

What's the difference between sine, cosine and tangent?

All three describe the ratio between two sides of a right triangle, seen from a given angle. Sine uses the opposite and hypotenuse, cosine uses the adjacent and hypotenuse, while tangent uses the opposite and adjacent (and therefore doesn't need the hypotenuse).

Can I use this for triangles that aren't right triangles?

No, these formulas only apply to right triangles. For arbitrary triangles, you need to use the law of sines or the law of cosines instead.

Embed this calculator on your website

Copy the code below to show this calculator directly on your blog or website — completely free.