Sine, Cosine & Tangent of an Angle Calculator

Sine, Cosine & Tangent of an Angle Calculator

Growing AI Skill PRO

Enter Calculation

Formula

sin⁡θ,cos⁡θ,tan⁡θ=sin⁡θcos⁡θwhereθ=Angle (deg)×π180\begin{gathered} \sin\theta,\quad \cos\theta,\quad \tan\theta = \frac{\sin\theta}{\cos\theta} \\[1.5em] \text{where}\quad \theta = \text{Angle (deg)} \times \frac{\pi}{180} \end{gathered}
Usage stats

Advertisement

Results

sin(θ)
0.5
cos(θ) 0.866025
tan(θ) 0.57735

Report an error on this page

What this calculator does

This tool computes the three primary trigonometric functions — sine, cosine and tangent — for any angle θ you enter. You can supply the angle in degrees (the everyday unit, where a full turn is 360°) or in radians (the natural mathematical unit, where a full turn is \(2\pi \approx 6.2832\)). It is useful for trigonometry homework, engineering, physics, surveying and any work that involves triangles, waves or rotations.

How to use it

Type the angle into the box, choose whether it is measured in degrees or radians, and read the results. The hero box shows \(\sin(\theta)\); the table below shows \(\cos(\theta)\) and \(\tan(\theta)\). When \(\cos(\theta)\) is zero — for example at 90° or 270° — the tangent is reported as undefined, because dividing by zero has no value.

Graphs of sine, cosine and tangent functions over one period
The sine, cosine and tangent functions plotted across angle values.

The formula explained

For a right triangle, sine is the ratio of the opposite side to the hypotenuse, cosine is the adjacent side over the hypotenuse, and tangent is the opposite over the adjacent. These extend to any angle through the unit circle, where the point at angle θ has coordinates \((\cos\theta, \sin\theta)\). The tangent is their quotient: $$\tan(\theta) = \frac{\sin(\theta)}{\cos(\theta)}$$ Internally, degree inputs are converted to radians with $$\theta_{\text{rad}} = \theta_{\text{deg}} \times \frac{\pi}{180}$$ before evaluation.

Advertisement

Worked example

Take θ = 30°. Converting, $$30 \times \frac{\pi}{180} = 0.5236 \text{ rad}$$ Then \(\sin(30°) = 0.5\), \(\cos(30°) \approx 0.866025\), and $$\tan(30°) = \frac{0.5}{0.866025} \approx 0.577350$$ The calculator returns exactly these values.

Unit circle showing angle theta with right triangle for sine, cosine and tangent
On the unit circle, \(\cos(\theta)\) is the horizontal coordinate and \(\sin(\theta)\) the vertical, with \(\tan(\theta)\) their ratio.

Common Angle Values: Sine, Cosine and Tangent

These are the standard "special angles" whose sine, cosine and tangent have exact closed forms. Decimals are rounded to six places. Tangent is sin θ ÷ cos θ, so it is undefined wherever cos θ = 0 (at 90° and 270°).

Angle (degrees) Angle (radians) sin θ (exact) sin θ (decimal) cos θ (exact) cos θ (decimal) tan θ (exact) tan θ (decimal)
0° 0 0 0 1 1 0 0
30° π/6 1/2 0.500000 √3/2 0.866025 √3/3 0.577350
45° π/4 √2/2 0.707107 √2/2 0.707107 1 1
60° π/3 √3/2 0.866025 1/2 0.500000 √3 1.732051
90° π/2 1 1 0 0 undefined undefined
120° 2π/3 √3/2 0.866025 −1/2 −0.500000 −√3 −1.732051
135° 3π/4 √2/2 0.707107 −√2/2 −0.707107 −1 −1
150° 5π/6 1/2 0.500000 −√3/2 −0.866025 −√3/3 −0.577350
180° π 0 0 −1 −1 0 0
270° 3π/2 −1 −1 0 0 undefined undefined
360° 2π 0 0 1 1 0 0

To convert degrees to radians, multiply by \(\pi/180\). For example, \(120^\circ \times \pi/180 = 2\pi/3\).

Advertisement

Interpreting the Results: Quadrants and Signs

Value ranges

  • sin θ and cos θ always lie in the closed interval [−1, 1].
  • tan θ = sin θ / cos θ can be any real number, positive or negative.
  • Near 90° and 270° (π/2 and 3π/2), cos θ approaches 0, so tan θ grows without bound (towards +∞ or −∞) and is undefined exactly at those angles. A calculator may show a very large number for angles extremely close to them because of rounding.

Signs by quadrant (ASTC pattern)

Quadrant Angle range sin cos tan Positive functions
I 0° to 90° + + + All
II 90° to 180° + − − Sine
III 180° to 270° − − + Tangent
IV 270° to 360° − + − Cosine

The mnemonic "All Students Take Calculus" (A-S-T-C) lists which functions are positive going counter-clockwise from quadrant I.

Periodicity

  • sin and cos repeat every 360° (2π radians): \(\sin(\theta + 360^\circ) = \sin\theta\).
  • tan repeats every 180° (π radians): \(\tan(\theta + 180^\circ) = \tan\theta\).
  • Negative angles and angles above 360° are handled by adding or subtracting full turns. For example, 450° is equivalent to 90°, and −30° is equivalent to 330°.

Reference angles

For an angle beyond 90°, find its reference angle, the acute angle between its terminal side and the x-axis. Evaluate the function at that acute angle, then apply the sign for the quadrant.

  • 150° is in quadrant II, reference angle 180° − 150° = 30°. So sin 150° = +sin 30° = 0.5 and cos 150° = −cos 30° ≈ −0.866025.
  • 225° is in quadrant III, reference angle 225° − 180° = 45°. So sin 225° = −0.707107, cos 225° = −0.707107, and tan 225° = +1.
  • 300° is in quadrant IV, reference angle 360° − 300° = 60°. So cos 300° = +0.5 and sin 300° ≈ −0.866025.

Always check that the angle unit is correct: entering 90 as radians gives a very different answer from 90 degrees.

FAQ

Why is tan(90°) undefined? Because \(\cos(90°) = 0\) and tangent divides by cosine; division by zero is undefined.

Can I use negative angles? Yes. Negative angles simply rotate clockwise, and the functions behave accordingly (e.g. sin is odd, cos is even).

What is one radian in degrees? One radian \(\approx 57.2958°\), since \(180° = \pi\) radians.

Last updated:

Most popular in Math and Statistics

View all Math and Statistics calculators