standarddeviationcalculator.net

Updated Free · runs in your browser

Math

Trigonometric functions calculator

Enter one angle and get all six trigonometric functions at once, exact where the angle is a multiple of 15° and as decimals otherwise. Switch to inverse mode to go from a value back to the angle, with every solution in one turn.

Type 30, 30°, pi/6, π/3, 1.2 rad or 36°52′. Anything with π is read as radians.

sin, cos, tan of 60° √3/2, 1/2, √3
sin 60°√3/2 ≈ 0.866025
cos 60°1/2 = 0.5
tan 60°√3 ≈ 1.73205
csc 60°2√3/3 ≈ 1.1547
sec 60°2
cot 60°√3/3 ≈ 0.57735
Degrees60°
Radiansπ/3 = 1.0472
Gradians66.6667
PositionQuadrant I
Reference angle60°
FunctionDefinitionExactDecimal
sin θ (sine)y√3/20.8660254038
cos θ (cosine)x1/20.5
tan θ (tangent)y ÷ x√31.732050808
csc θ (cosecant)1 ÷ sin θ2√3/31.154700538
sec θ (secant)1 ÷ cos θ22
cot θ (cotangent)1 ÷ tan θ√3/30.5773502692
1−11−1xyθ(0.5, 0.866)

On the unit circle the point at θ is (x, y) = (cos θ, sin θ) = (0.5, 0.866025). Violet: cos θ. Red: sin θ.

Show the working, step by step
  1. Place θ on the unit circle. 60° is in quadrant I, with reference angle 60°.

    (x, y) = (cos θ, sin θ) = (1/2 = 0.5, √3/2 ≈ 0.866025)

  2. Tangent is y ÷ x.

    tan θ = 0.866025 ÷ 0.5 = √3 ≈ 1.73205

  3. The other three are reciprocals.

    csc θ = 1 ÷ sin θ = 2√3/3 ≈ 1.1547 sec θ = 1 ÷ cos θ = 2 cot θ = 1 ÷ tan θ = √3/3 ≈ 0.57735

  4. Check with the Pythagorean identity.

    sin²θ + cos²θ = 0.75 + 0.25 = 1

Exact values are given for every multiple of 15°. Any other angle gets the decimal value only.

Definitions

Put the angle θ on the unit circle, turning anticlockwise from the positive x-axis, and let (x, y) be the point where it lands.

sin θ = y cos θ = x tan θ = y ÷ x csc θ = 1 ÷ y sec θ = 1 ÷ x cot θ = x ÷ y

Wherever a denominator is zero the function is undefined: tan and sec at 90° and 270°, csc and cot at 0° and 180°. In a right triangle the same ratios become the familiar SOH CAH TOA: sine is opposite over hypotenuse, cosine adjacent over hypotenuse, tangent opposite over adjacent.

A worked example

The default angle is 60° (π/3 radians).

  1. The point on the unit circle is (1/2, √3/2), so cos 60° = 1/2 and sin 60° = √3/2 ≈ 0.866025.
  2. tan 60° = (√3/2) ÷ (1/2) = √3 ≈ 1.73205.
  3. The reciprocals: csc 60° = 2/√3 = 2√3/3 ≈ 1.1547, sec 60° = 2, cot 60° = 1/√3 = √3/3 ≈ 0.57735.
  4. Check: sin²60° + cos²60° = 3/4 + 1/4 = 1.

Exact values table

θsincostancscseccot
0°010undef.1undef.
30° (π/6)1/2√3/2√3/322√3/3√3
45° (π/4)√2/2√2/21√2√21
60° (π/3)√3/21/2√32√3/32√3/3
90° (π/2)10undef.1undef.0

For any other quadrant, find the reference angle (the acute angle to the x-axis) and attach the sign for that quadrant. For 135°, the reference angle is 45° and the point is in quadrant II, where only sine and cosecant are positive: sin 135° = √2/2, cos 135° = −√2/2, tan 135° = −1.

Identities the results obey

sin²θ + cos²θ = 1 1 + tan²θ = sec²θ 1 + cot²θ = csc²θ sin(90° − θ) = cos θ

These are useful for checking an answer by hand, and for turning one known value into the rest. If sin θ = 3/5 and θ is acute, cos θ = √(1 − 9/25) = 4/5 and tan θ = 3/4.

Inverse functions

Each inverse returns a single principal value from a fixed range: arcsin in [−90°, 90°], arccos in [0°, 180°], arctan in (−90°, 90°), arccot in (0°, 180°), with arccsc and arcsec following arcsin and arccos. The calculator then lists every solution between 0° and 360° and the general solution. The default, arcsin(√3/2), gives 60° and 120°.

Common questions

What are the six trigonometric functions?

Sine, cosine and tangent, and their reciprocals cosecant (csc = 1/sin), secant (sec = 1/cos) and cotangent (cot = 1/tan). For a point (x, y) on the unit circle at angle θ: sin θ = y, cos θ = x, tan θ = y/x, csc θ = 1/y, sec θ = 1/x and cot θ = x/y.

Which angles have exact trig values?

Every multiple of 15°, that is, of π/12. The core ones are 30°, 45° and 60°, from the half equilateral triangle and the half square. 15° and 75° come from the angle-difference formulas, for example sin 15° = sin(45° − 30°) = (√6 − √2)/4. The calculator shows the exact form for all of these and a decimal for anything else.

Is csc the same as sin⁻¹?

No. csc θ = 1/sin θ is a reciprocal; sin⁻¹ x = arcsin x is an inverse, which gives an angle back. csc 30° = 2, while arcsin(1/2) = 30°. The superscript −1 means inverse function, not a power, which is why sin²θ means (sin θ)² but sin⁻¹θ does not mean 1/sin θ.

What does ASTC (All Students Take Calculus) mean?

A way to remember which functions are positive in each quadrant: All in quadrant I, Sine in II, Tangent in III, Cosine in IV. Their reciprocals share the same signs, so csc is positive where sin is, and so on.

What range does arccot use?

This calculator uses (0°, 180°), the usual textbook convention, so arccot(−1) = 135°. Some software defines arccot x as arctan(1/x), with range (−90°, 90°], which gives −45° for the same input. Both give the same full set of solutions, 135° + 180°n.