Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools

Trigonometric Functions Calculator

How to use
  1. Type the angle in Angle θ. For degrees add deg, as in 150deg; for radians type a number or a multiple of π\pi, as in 5pi/6. Learn more about entering the angle
  2. Read the angle in both units, its quadrant and its reference angle.
  3. Read the six functions. Values at the familiar angles are written exactly, such as 32\dfrac{\sqrt{3}}{2}; others as decimals. Learn more about reading the answer
  4. On the unit circle the navy line is the terminal side of the angle. The blue leg is the cosine, the amber leg is the sine.
  5. How it was found explains the signs from the quadrant and the sizes from the reference angle.

Trigonometric functions of an angle
The angle
θ=150∘=5π6 rad\displaystyle \theta = 150^\circ = \frac{5\pi}{6} \text{ rad}
Quadrant and reference angle
quadrant II,θref=30∘=π6\displaystyle \text{quadrant II}, \qquad \theta_{\text{ref}} = 30^\circ = \frac{\pi}{6}
Sine and cosecant
sin⁡θ=12,csc⁡θ=2\displaystyle \sin\theta = \frac{1}{2}, \qquad \csc\theta = 2
Cosine and secant
cos⁡θ=−32,sec⁡θ=−233\displaystyle \cos\theta = -\frac{\sqrt{3}}{2}, \qquad \sec\theta = -\frac{2\sqrt{3}}{3}
Tangent and cotangent
tan⁡θ=−33,cot⁡θ=−3\displaystyle \tan\theta = -\frac{\sqrt{3}}{3}, \qquad \cot\theta = -\sqrt{3}
How it was found

On the unit circle the angle ends at the point (cos⁡θ, sin⁡θ)=(−32, 12)(\cos\theta,\ \sin\theta) = (-\frac{\sqrt{3}}{2},\ \frac{1}{2}): the xx-coordinate is the cosine (blue), the yy-coordinate the sine (amber).

The point is in quadrant II, where xx is negative and yy is positive. So only sine and cosecant are positive.

The reference angle is the acute angle between the terminal side and the xx-axis: 30∘30^\circ. The functions of θ\theta have the same sizes as those of 30∘30^\circ; the quadrant supplies the signs.

sin⁡30∘=12\sin 30^\circ = \frac{1}{2} and cos⁡30∘=32\cos 30^\circ = \frac{\sqrt{3}}{2}, so sin⁡θ=12\sin\theta = \frac{1}{2} and cos⁡θ=−32\cos\theta = -\frac{\sqrt{3}}{2}.

The other four come from these two: tan⁡θ=sin⁡θcos⁡θ\tan\theta = \dfrac{\sin\theta}{\cos\theta}, cot⁡θ=cos⁡θsin⁡θ\cot\theta = \dfrac{\cos\theta}{\sin\theta}, sec⁡θ=1cos⁡θ\sec\theta = \dfrac{1}{\cos\theta}, csc⁡θ=1sin⁡θ\csc\theta = \dfrac{1}{\sin\theta}.

Drawn by the tool
unit circle\text{unit circle}read-only
unit circle\text{unit circle}


Finding the six functions

DemoThe six functions of an angle
Step 0 of 4
    Type an angle in Angle θ and the calculator gives sin⁡θ\sin\theta, cos⁡θ\cos\theta, tan⁡θ\tan\theta, csc⁡θ\csc\theta, sec⁡θ\sec\theta and cot⁡θ\cot\theta, together with the quadrant and the reference angle.

    The angle can be typed three ways:

  • in degrees, with deg after the number: 150deg, -45deg, 750deg;
  • in radians as a multiple of π\pi: pi/3, 5pi/6, -pi/4;
  • in radians as a plain number: 2, 0.5.

  • A number with no unit is read as radians. Negative angles and angles of more than one full turn are accepted.

Reading the answer

  • The angle is shown in degrees and in radians, whichever way you typed it.
  • Quadrant and reference angle says where the terminal side lies, and gives the acute angle it makes with the xx-axis. An angle that ends on an axis belongs to no quadrant.
  • Sine and cosecant, Cosine and secant, Tangent and cotangent are the six values, each function beside its reciprocal. A function that would divide by zero is marked undefined.

  • For the angles of the 30∘30^\circ and 45∘45^\circ families the values are written exactly, with square roots. For any other angle they are rounded to four decimals.

    On the picture, the point where the navy line meets the circle has coordinates (cos⁡θ, sin⁡θ)(\cos\theta,\ \sin\theta).

The six functions on the unit circle

    Place the angle θ\theta with its vertex at the origin, starting along the positive xx-axis and turning counterclockwise. Its terminal side meets the unit circle at a point (x, y)(x,\ y). Then

  • cos⁡θ=x\cos\theta = x and sin⁡θ=y\sin\theta = y,
  • tan⁡θ=yx\tan\theta = \dfrac{y}{x} and cot⁡θ=xy\cot\theta = \dfrac{x}{y},
  • sec⁡θ=1x\sec\theta = \dfrac{1}{x} and csc⁡θ=1y\csc\theta = \dfrac{1}{y}.

  • This definition works for every angle, not only the acute angles of a right triangle. It is also why sine and cosine never leave the interval from −1-1 to 11: they are coordinates of a point on a circle of radius 11.
The angle ends at the point (cos⁡θ,sin⁡θ)(\cos\theta, \sin\theta): blue leg cosine, amber leg sine.

Signs by quadrant

    The sign of each function follows from the signs of xx and yy in the quadrant where the angle ends.

  • Quadrant I (x>0x > 0, y>0y > 0): all six are positive.
  • Quadrant II (x<0x < 0, y>0y > 0): sine and cosecant are positive.
  • Quadrant III (x<0x < 0, y<0y < 0): tangent and cotangent are positive.
  • Quadrant IV (x>0x > 0, y<0y < 0): cosine and secant are positive.

  • A common way to remember the order is "All Students Take Calculus": All, Sine, Tangent, Cosine, going counterclockwise from quadrant I.

    A function and its reciprocal always have the same sign, so it is enough to know sine, cosine and tangent.
Which functions are positive in each quadrant.

Reference angles

    The reference angle of θ\theta is the acute angle between its terminal side and the xx-axis. For an angle between 0∘0^\circ and 360∘360^\circ:

  • quadrant I: θ\theta itself;
  • quadrant II: 180∘−θ180^\circ - \theta;
  • quadrant III: θ−180∘\theta - 180^\circ;
  • quadrant IV: 360∘−θ360^\circ - \theta.

  • The functions of θ\theta have the same sizes as the functions of its reference angle. Only the signs can differ, and the quadrant decides them.

    Example: 150∘150^\circ is in quadrant II with reference angle 30∘30^\circ. Since sin⁡30∘=12\sin 30^\circ = \dfrac{1}{2} and cos⁡30∘=32\cos 30^\circ = \dfrac{\sqrt{3}}{2}, and in quadrant II only the sine is positive, sin⁡150∘=12\sin 150^\circ = \dfrac{1}{2} and cos⁡150∘=−32\cos 150^\circ = -\dfrac{\sqrt{3}}{2}.
150∘150^\circ and its reference angle 30∘30^\circ: the same heights, mirrored.

Exact values at the familiar angles

    Three acute angles have values worth knowing by heart:

  • 30∘=π630^\circ = \dfrac{\pi}{6}: sin⁡=12\sin = \dfrac{1}{2}, cos⁡=32\cos = \dfrac{\sqrt{3}}{2}, tan⁡=33\tan = \dfrac{\sqrt{3}}{3}
  • 45∘=π445^\circ = \dfrac{\pi}{4}: sin⁡=22\sin = \dfrac{\sqrt{2}}{2}, cos⁡=22\cos = \dfrac{\sqrt{2}}{2}, tan⁡=1\tan = 1
  • 60∘=π360^\circ = \dfrac{\pi}{3}: sin⁡=32\sin = \dfrac{\sqrt{3}}{2}, cos⁡=12\cos = \dfrac{1}{2}, tan⁡=3\tan = \sqrt{3}

  • They come from two triangles: half of an equilateral triangle, and half of a square. With reference angles they give exact values at every multiple of 30∘30^\circ and 45∘45^\circ around the circle.

    The calculator recognises these and writes them exactly. For other angles there is usually no simple exact form, and it gives decimals.

Angles on the axes

DemoAxes, negative angles and extra turns
Step 0 of 4
    At 0∘0^\circ, 90∘90^\circ, 180∘180^\circ and 270∘270^\circ the terminal side lies along an axis, so one coordinate of the point is 00 and the other is 11 or −1-1.

  • 0∘0^\circ: point (1, 0)(1,\ 0). Cosecant and cotangent are undefined.
  • 90∘90^\circ: point (0, 1)(0,\ 1). Tangent and secant are undefined.
  • 180∘180^\circ: point (−1, 0)(-1,\ 0). Cosecant and cotangent are undefined.
  • 270∘270^\circ: point (0, −1)(0,\ -1). Tangent and secant are undefined.

  • "Undefined" here means a division by zero. On the graphs of those functions these angles are the vertical asymptotes.
The four angles that end on an axis.

Negative angles and angles past one turn

A negative angle turns clockwise. −45∘-45^\circ ends where 315∘315^\circ does, in quadrant IV.

Adding or subtracting a full turn, 360∘360^\circ or 2π2\pi, does not change where an angle ends. Angles that end in the same place are called coterminal, and all six functions agree on them. 750∘=2⋅360∘+30∘750^\circ = 2 \cdot 360^\circ + 30^\circ, so it has the values of 30∘30^\circ.

To convert between the units, use 180∘=π180^\circ = \pi radians: multiply degrees by π180\dfrac{\pi}{180} to get radians, and radians by 180π\dfrac{180}{\pi} to get degrees.

Common mistakes

  • Using the wrong unit. sin⁡(30)\sin(30) with 3030 read as radians is about −0.988-0.988, not 12\dfrac{1}{2}. In this calculator, type 30deg for degrees.
  • Forgetting the sign. The reference angle gives the size only; the quadrant gives the sign.
  • Measuring the reference angle to the yy-axis. It is always measured to the xx-axis.
  • Swapping sine and cosine. Cosine is the xx-coordinate, sine the yy-coordinate.
  • Writing 00 for undefined. tan⁡90∘\tan 90^\circ is not 00; it does not exist.
  • Confusing csc⁡\csc with cos⁡\cos. Cosecant is the reciprocal of sine; secant is the reciprocal of cosine.