Trigonometry Calculator: Sin, Cos, Tan, and Right Triangles
Angles and side ratios meet in one right triangle. A ratio can be read from an angle, and an angle can be read back from a ratio. This trigonometry calculator keeps those two directions in one place.
A known side can complete the other sides when an acute angle is known. A claimed value can be checked against the function and unit that produced it. Use this trigonometry calculator when the question stays with functions and right triangles.
Trigonometry Calculator
Evaluate ratios, reverse them into angles, solve right triangles, or check a claim.
Using the Trigonometry Calculator
This trigonometry calculator opens on function values before it solves sides.
Evaluate Functions
Enter an angle, unit, and function to read the selected value and the other five values.
Inverse Functions
Enter a ratio to return an angle in degrees and radians.
Right Triangle Sides
Enter an acute angle and one known side to get the other sides.
Right Triangle Angles
Enter opposite and adjacent sides to get the hypotenuse and both acute angles.
Check My Answer
Enter a function claim to see the correct value and the likely slip.
Worked Examples
| Starting values | Result | Other values |
|---|---|---|
| Angle 30 degrees, sin | sin 0.5000 | cos 0.8660 and tan 0.5774 |
| arcsin 0.5 | Angle 30.0000 degrees | Radians 0.5236 |
| Angle 35 degrees, hypotenuse 10 | Opposite 5.7358 | Adjacent 8.1915 |
| Opposite 9, adjacent 12 | Hypotenuse 15.0000 | Angle 36.8699 degrees |
| sin 30 degrees, claim 0.8660 | Correct value 0.5000 | Claim matches cos |
Reading the Result
The result line names the value, angle, or side in the unit chosen.
What It Solves
This trigonometry calculator solves function and right-triangle starts. A trig calculator start can evaluate a ratio or reverse a ratio. An angle calculator start can also solve sides from an acute angle. The right triangle ratios stay tied to the chosen acute angle. General triangles without a right angle are outside this page.
How to Calculate
The trigonometry calculator follows the ratio forms shown here.
The Core Ratios
| Form | Ratio | Example |
|---|---|---|
| sin | opposite / hypotenuse | sin 30 degrees = 0.5000 |
| cos | adjacent / hypotenuse | cos 60 degrees = 0.5000 |
| tan | opposite / adjacent | tan 45 degrees = 1.0000 |
| inverse | angle from a ratio | arcsin 0.5 = 30.0000 degrees |
The sohcahtoa calculator pattern names sin, cos, and tan from the chosen angle. A sin cos tan calculator start still needs the angle unit before a value is read.
Function Values
In the trigonometry calculator, one angle gives all six function values.
Special Values
| Angle | sin | cos | tan |
|---|---|---|---|
| 0 degrees | 0.0000 | 1.0000 | 0.0000 |
| 30 degrees | 0.5000 | 0.8660 | 0.5774 |
| 45 degrees | 0.7071 | 0.7071 | 1.0000 |
| 60 degrees | 0.8660 | 0.5000 | 1.7321 |
| 90 degrees | 1.0000 | 0.0000 | undefined |
The unit circle values at 30 degrees are sin 0.5000 and cos 0.8660. The special angle values include tan 45 degrees = 1.0000 and tan 60 degrees = 1.7321.
Inverse Angles
The trigonometry calculator returns one angle for each inverse start.
Principal Ranges
| Start | Angle | Radians | Returned range |
|---|---|---|---|
| arcsin 0.5 | 30.0000 degrees | 0.5236 | -90 to 90 degrees |
| arccos 0.5 | 60.0000 degrees | 1.0472 | 0 to 180 degrees |
| arctan 1 | 45.0000 degrees | 0.7854 | between -90 and 90 degrees |
| arcsin 2 | no real angle | no real angle | outside -1 to 1 |
The inverse trig functions turn a ratio back into an angle. The principal angle is the one returned value inside the stated range.
Solving for Sides
The trigonometry calculator rearranges one ratio when a side is unknown. A missing side is found by rearranging the ratio that contains it. Angle 35 degrees with hypotenuse 10 gives opposite 5.7358 and adjacent 8.1915. Angle 30 degrees with hypotenuse 22 gives opposite 11.0000 and adjacent 19.0526. Angle 70 degrees with adjacent 1.2 gives hypotenuse 3.5086 and opposite 3.2970. Angle 25 degrees with adjacent 16 gives opposite 7.4609 and hypotenuse 17.6540.
Solving for Angles
The trigonometry calculator uses a side ratio when an angle is unknown. A missing angle comes from the ratio that uses the two known sides.
| Known sides | Angle | Other angle |
|---|---|---|
| Opposite 9, adjacent 12 | 36.8699 degrees | 53.1301 degrees |
| Opposite 5, adjacent 12 | 22.6199 degrees | 67.3801 degrees |
| Height 264, distance 50 | 79.2756 degrees | 10.7244 degrees |
Opposite 9 and hypotenuse 15 give ratio 0.6 and angle 36.8699 degrees.
Degrees and Radians
The trigonometry calculator keeps the angle unit beside every value.
Unit Switch
The degree radian conversion turns 30 degrees into 0.5236 radians. The reference angle for 5pi/6 is 30 degrees, with sin 0.5000, cos -0.8660, and tan -0.5774. The quadrant signs make cos and tan negative at 150 degrees while sin stays positive. 450 degrees reduces to 90 degrees, and -30 degrees reduces to 330 degrees.
Check a Claimed Answer
The trigonometry calculator tests a claim against the selected function and unit.
| Start | Claim | Diagnosis | Correct value |
|---|---|---|---|
| sin 30 degrees | 0.8660 | Cos value used | 0.5000 |
| sin 30 degrees | -0.9880 | Radian unit used | 0.5000 |
| cos 60 degrees | 0.8660 | Sin value used | 0.5000 |
| tan 45 degrees | 0.7071 | Sin or cos value used | 1.0000 |
A claimed answer check compares the claim with the selected function before it names the slip. Each row gives the failed method beside the correct value.
Right Triangle Checks
The trigonometry calculator keeps side checks tied to the angle that named the sides.
Side and Angle Checks
A trigonometric calculator label still needs the same side naming before any check. Opposite 9 and adjacent 12 give hypotenuse 15.0000. Angle 35 degrees with hypotenuse 10 gives sides 5.7358, 8.1915, and 10, with side sum 23.9273. Readers who want a boundary length check for those three sides can open the boundary page for the distance around the triangle.
Why Answers Can Differ
Two answers can differ when one answer treats 30 as degrees and the other treats 30 as radians. Sin 30 degrees is 0.5000, while sin 30 rad is -0.9880. Arcsin 0.5 returns 30.0000 degrees, while 150 degrees also has sine 0.5000. Using 0.866 for cos 30 degrees gives 19.0520 with hypotenuse 22, while full precision gives 19.0526.
Questions Students Ask
A right triangle has a 30 degree angle and a hypotenuse of 22. What is the side next to the angle?
The adjacent side is 19.0526, or 19.1 to the nearest tenth.
The side across from an angle is 9 and the hypotenuse is 15. What is the angle?
The ratio is 0.6, so the angle is 36.8699 degrees.
A building is 270 feet tall and its shadow is 50 feet long. If eyes are 6 feet above ground, what is the upward angle?
The height above eye level is 264 feet, giving an upward angle of 79.2756 degrees, or 79 degrees to the nearest degree.
For an acute angle, sin is 12/13. What are cos and tan?
Cos is 5/13 = 0.3846, and tan is 12/5 = 2.4000.
What are sin and cos for 450 degrees and for -30 degrees?
450 degrees gives 90 degrees, with sin 1 and cos 0. -30 degrees gives 330 degrees, with sin -0.5000 and cos 0.8660.
For 5pi/6, what are sin, cos, and tan?
5pi/6 is 150 degrees, with a control angle of 30 degrees. Sin is 0.5000, cos is -0.8660, and tan is -0.5774.
Frequently Asked Questions
Final Thought
Name the angle, keep the unit, and the trigonometry calculator gives the value, side, or angle. Name the sides from the angle you are using, since opposite and adjacent only make sense next to that angle. Choose the ratio that connects the sides you know with the side or angle you need, and keep the angle unit set the same way from start to finish. If a claimed value fails its check, compare the function and unit behind it before you change the sides, because the slip is often in the setup rather than the arithmetic.
