Six trig functions of any angle in degrees, radians with π or gradians, exact square-root values for multiples of 15°, plus arcsin, arccos, arctan and arccot with every solution in one turn.
Trig Calculator - Sin, Cos, Tan and Inverse Trig Values
Six trig functions of any angle in degrees, radians with π or gradians, exact square-root values for multiples of 15°, plus arcsin, arccos, arctan and arccot with every solution in one turn.
Parameters
Enter data for calculations
Sin, cos, tan and the other three, for any angle you type
Type 210 and the trig calculator answers sin 210° = -1/2, cos 210° = -√3/2 ≈ -0.866025 and tan 210° = √3/3 ≈ 0.57735, then adds cot, sec and csc, the quadrant (III), the reference angle (30°) and the same angle in radians (7π/6) and gradians. The angle can be negative, bigger than 360°, a decimal, or a radian measure written with π such as 5π/4. A second mode runs the other way: you enter sin x = 0.3 or cos x = -1/2 and get the principal value of arcsin, arccos, arctan or arccot together with every solution between 0° and 360°.
Exact values with square roots appear whenever the reference angle is a multiple of 15°, which covers every angle on a standard unit circle chart plus 15°, 75° and their relatives. Everything else comes as a decimal rounded to 4, 6, 8 or 10 places, your choice.
Getting an answer out of the form in four moves
- What do you want to find? - "Values of the functions for an angle" is the usual direction: angle in, six values out. "Angle from a value" is the inverse direction for equations like sin x = 0.5.
- Angle and angle unit - type 30, -45, 37.5 or 1,080 and pick degrees, radians or gradians. Anything written with π (π/6, 2pi/3, -3π/4) is always read as radians, whatever the unit list says, and the result tells you so. Use a period for decimals; a comma is only accepted between thousands.
- Function and value - only in the inverse mode. Pick sin, cos, tan or cot and type the value as a decimal (0.3), a fraction (1/2) or a root (√3/2, -√2/2, 2√3/3, √(3/4); "sqrt" works in place of √).
- Precision - 6 decimal places unless you change it. Four is what most printed trig tables use; 8 or 10 is better when the result goes into a longer calculation.
What happens between typing 210 and seeing -1/2
The calculator does what a trig teacher asks you to do on paper with the unit circle, only without the rounding. Here is the route for 210°, the angle from the opening paragraph.
Bring the angle into one turn. 210° is already between 0° and 360°. An angle like 1,000° would first lose two full turns and become its coterminal angle 280°; -45° becomes 315°.
Find the quadrant. Between 180° and 270° the terminal side points down and to the left, so 210° sits in Quadrant III, where x and y are both negative.
Measure the reference angle. In Quadrant III it is the angle minus 180°: 210° - 180° = 30°, the acute angle between the terminal side and the x-axis.
Read the values of the reference angle. sin 30° = 1/2, cos 30° = √3/2, tan 30° = √3/3. Because 30° is a multiple of 15°, these stay exact.
Attach the signs. In Quadrant III only tangent and cotangent are positive ("All Students Take Calculus": All, Sine, Tangent, Cosine for quadrants I to IV). So sin 210° = -1/2, cos 210° = -√3/2 and tan 210° = √3/3. The reciprocals follow: csc = -2, sec = -2√3/3 ≈ -1.154701, cot = √3 ≈ 1.732051.
The result also prints a small table with the four angles that share the reference angle (here 30°, 150°, 210° and 330°), with your angle highlighted. It is the quickest way to see why sin 150° and sin 30° match while their cosines have opposite signs.
Degrees and gradians are handled as exact fractions, so 180° gives sin = 0, not the 1.2 × 10-16 a spreadsheet prints, and 90° gives tan = undefined, not a huge number. A decimal radian such as 1 or 30 is reduced against π held to 50 digits before the sine is taken, which keeps large inputs accurate.
Unit circle values every 30° and 45°, exact and as decimals
The table lists the angles a unit circle chart usually shows, in degrees and radians, with the exact sin, cos and tan the calculator returns and the decimal it prints at 6 places. "Undefined" marks the two angles where cosine is zero, so tangent has no value.
| Degrees | Radians | sin | cos | tan |
|---|---|---|---|---|
| 0° | 0 | 0 | 1 | 0 |
| 30° | π/6 | 1/2 = 0.5 | √3/2 ≈ 0.866025 | √3/3 ≈ 0.57735 |
| 45° | π/4 | √2/2 ≈ 0.707107 | √2/2 ≈ 0.707107 | 1 |
| 60° | π/3 | √3/2 ≈ 0.866025 | 1/2 = 0.5 | √3 ≈ 1.732051 |
| 90° | π/2 | 1 | 0 | undefined |
| 120° | 2π/3 | √3/2 ≈ 0.866025 | -1/2 = -0.5 | -√3 ≈ -1.732051 |
| 135° | 3π/4 | √2/2 ≈ 0.707107 | -√2/2 ≈ -0.707107 | -1 |
| 150° | 5π/6 | 1/2 = 0.5 | -√3/2 ≈ -0.866025 | -√3/3 ≈ -0.57735 |
| 180° | π | 0 | -1 | 0 |
| 210° | 7π/6 | -1/2 = -0.5 | -√3/2 ≈ -0.866025 | √3/3 ≈ 0.57735 |
| 225° | 5π/4 | -√2/2 ≈ -0.707107 | -√2/2 ≈ -0.707107 | 1 |
| 270° | 3π/2 | -1 | 0 | undefined |
| 300° | 5π/3 | -√3/2 ≈ -0.866025 | 1/2 = 0.5 | -√3 ≈ -1.732051 |
| 315° | 7π/4 | -√2/2 ≈ -0.707107 | √2/2 ≈ 0.707107 | -1 |
| 330° | 11π/6 | -1/2 = -0.5 | √3/2 ≈ 0.866025 | -√3/3 ≈ -0.57735 |
The two odd ones out on that list are 15° and 75°, which most charts skip. They come from the angle-difference identity applied to 45° - 30°: sin 75° = (√6 + √2)/4 ≈ 0.965926, cos 75° = (√6 - √2)/4 ≈ 0.258819 and tan 75° = 2 + √3 ≈ 3.732051. The calculator returns those forms for every angle whose reference angle is 15° or 75°, such as 105°, 165° or 255°.
Inverse trig: one principal value, two angles per turn
An inverse function gives back only one angle, the principal value, but an equation such as sin x = 0.3 has two solutions in every full turn. The result shows both. This comparison sets the four inverse functions side by side, with the range of the principal value and a worked case for each, computed with the calculator at 6 places.
| Function | Accepts | Principal value | Example | Solutions in 0° to 360° |
|---|---|---|---|---|
| arcsin | -1 to 1 | -90° to 90° | sin x = 0.3: ≈ 17.457603° | 17.457603° and 162.542397° |
| arccos | -1 to 1 | 0° to 180° | cos x = -1/2: 120° (2π/3) | 120° and 240° |
| arctan | any number | between -90° and 90° | tan x = 2: ≈ 63.434949° | 63.434949° and 243.434949° |
| arccot | any number | between 0° and 180° | cot x = -√3: 150° (5π/6) | 150° and 330° |
For sine and cosine the second solution is a reflection (180° minus the angle for sine, 360° minus it for cosine). For tangent and cotangent it is simply half a turn further, because both repeat every 180°. The general solution in the result uses k for any integer: tan x = 2 gives x = 63.434949° + k · 180°, while cos x = 0.8 gives x = 36.869898° + k · 360° or x = -36.869898° + k · 360°.
Arccot needs a word of warning. This calculator, like many US calculus textbooks, keeps its principal value between 0° and 180°, so arccot(-√3) is 150°. The NIST Digital Library of Mathematical Functions and some software define arccot x as arctan(1/x) instead, which turns the same input into -30°. Both angles have a cotangent of -√3; they are simply different choices of branch.
Seven trig problems typed in, with the full answers
Each line below is a real run of the calculator at the default 6 decimal places. They are picked to show one behavior each: a negative angle, a large one, a radian decimal, a gradian, an angle with no exact form, and two inverse cases.
| Input | Result | Worth noticing |
|---|---|---|
| -45° | sin = -√2/2 ≈ -0.707107, cos = √2/2, tan = -1 | Quadrant IV, coterminal with 315°, radians -π/4 |
| 1,000° | sin ≈ -0.984808, cos ≈ 0.173648, tan ≈ -5.671282 | coterminal with 280°, reference angle 80°, radians 50π/9 |
| 1 rad | sin ≈ 0.841471, cos ≈ 0.540302, tan ≈ 1.557408 | 1 rad = 57.29578°, Quadrant I |
| 100 grad | sin = 1, cos = 0, tan undefined | 100 grad is exactly 90°, a quadrantal angle |
| 37.5° | sin ≈ 0.608761, cos ≈ 0.793353, tan ≈ 0.767327 | not a multiple of 15°, so decimals only; radians still exact: 5π/24 |
| sin x = -√2/2 | arcsin = -45° (-π/4) | solutions in one turn: 225° and 315° |
| cos x = 0.8 | arccos ≈ 36.869898° | solutions 36.869898° and 323.130102°; sin of the first is 0.6, the 3-4-5 triangle |
Five slips that give a wrong trig value
The calculator was in the wrong mode. This is the classic. sin 30 should be 0.5, but a scientific calculator left in RAD mode returns -0.988032, because it took 30 radians (about 1,718.87°). Here the unit list does the same job as the DEG/RAD/GRAD key, so check it before you trust the first line of the result.
The sign came from the wrong quadrant. The reference angle gives the size of the value, never the sign. cos 120° and cos 60° share the number 0.5, but 120° is in Quadrant II, where cosine is negative, so cos 120° = -1/2.
cos-1 was read as 1/cos. The superscript means the inverse function, arccos, not the reciprocal. The reciprocal of cos is sec: sec 60° = 2, a ratio, while arccos(0.5) = 60°, an angle. If your textbook writes cos-1 x, use the inverse mode.
Only one solution was written down. The principal value is the first answer, not the only one. sin x = 0.3 also holds at 162.542397°, and a homework answer that asks for all solutions in [0°, 360°) needs both.
A value outside the range went in. Sine and cosine never leave the interval from -1 to 1, so cos x = 1.2 has no real solution. The calculator says so instead of returning an error code. Tangent and cotangent accept any number.
Short trig answers, with the numbers
Related tools
Triangle Angle Calculator
All three angles of a triangle from its sides - See the calculator
Angle Unit Converter
Degrees, radians, gradians, minutes and seconds in one place - See the calculator
Pythagorean Theorem Calculator
The missing side of a right triangle, the identity behind sin² + cos² = 1 - See the calculator
Azimuth Calculator
Directions from coordinates, where arctan meets the compass - See the calculator
Coordinate Calculator
Distance and midpoint between two points on the x, y plane - See the calculator
Derivative Calculator
Derivatives of sin, cos, tan and their combinations, with steps - See the calculator
Definite Integral Calculator
Areas under trig curves between two limits - See the calculator