Sine, cosine, and tangent connect angles with side ratios. Use the native calculator to explore an angle, then compare it with the exact values in the standard-angle table.
Trigonometric function calculator
Enter an angle in degrees or radians. Use pi/2 for an exact right angle in radians. Values are displayed to 12 significant digits; undefined ratios are labeled clearly.
Exact values for standard angles
These values are exact. Decimal results in the calculator are approximations unless the value is exactly 0, 1, or −1.
| Function | \(0^\circ\) | \(30^\circ\) | \(45^\circ\) | \(60^\circ\) | \(90^\circ\) |
|---|---|---|---|---|---|
| \(\sin\theta\) | \(0\) | \(\frac12\) | \(\frac{\sqrt2}{2}\) | \(\frac{\sqrt3}{2}\) | \(1\) |
| \(\cos\theta\) | \(1\) | \(\frac{\sqrt3}{2}\) | \(\frac{\sqrt2}{2}\) | \(\frac12\) | \(0\) |
| \(\tan\theta\) | \(0\) | \(\frac{\sqrt3}{3}\) | \(1\) | \(\sqrt3\) | Undefined |
| \(\cot\theta\) | Undefined | \(\sqrt3\) | \(1\) | \(\frac{\sqrt3}{3}\) | \(0\) |
| \(\csc\theta\) | Undefined | \(2\) | \(\sqrt2\) | \(\frac{2\sqrt3}{3}\) | \(1\) |
| \(\sec\theta\) | \(1\) | \(\frac{2\sqrt3}{3}\) | \(\sqrt2\) | \(2\) | Undefined |
A ratio is undefined when its denominator is zero. Undefined is not a numerical value equal to infinity.
Remember the sine and cosine values
For 0°, 30°, 45°, 60°, and 90°, write the square roots of 0, 1, 2, 3, and 4, each divided by 2:
\[\sin\theta:\quad\frac{\sqrt0}{2},\ \frac{\sqrt1}{2},\ \frac{\sqrt2}{2},\ \frac{\sqrt3}{2},\ \frac{\sqrt4}{2}\]
After simplifying: \(0,\frac12,\frac{\sqrt2}{2},\frac{\sqrt3}{2},1\). Read the sequence backward for cosine.
Find the other four ratios
\[\tan\theta=\frac{\sin\theta}{\cos\theta}\qquad\cot\theta=\frac{\cos\theta}{\sin\theta}\]
\[\sec\theta=\frac1{\cos\theta}\qquad\csc\theta=\frac1{\sin\theta}\]
Each formula requires a nonzero denominator.
Find tan 30°
\[\tan30^\circ=\frac{1/2}{\sqrt3/2}=\frac1{\sqrt3}=\frac{\sqrt3}{3}\]
Why is tan 90° undefined?
\(\sin90^\circ=1\) and \(\cos90^\circ=0\). Tangent would require \(1\div0\), which is undefined.
Go beyond acute angles
On the unit circle, a point at angle \(\theta\) has coordinates \((\cos\theta,\sin\theta)\). The signs of x and y explain why trigonometric values can be negative in other quadrants.
For example, 150° lies in quadrant II. It has reference angle 30°, so \(\sin150^\circ=1/2\), \(\cos150^\circ=-\sqrt3/2\), and \(\tan150^\circ=-\sqrt3/3\).
For right-triangle side lengths, use the right-triangle calculator.