Trigonometric Functions Calculator (sin, cos, tan)
Find sin, cos, tan, cot, sec, and csc for any angle in degrees, radians, or π multiples (e.g. 1/6 for π/6) — exact values for special angles.
The six functions, from the unit circle
Draw a circle of radius 1 centered at the origin. For an angle measured from the positive x-axis, the point where its ray crosses the circle has coordinates:
The other three functions are simply reciprocals:
Degrees, radians, and π multiples
This calculator accepts an angle in any of three units:
| Unit | Example input | Meaning |
|---|---|---|
| Degrees | 30 | 30° |
| Radians | 0.5236 | ≈ π/6 rad |
| π multiples | 1/6 | (1/6)·π rad = 30° |
The conversion between degrees and radians:
So 180° = π rad, 90° = π/2, and 45° = π/4.
Worked example: 30°
The angle π/6 gives exactly the same result — enter 1/6 with the unit set to "π multiples".
Exact values at special angles
| Angle | sin | cos | tan |
|---|---|---|---|
| 0° (0) | 0 | 1 | 0 |
| 30° (π/6) | 1/2 | √3/2 | √3/3 |
| 45° (π/4) | √2/2 | √2/2 | 1 |
| 60° (π/3) | √3/2 | 1/2 | √3 |
| 90° (π/2) | 1 | 0 | undefined |
Every multiple of 30° or 45° in any quadrant reduces to one of these five rows, with a sign from the quadrant (see below). Any other angle only has a decimal approximation — there's no simpler radical form.
When a function is undefined
and divide by , so they're undefined wherever — at 90°, 270°, and every odd multiple of 90°. and divide by , undefined at 0°, 180°, 360°, and every multiple of 180°.
This is a genuine feature of the function, not an input error — the calculator reports "undefined" for exactly the functions that divide by zero at that angle, while the other four stay perfectly well-defined.
Periodicity and sign (ASTC)
- Period: sin, cos, sec, and csc repeat every 360° (2π); tan and cot repeat every 180° (π).
- Sign by quadrant — the classic "All Students Take Calculus" mnemonic: quadrant I, all six are positive; II, only sin (and csc); III, only tan (and cot); IV, only cos (and sec).
For example, sin 210° = -1/2: 210° sits in quadrant III (only tan/cot positive there), so sin flips negative relative to its quadrant-I reference angle of 30°.
Common mistakes
- Wrong angle mode. Typing
30while the unit is set to radians evaluates sin/cos/tan of 30 radians (over 1700°), not 30°. - Calling tan or sec at 90°. These genuinely have no value there — check for "undefined" rather than expecting a huge number.
- Forgetting to convert a π-multiple.
2in π-multiple mode means 2π (360°), not the angle 2°.
Where this shows up
- Oscillation and waves — sound, light, and AC electrical signals are all modeled with sin/cos of time.
- Rotation and graphics — any 2D rotation or angle calculation ultimately calls these six functions.
- Solving general triangles — the Law of Cosines and Law of Sines extend right-triangle trigonometry to any triangle, acute or obtuse.
This calculator generalizes Trigonometric Ratios (SOH-CAH-TOA, limited to 0°–90° from two triangle sides) to every angle via the unit circle. It pairs naturally with Right Triangle, which solves a full right triangle's sides and angles directly.
Frequently asked questions
- What is the unit circle definition of the six trig functions?
- For an angle , the point on a circle of radius 1 centered at the origin is . From there , and , , are the reciprocals of , , .
- Why use the unit circle instead of a right triangle?
- A right triangle only covers angles between 0° and 90°. The unit circle extends the same six ratios to negative angles, angles past 90°, and angles past 360° — any real number of degrees or radians.
- How do I enter an angle as a multiple of π?
- Switch the unit to "π multiples" and type the coefficient of π — e.g. 1/6 for π/6 (30°), or 2 for 2π (360°). A bare number like 0.5 also works and means 0.5π.
- How do degrees and radians convert?
- , and . So 180° = π rad, 90° = π/2, and 45° = π/4.
- Why is tan 90° undefined?
- tan θ = sin θ / cos θ, and cos 90° = 0 — division by zero is undefined, not zero. The same happens for sec at 90° (and any odd multiple of 90°), and for cot and csc wherever sin θ = 0 (0°, 180°, …).
- Which angles give exact (radical) values instead of decimals?
- Multiples of 30° and 45° — 0°, 30°, 45°, 60°, 90°, and their reflections in every quadrant — have exact values built from 1, 2, and √2, √3 (e.g. sin 30° = 1/2, cos 45° = √2/2). Any other angle only has a decimal approximation.
- Why do some values come out negative?
- The sign follows which quadrant the angle's terminal point falls in (the ASTC rule: All positive in quadrant I, only Sine in II, only Tangent in III, only Cosine in IV). For example, sin 210° = -1/2 because 210° is in quadrant III, below the x-axis.
- What's the difference between this calculator and Trigonometric Ratios?
- Trigonometric Ratios (SOH-CAH-TOA) starts from two sides of a right triangle and covers only 0°–90°. This calculator starts from the angle itself (in degrees, radians, or π-multiples) and covers every angle via the unit circle.