Trig Function Calculator

TRIGONOMETRY
cossinangle 30.0 deg cos 0.866 sin 0.500
sin--
cos--
tan--
csc (1/sin)--
sec (1/cos)--
cot (1/tan)--
--

All six trig functions at once

Enter any angle in degrees or radians and this calculator returns all six trigonometric functions -- sine, cosine, tangent, and their reciprocals cosecant, secant, and cotangent. Values that do not exist, like the tangent of 90 degrees, are flagged as undefined rather than shown as a misleading huge number.

What the functions mean

For an angle, sine and cosine are the vertical and horizontal coordinates of the matching point on the unit circle. Tangent is sine over cosine. The reciprocals follow: cosecant is 1 over sine, secant is 1 over cosine, and cotangent is cosine over sine.

Where they are undefined

Tangent and secant are undefined wherever cosine is zero (90, 270 degrees), and cosecant and cotangent are undefined wherever sine is zero (0, 180 degrees). At those angles the reciprocal would divide by zero.

Related tools

To switch the angle between degrees and radians, use the angle converter calculator; to apply these ratios to a triangle, the right triangle calculator.

Worked example

At 30 degrees: sine is 0.5, cosine is about 0.8660, and tangent is about 0.5774, so cosecant is 2, secant about 1.1547, and cotangent about 1.7321.

FAQ

Degrees or radians?

Both are supported -- pick the unit that matches your problem. A full circle is 360 degrees or 2 pi radians.

Why is tan 90 undefined rather than infinite?

Cosine is exactly zero there, so the ratio sine over cosine has no finite value; it grows without bound as you approach 90 from either side.

Spotted an error or have a suggestion for this calculator? Let us know →
Scroll to Top

The calculators and tools on Formula Factory are provided for general guidance and informational purposes only. Results are estimates based on standard formulas and the values you enter — they do not constitute professional engineering, electrical, or architectural advice. Always verify calculations with a qualified professional before making decisions for any safety-critical, code-compliance, or commercial application. Formula Factory makes no representations or warranties as to the accuracy or completeness of any result, and accepts no liability for errors, omissions, or any outcomes arising from reliance on this information.