Interactive tool

Unit circle explorer

Move a point around the unit circle and watch its coordinates become cosine and sine, with exact values at the special angles.

Drag the point around the circle, or use the slider, to set the angle θ\theta. The horizontal leg of the triangle is cos⁡θ\cos\theta and the vertical leg is sin⁡θ\sin\theta. The two graphs show the same numbers as heights, so the point traces one full wave of each as it goes around once.

150°

You can also drag the point around the circle or along either graph

Angle unit
1−11−1xyIIIIIIIVθcos θsin θ
090°180°270°360°1−1
090°180°270°360°1−1
Angle in degrees
150°
Angle in radians
5π/6≈ 2.618
Terminal side
Quadrant II
Reference angle
30°π/6
Point (cos θ, sin θ)
(−√3/2, 1/2)
cos θ
−√3/2≈ −0.8660
sin θ
1/2= 0.5
tan θ
−√3/3≈ −0.5774

Signs in each quadrant

FunctionQuadrant 1Quadrant 2Quadrant 3Quadrant 4
sin θpositivepositivenegativenegative
cos θpositivenegativenegativepositive
tan θpositivenegativepositivenegative

Things to try

  • Turn on snapping and step through the special angles with the arrow keys. The same few sizes, 12\frac{1}{2}, 22\frac{\sqrt{2}}{2} and 32\frac{\sqrt{3}}{2}, come back in every quadrant with different signs.
  • Compare 30∘30^\circ, 150∘150^\circ, 210∘210^\circ and 330∘330^\circ. All four have the reference angle 30∘30^\circ, so their sines and cosines have the same size and differ only in sign.
  • Move to 90∘90^\circ and then to 270∘270^\circ. The point sits on the yy axis, the cosine is 00 and the tangent is undefined. One degree to either side the tangent is large, with opposite signs on the two sides.
  • Watch the cosine graph while the point moves through quadrant II. The horizontal leg points left, so the cosine is negative even though the point is still in the upper half of the circle.
  • Switch to radians and find π2\frac{\pi}{2}, π\pi and 3π2\frac{3\pi}{2} on the graphs. The sine wave crosses zero at 00, π\pi and 2π2\pi, exactly where the point is on the xx axis.
  • Pick an angle away from the special ones, square the readouts for cos⁡θ\cos\theta and sin⁡θ\sin\theta and add them. The total is 11, up to rounding.

What you are seeing

Sine, cosine and tangent

Put the angle θ\theta in standard position, with its vertex at the origin and its initial side along the positive xx axis. Its terminal side meets the unit circle x2+y2=1x^2 + y^2 = 1 at exactly one point, and the coordinates of that point are the cosine and the sine of θ\theta.

P=(cos⁡θ,sin⁡θ)P = (\cos\theta, \sin\theta)

The radius from the origin to PP has length 11. A vertical line from PP down or up to the xx axis makes a right triangle with hypotenuse 11, horizontal leg cos⁡θ\cos\theta and vertical leg sin⁡θ\sin\theta. The legs are signed, so a leg that points left or down counts as negative.

Since PP is on the circle, its coordinates satisfy the Pythagorean identity at every angle.

cos⁡2θ+sin⁡2θ=1\cos^2\theta + \sin^2\theta = 1

The tangent is the slope of the radius.

tan⁡θ=sin⁡θcos⁡θ,cos⁡θ≠0\tan\theta = \frac{\sin\theta}{\cos\theta}, \qquad \cos\theta \neq 0

It is undefined at 90∘90^\circ and 270∘270^\circ, where the radius is vertical and the cosine is 00.

Reference angles and signs

The reference angle is the acute angle between the terminal side and the xx axis. It fixes the size of each value, and the quadrant fixes the sign. The dashed arc in the picture marks it.

QuadrantAngleReference anglePositive there
I0∘<θ<90∘0^\circ < \theta < 90^\circθ\thetaall three
II90∘<θ<180∘90^\circ < \theta < 180^\circ180∘−θ180^\circ - \thetasine
III180∘<θ<270∘180^\circ < \theta < 270^\circθ−180∘\theta - 180^\circtangent
IV270∘<θ<360∘270^\circ < \theta < 360^\circ360∘−θ360^\circ - \thetacosine

For example, the angle 150∘150^\circ is in quadrant II with reference angle 30∘30^\circ. Cosine is negative there and sine is positive.

cos⁡150∘=−cos⁡30∘=−32,sin⁡150∘=sin⁡30∘=12\begin{aligned} \cos 150^\circ &= -\cos 30^\circ = -\frac{\sqrt{3}}{2}, \\[0.8em] \sin 150^\circ &= \sin 30^\circ = \frac{1}{2} \end{aligned}

An angle whose terminal side lies on an axis, such as 90∘90^\circ or 180∘180^\circ, is quadrantal. It is in no quadrant and has no reference angle, so the explorer shows none. Its values come straight from the points (1,0)(1, 0), (0,1)(0, 1), (−1,0)(-1, 0) and (0,−1)(0, -1).

Exact values

The special angles are the multiples of 30∘30^\circ and 45∘45^\circ. Away from the axes their reference angles are 30∘30^\circ, 45∘45^\circ and 60∘60^\circ, and the sizes come from the two special right triangles.

Angle0∘0^\circ30∘30^\circ45∘45^\circ60∘60^\circ90∘90^\circ
Sine0012\frac{1}{2}22\frac{\sqrt{2}}{2}32\frac{\sqrt{3}}{2}11
Cosine1132\frac{\sqrt{3}}{2}22\frac{\sqrt{2}}{2}12\frac{1}{2}00
Tangent0033\frac{\sqrt{3}}{3}113\sqrt{3}undefined

At the special angles the explorer gives these exact values with the right sign, along with their decimals. At every other angle it shows decimals rounded to four places.

Radians and coterminal angles

An angle of θ\theta radians cuts off an arc of length θ\theta on the unit circle. A full turn of 360∘360^\circ goes once around the circle, an arc of length 2π2\pi, so half a turn gives

180∘=π radians.180^\circ = \pi \text{ radians}.

The explorer writes radians as a multiple of π\pi when the fraction has a denominator of 1212 or less, such as 5π6\frac{5\pi}{6} for 150∘150^\circ or π9\frac{\pi}{9} for 20∘20^\circ. Other angles appear as rounded decimals with the exact multiple of π\pi alongside, so 37∘37^\circ shows as 0.6460.646 next to its exact value 37π180\frac{37\pi}{180}.

Angles that differ by whole turns, such as 30∘30^\circ, 390∘390^\circ and −330∘-330^\circ, are coterminal. They end at the same point of the circle, so they have the same sine, cosine and tangent.

sin⁡(θ+2πk)=sin⁡θ,cos⁡(θ+2πk)=cos⁡θfor every integer k\begin{gathered} \sin(\theta + 2\pi k) = \sin\theta, \\[0.4em] \cos(\theta + 2\pi k) = \cos\theta \\[0.4em] \text{for every integer } k \end{gathered}

That is why the slider only needs one turn, from 0∘0^\circ up to 359∘359^\circ.

The graphs

As θ\theta runs from 00 to 2π2\pi, the height of PP traces one period of y=sin⁡θy = \sin\theta and its horizontal position traces one period of y=cos⁡θy = \cos\theta. The colored bar on each graph is the matching leg of the triangle, stood on end. After 2π2\pi the point starts the same trip again, which is why both graphs repeat with period 2π2\pi.

These ideas are built up in the lessons Special Right Triangles, General Angles and Reference Angles, The Unit Circle and Graphs of Sine and Cosine. Radian measure and coterminal angles come from Angles, Radians, and Coterminal Angles. The formulas are collected on the precalculus reference sheet, and every lesson is listed on the Precalculus course page. For test preparation, the SAT Math lessons Degrees, Radians and the Unit Circle and Sine, Cosine and Tangent in Right Triangles use the same ideas.