Sin Cos Tan Calculator

Evaluate and graph sine, cosine, and tangent functions with step-by-step explanations

Drag & drop or click to add images or PDF

Math Input
sin(pi/3)
cos(225°)
tan(7pi/4)
sin(x) + cos(x) at x = pi/4

What are Sin, Cos, and Tan?

The three primary trigonometric functions — sine, cosine, and tangent — relate angles to ratios of sides in a right triangle:

sinθ=oppositehypotenuse,cosθ=adjacenthypotenuse,tanθ=oppositeadjacent=sinθcosθ\sin\theta = \frac{\text{opposite}}{\text{hypotenuse}}, \quad \cos\theta = \frac{\text{adjacent}}{\text{hypotenuse}}, \quad \tan\theta = \frac{\text{opposite}}{\text{adjacent}} = \frac{\sin\theta}{\cos\theta}

On the unit circle (radius 1, centered at origin), for an angle θ\theta measured from the positive xx-axis:

  • cosθ\cos\theta = xx-coordinate of the point
  • sinθ\sin\theta = yy-coordinate of the point
  • tanθ\tan\theta = slope of the terminal ray

Key properties:

  • sin\sin and cos\cos have range [1,1][-1, 1] and period 2π2\pi
  • tan\tan has range (,)(-\infty, \infty) and period π\pi
  • tanθ\tan\theta is undefined when cosθ=0\cos\theta = 0 (at π2+nπ\frac{\pi}{2} + n\pi)

The reciprocal functions are:
cscθ=1sinθ,secθ=1cosθ,cotθ=1tanθ\csc\theta = \frac{1}{\sin\theta}, \quad \sec\theta = \frac{1}{\cos\theta}, \quad \cot\theta = \frac{1}{\tan\theta}

These six functions form the foundation of trigonometry and appear throughout mathematics, physics, engineering, and signal processing.

How to Evaluate Sin, Cos, and Tan

Method 1: Unit Circle (Exact Values)

Memorize key angles and their coordinates on the unit circle:

Anglesin\sincos\costan\tan
00001100
π6\frac{\pi}{6} (30°)12\frac{1}{2}32\frac{\sqrt{3}}{2}13\frac{1}{\sqrt{3}}
π4\frac{\pi}{4} (45°)22\frac{\sqrt{2}}{2}22\frac{\sqrt{2}}{2}11
π3\frac{\pi}{3} (60°)32\frac{\sqrt{3}}{2}12\frac{1}{2}3\sqrt{3}
π2\frac{\pi}{2} (90°)1100undefined

Method 2: Reference Angles

For angles beyond the first quadrant:

  1. Find the reference angle (acute angle to the xx-axis)
  2. Determine the sign from the quadrant (ASTC rule: All, Sin, Tan, Cos)

ASTC Rule — which functions are positive:

  • Quadrant I (0° to 90°): All positive
  • Quadrant II (90° to 180°): Sin positive
  • Quadrant III (180° to 270°): Tan positive
  • Quadrant IV (270° to 360°): Cos positive

Example: sin(150°)\sin(150°) — Reference angle is 180°150°=30°180° - 150° = 30°. In Quadrant II, sine is positive: sin(150°)=+sin(30°)=12\sin(150°) = +\sin(30°) = \frac{1}{2}.

Method 3: Sum and Difference Formulas

For non-standard angles, decompose into known angles:

sin(A±B)=sinAcosB±cosAsinB\sin(A \pm B) = \sin A \cos B \pm \cos A \sin B
cos(A±B)=cosAcosBsinAsinB\cos(A \pm B) = \cos A \cos B \mp \sin A \sin B
tan(A±B)=tanA±tanB1tanAtanB\tan(A \pm B) = \frac{\tan A \pm \tan B}{1 \mp \tan A \tan B}

Example: cos(75°)=cos(45°+30°)=cos45°cos30°sin45°sin30°=624\cos(75°) = \cos(45° + 30°) = \cos 45° \cos 30° - \sin 45° \sin 30° = \frac{\sqrt{6} - \sqrt{2}}{4}

Method 4: Graphing Transformations

For y=Asin(Bx+C)+Dy = A\sin(Bx + C) + D:

  • A|A| = amplitude
  • 2πB\frac{2\pi}{|B|} = period
  • CB-\frac{C}{B} = phase shift
  • DD = vertical shift

Comparison: When to Use Each Method

MethodBest ForKey Indicator
Unit CircleStandard anglesMultiples of 30°, 45°, 60°
Reference AngleAny quadrantAngle > 90° or negative
Sum/DifferenceNon-standard exact valuesAngle = sum of standard angles
CalculatorDecimal approximationsArbitrary angles

Common Mistakes to Avoid

  • Wrong quadrant sign: cos(120°)=12\cos(120°) = -\frac{1}{2}, not +12+\frac{1}{2}. Always check which quadrant determines the sign.
  • Confusing degrees and radians: sin(π)=0\sin(\pi) = 0 (radians), but sin(180)0.80\sin(180) \approx -0.80 if interpreted as 180 radians. Be consistent with units.
  • Forgetting tan is undefined: tan(90°)\tan(90°) and tan(270°)\tan(270°) are undefined (vertical asymptotes), not zero or infinity.
  • Misapplying the sum formula: sin(A+B)sinA+sinB\sin(A + B) \neq \sin A + \sin B. You must use the correct expansion.
  • Reference angle errors: The reference angle is always measured to the xx-axis (not the yy-axis), and is always positive and acute.

Examples

Step 1: 5π6\frac{5\pi}{6} is in Quadrant II (between π2\frac{\pi}{2} and π\pi)
Step 2: Reference angle: π5π6=π6\pi - \frac{5\pi}{6} = \frac{\pi}{6}
Step 3: Sine is positive in Quadrant II: sin5π6=+sinπ6=12\sin\frac{5\pi}{6} = +\sin\frac{\pi}{6} = \frac{1}{2}
Answer: 12\frac{1}{2}

Step 1: 315°315° is in Quadrant IV (between 270°270° and 360°360°)
Step 2: Reference angle: 360°315°=45°360° - 315° = 45°
Step 3: Cosine is positive in Quadrant IV: cos(315°)=+cos(45°)=22\cos(315°) = +\cos(45°) = \frac{\sqrt{2}}{2}
Answer: 22\frac{\sqrt{2}}{2}

Step 1: 2π3\frac{2\pi}{3} is in Quadrant II (between π2\frac{\pi}{2} and π\pi)
Step 2: Reference angle: π2π3=π3\pi - \frac{2\pi}{3} = \frac{\pi}{3}
Step 3: Tangent is negative in Quadrant II: tan2π3=tanπ3=3\tan\frac{2\pi}{3} = -\tan\frac{\pi}{3} = -\sqrt{3}
Answer: 3-\sqrt{3}

Frequently Asked Questions

The unit circle is a circle with radius 1 centered at the origin. For any angle theta, the x-coordinate of the point on the circle is cos(theta) and the y-coordinate is sin(theta). It provides a way to define trig functions for all angles, not just those in right triangles.

ASTC (sometimes remembered as 'All Students Take Calculus') tells you which trig functions are positive in each quadrant. In Quadrant I all are positive, in II only sine, in III only tangent, and in IV only cosine. The other functions are negative.

In a right triangle: sine is opposite over hypotenuse, cosine is adjacent over hypotenuse, and tangent is opposite over adjacent (or equivalently sin/cos). They measure different ratios of the same triangle and have different graphs, periods, and ranges.

Multiply degrees by pi/180 to get radians. Multiply radians by 180/pi to get degrees. Key equivalences: 180 degrees = pi radians, 90 degrees = pi/2, 360 degrees = 2pi.

Related Solvers

Trig equationsInverse trigDerivativeIntegral
Try AI-Math for Free

Get step-by-step solutions to any math problem. Upload a photo or type your question.

Start Solving