Trigonometry
Compute all six trig functions (sin, cos, tan, csc, sec, cot) for any angle in degrees. Free calculator with radian conversion and interactive sine, cosine, tangent graphs.
About This Calculator
This trigonometry calculator evaluates all six fundamental trigonometric functions -- sine (sin), cosine (cos), tangent (tan), cosecant (csc), secant (sec), and cotangent (cot) -- for any angle entered in degrees. Whether you are a high school or college student studying trigonometry, an engineer solving structural or electrical problems, a physicist analyzing wave motion, or anyone working with angles in navigation, computer graphics, or construction, this tool provides instant trigonometric values for any angle input.
The calculator converts the input angle from degrees to radians (multiplying by pi/180) before evaluating each function. The primary functions sin(theta) and cos(theta) are computed using JavaScript's built-in Math library. The remaining four functions are derived: tan(theta) = sin(theta)/cos(theta), csc(theta) = 1/sin(theta), sec(theta) = 1/cos(theta), and cot(theta) = cos(theta)/sin(theta). At angles where a function is mathematically undefined due to division by zero -- such as tan(90 deg) where cos(90 deg) = 0 -- the result displays as undefined. Values are shown with up to 8 decimal places of precision, and the equivalent radian measure is also provided for reference.
Trigonometric functions are fundamental to mathematics, science, and engineering. Sine and cosine have a period of 360 deg (2pi radians), meaning sin(theta + 360 deg) = sin(theta) and cos(theta + 360 deg) = cos(theta). Tangent and cotangent have a shorter period of 180 deg (pi radians). On the unit circle, sin(theta) gives the y-coordinate and cos(theta) gives the x-coordinate of a point at angle theta from the positive x-axis. The interactive chart plots sin, cos, and tan across 0 deg to 360 deg, helping you visualize wave patterns, identify asymptotes, and understand function periodicity. Use the chart tabs to switch between viewing each function's waveform.
How to use
Enter any angle in degrees (e.g. 45, 90, -30, 420) into the input field, then click Calculate. The result panel displays all six trigonometric function values simultaneously alongside the angle in radians. Use the chart tabs below the results to switch between visualizing sin(theta), cos(theta), or tan(theta) on the interactive line graph spanning 0 deg to 360 deg. The calculator URL updates automatically so you can share or bookmark specific calculations -- simply copy the URL after calculating to share with others.
Regional notes
Trigonometry is a universal branch of mathematics taught in schools worldwide. Degrees are the most common unit for angle measurement in secondary education across India (IN), the United States (US), and the United Kingdom (UK). While this calculator accepts degrees and converts internally, professionals in higher mathematics and physics typically work in radians. The conversion formula radians = degrees x pi/180 is the international standard.
Frequently Asked Questions
What are the six trigonometric functions?
The six fundamental trigonometric functions are sine (sin), cosine (cos), tangent (tan), cosecant (csc), secant (sec), and cotangent (cot). Given an angle theta in a right triangle: sin(theta) = opposite/hypotenuse, cos(theta) = adjacent/hypotenuse, tan(theta) = opposite/adjacent. The remaining three are reciprocals: csc(theta) = 1/sin(theta), sec(theta) = 1/cos(theta), and cot(theta) = 1/tan(theta) = cos(theta)/sin(theta).
How do you convert degrees to radians?
To convert degrees to radians, multiply the angle in degrees by pi/180. For example, 45 deg x pi/180 = pi/4 ≈ 0.7854 radians, and 90 deg x pi/180 = pi/2 ≈ 1.5708 radians. This calculator performs the conversion automatically -- enter any angle in degrees and view the radian equivalent in the results.
What are the exact values of trig functions for common angles?
Common exact values: sin(0 deg) = 0, sin(30 deg) = 1/2, sin(45 deg) = sqrt2/2 ≈ 0.7071, sin(60 deg) = sqrt3/2 ≈ 0.8660, sin(90 deg) = 1; cos(0 deg) = 1, cos(30 deg) = sqrt3/2 ≈ 0.8660, cos(45 deg) = sqrt2/2 ≈ 0.7071, cos(60 deg) = 1/2, cos(90 deg) = 0; tan(0 deg) = 0, tan(30 deg) = 1/sqrt3 ≈ 0.5774, tan(45 deg) = 1, tan(60 deg) = sqrt3 ≈ 1.7321, tan(90 deg) is undefined. This calculator provides decimal approximations with up to 8 decimal places.
Why are some trig functions undefined for certain angles?
A trigonometric function is undefined when its denominator equals zero. tan(theta) = sin(theta)/cos(theta) and sec(theta) = 1/cos(theta) are undefined at 90 deg + 180 degk because cos(theta) = 0 at those angles. csc(theta) = 1/sin(theta) and cot(theta) = cos(theta)/sin(theta) are undefined at 0 deg + 180 degk because sin(theta) = 0. The calculator displays undefined for these cases.
Can I enter negative angles and angles over 360 degrees?
Yes, the calculator accepts any real number input including negative angles and angles greater than 360 deg. Negative angles represent clockwise rotation on the unit circle -- sin(-theta) = -sin(theta), cos(-theta) = cos(theta). Angles beyond 360 deg wrap around due to periodicity -- sin(theta + 360 deg) = sin(theta) and cos(theta + 360 deg) = cos(theta).
What are the signs of trig functions in each quadrant?
Use the mnemonic 'All Students Take Calculus' (ASTC). Quadrant I (0 deg-90 deg): All six functions positive. Quadrant II (90 deg-180 deg): only Sine and cosecant positive. Quadrant III (180 deg-270 deg): only Tangent and cotangent positive. Quadrant IV (270 deg-360 deg): only Cosine and secant positive.
How are trigonometric functions used in real life?
Trigonometric functions are essential in physics (projectile motion, wave analysis, optics), engineering (structural design, signal processing, robotics), navigation (GPS triangulation, bearings), computer graphics (3D rotations, animation), architecture (roof slopes, stair angles), music theory (sound waves), and medical imaging (CT scan reconstruction).
Is this trigonometry calculator free to use?
Yes, this trigonometry calculator and all calculators on Calculy are completely free to use with no registration, login, or download required. Share your results by copying the URL -- all input values are preserved in the link for easy sharing with classmates, teachers, or colleagues.