Sine, cosine and tangent calculator
sin, cos and tan of an angle in degrees, with the angle in radians.
Graph
Drag to pan, scroll or pinch to zoom, or use the + / − / ⟲ buttons. The graph can also be reached with the keyboard: Tab to it, then use the arrow keys and + / −.
Formula
How it works
Sine, cosine and tangent relate an angle to the ratios of the sides of a right triangle, and extend to any angle through the unit circle. tan θ = sin θ ÷ cos θ is undefined where cos θ = 0.
Worked example
The same calculation with the default values:
- Angle 30 °
- θ = 30 × π ÷ 180 = 0.523599 rad
- sin θ = 0.5
- cos θ = 0.866025
- tan θ = 0.5 ÷ 0.866025 = 0.57735
Result: Angle in radians: 0.52359878 rad · Sine: 0.5 · Cosine: 0.8660254
Common mistakes
- Entering an angle in degrees when the field expects radians, or vice versa - this is the most common source of wildly wrong trigonometric results.
- Forgetting that tan θ is undefined at 90° (and every odd multiple of 90°) because cos θ = 0 there - a result that looks like an error at these specific angles reflects a genuine mathematical discontinuity, not a bug.
- Assuming sine and cosine values can exceed 1 or go below -1 - both are always bounded in [-1, 1]; a result outside that range signals an input or calculation error upstream.
Related calculators
Binomial probability calculator
The probability of exactly k successes in n independent trials, each with the same success probability.
Circle calculator
Diameter, circumference and area of a circle from its radius.
Combinations and permutations calculator
How many ways to arrange or choose r items from n, with and without order mattering.
Conditional probability calculator
P(A given B) and P(B given A) from P(A), P(B) and P(A and B), with an independence check.