A trigonometry calculator finds the ratios that connect the angles and sides of a right triangle. Enter an angle in degrees or radians, and this trigonometry calculator returns all six functions at once: sine, cosine, tangent, cosecant, secant and cotangent. For common angles, it shows the exact value too, such as √3/2. Switch to the second mode to work backwards, finding the angle that goes with a known sine, cosine or tangent. It's a handy companion for homework, construction, navigation and any problem involving triangles.
What are the trigonometric functions?
The trigonometric functions relate an angle of a right-angled triangle to ratios of two of its side lengths. They are widely used in sciences related to geometry, such as navigation, solid mechanics and celestial mechanics. They are also among the simplest periodic functions, which repeat at regular intervals, and that makes them useful for studying waves and other repeating patterns.
Trigonometry formulas
- sin θ = opposite ÷ hypotenuse
- cos θ = adjacent ÷ hypotenuse
- tan θ = opposite ÷ adjacent
- csc θ = 1 ÷ sin θ
- sec θ = 1 ÷ cos θ
- cot θ = 1 ÷ tan θ
Many students remember the first three with the word SOH-CAH-TOA, which stands for sine is opposite over hypotenuse, cosine is adjacent over hypotenuse, and tangent is opposite over adjacent.
How to use the trigonometry calculator
- Choose what you want to find: ratios from an angle, or an angle from a ratio.
- Enter your number.
- Choose degrees or radians if you are starting from an angle.
- Press Calculate to see the results.
Trigonometry examples
The sine of 30° is exactly 1/2, or 0.5. The cosine of 60° is also 0.5, and the tangent of 45° is 1. Suppose that a ladder 10 feet long leans against a wall at an angle of 60° to the ground. The height it reaches is 10 × sin 60°, which is about 8.66 feet. Working backwards, if the sine of an angle is 0.5, sin⁻¹ gives you 30°.
Exact values of common angles
| Angle | sin | cos | tan |
|---|---|---|---|
| 0° | 0 | 1 | 0 |
| 30° | 1/2 | √3/2 | √3/3 |
| 45° | √2/2 | √2/2 | 1 |
| 60° | √3/2 | 1/2 | √3 |
| 90° | 1 | 0 | Undefined |
Degrees and radians
Angles can be measured in degrees or radians. A full turn is 360 degrees, or 2π radians, so 180° equals π radians. To convert degrees into radians, multiply by π and divide by 180. Scientific work and calculus normally use radians, while building and everyday problems tend to use degrees. Entering an angle in the wrong unit is one of the most common causes of a surprising result, so check the setting before you calculate.
Why is tan 90° undefined?
Tangent equals sine divided by cosine. At 90°, the cosine is 0, and division by zero has no answer. The same thing happens at 270° and at every other angle that is 180° further on. Secant is undefined at those angles for the same reason. Cosecant and cotangent are undefined at 0° and 180°, where the sine is 0. The calculator displays the word Undefined in those cases.
Inverse trigonometric functions
An inverse function answers the question, “Which angle has this ratio?” Since the regular functions repeat, many angles can share one ratio. The inverse functions therefore give a single principal answer: sin⁻¹ returns an angle from −90° to 90°, cos⁻¹ from 0° to 180°, and tan⁻¹ between −90° and 90°. Sine and cosine can never go above 1 or below −1, so sin⁻¹ and cos⁻¹ only accept values in that range.
A useful identity
For every angle, the square of the sine plus the square of the cosine equals 1. This comes directly from the Pythagorean theorem, and it is a good way to check your work. For 30°, 0.25 plus 0.75 equals exactly 1.
How to solve a right triangle
If you know one side and one acute angle of a right triangle, you can find the other sides. First, label the sides relative to your angle, as opposite, adjacent and hypotenuse. Next, choose the function that uses the side you know and the side you want. Then rearrange the formula. To find the height of a tree from 40 feet away, when the angle up to its top is 35°, multiply 40 by tan 35°, which gives about 28 feet. If you know two sides but no angle, divide them and use an inverse function to get the angle.
Where trigonometry is used
Trigonometry appears in far more places than a math classroom. Surveyors use it to measure land and the heights of buildings. Navigators use it to work out positions and courses. Carpenters and roofers use it to find the pitch of a roof and the length of a rafter. In physics and engineering, sine and cosine describe sound waves, light, alternating current and other repeating motion. Computer graphics rely on the same functions to rotate images on a screen.
Common mistakes
- Using the wrong angle mode. Check degrees or radians first.
- Confusing sin⁻¹ with 1 ÷ sin. The first is an inverse function, and the second is the cosecant.
- Mixing up the opposite and adjacent sides. They depend on which angle you're using.
- Rounding too early. Keep extra digits until the end.
Related math tools
Work through longer sums with the scientific calculator, find a line's steepness with the slope calculator, and change angle units with the angle converter.
What next
Use this often? Add Trigonometry to your Home screen.
Frequently asked questions
How does the trigonometry calculator work?
It calculates the six trigonometric ratios for your angle, or finds the angle that matches a ratio.
What is sin 30 degrees?
The sine of 30° is exactly 1/2, or 0.5.
Why is tan 90 undefined?
Tangent is sine divided by cosine, and the cosine of 90° is 0.
Can I use radians?
Yes. Choose Radians under the angle box.
What is the range of sin⁻¹?
It accepts values from −1 to 1, and returns angles from −90° to 90°.
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.