Boneyard Tools

Trig Functions Calculator

Enter an angle in degrees or radians to get all six trigonometric functions: sine, cosine, tangent, cosecant, secant and cotangent, with undefined values flagged.

How to find the trig functions of an angle

  1. Enter the angle value.
  2. Choose whether it is in degrees or radians.
  3. Read all six functions; undefined ones, like tangent at 90 degrees, are marked.

Examples

30 degrees

angle = 30, unit = degrees
sin 0.5, cos 0.8660, tan 0.5774, sec 1.1547, cot 1.7321

90 degrees

angle = 90, unit = degrees
sin 1, cos 0, tan undefined, csc 1, cot 0

Frequently asked questions

What are the six trigonometric functions?

They are sine, cosine and tangent, plus their reciprocals: cosecant (1 over sine), secant (1 over cosine) and cotangent (cosine over sine).

Why is tangent undefined at 90 degrees?

Tangent is sine divided by cosine. At 90 degrees the cosine is zero, so the division is undefined. Secant, which is 1 over cosine, is undefined there too.

When are cosecant and cotangent undefined?

Both divide by sine. At 0 and 180 degrees the sine is zero, so cosecant and cotangent have no value and are reported as undefined.

Can I enter the angle in radians?

Yes. Choose radians to enter values like pi over 6. Degrees are converted to radians internally using radians equal to degrees times pi over 180.

How do you decide a value is undefined?

Sine and cosine never return an exact zero at right angles due to rounding, so a small tolerance of 1e-12 is used to treat tiny values as zero.

Related tools