Trig Function Calculator

Enter an angle in degrees or radians to compute all six trigonometric functions: sine, cosine, tangent, cosecant, secant, and cotangent.

Quick Facts

Reciprocal identities
csc θ = 1/sin θ, sec θ = 1/cos θ, cot θ = 1/tan θ
Each reciprocal function is undefined wherever its paired function equals zero.
Pythagorean identity
sin²θ + cos²θ = 1
Holds for every real angle θ; dividing by cos²θ or sin²θ gives the tangent/secant and cotangent/cosecant versions.
Periodicity
sin, cos, csc, sec repeat every 360°; tan, cot repeat every 180°
Angles that differ by a full period always share the same function value.
Degrees ↔ radians
radians = degrees × π/180
π radians = 180°, so 1 radian ≈ 57.2958°.

Your Results

Calculated
Sine
-
sin θ
Cosine
-
cos θ
Tangent
-
tan θ = sin θ / cos θ
Cosecant
-
csc θ = 1 / sin θ
Secant
-
sec θ = 1 / cos θ
Cotangent
-
cot θ = cos θ / sin θ

Ready

Enter an angle and choose degrees or radians, then press Calculate.

How the Trig Function Calculator Works

This calculator evaluates all six trigonometric functions — sine, cosine, tangent, cosecant, secant, and cotangent — for any angle you enter, in either degrees or radians. Trigonometric functions relate an angle to ratios of the sides of a right triangle, or equivalently to the x- and y-coordinates of a point on the unit circle.

Definitions from the unit circle

For an angle θ measured from the positive x-axis, place a point on the unit circle (radius 1) at that angle. By definition, the point's coordinates are (cos θ, sin θ). Tangent is the ratio tan θ = sin θ / cos θ, which also equals the slope of the line from the origin to that point. In a right triangle, the same functions equal sin θ = opposite/hypotenuse, cos θ = adjacent/hypotenuse, and tan θ = opposite/adjacent.

Reciprocal functions and identities

Cosecant, secant, and cotangent are defined as reciprocals: csc θ = 1/sin θ, sec θ = 1/cos θ, and cot θ = 1/tan θ = cos θ/sin θ. Every angle satisfies the Pythagorean identity sin²θ + cos²θ = 1, from which 1 + tan²θ = sec²θ and 1 + cot²θ = csc²θ follow directly. Sine, cosine, cosecant, and secant repeat every 360° (2π radians); tangent and cotangent repeat every 180° (π radians) because reflecting the point to the opposite side of the circle leaves their ratio unchanged.

Undefined values and common mistakes

Tangent and secant are undefined wherever cos θ = 0 — at 90°, 270°, and any angle of the form 90° + 180°n — because both divide by cos θ. Cosecant and cotangent are undefined wherever sin θ = 0 — at 0°, 180°, and any multiple of 180° — because both divide by sin θ. A frequent mistake is mixing degree and radian mode: sin(30) evaluated as 30 radians (≈ -0.988) is not the same as sin(30°) (= 0.5), so always confirm which unit is selected before reading a result.

Frequently Asked Questions

What are the six trigonometric functions?
The six trig functions relate an angle to ratios of a right triangle's sides, or to a point's coordinates on the unit circle: sine (sin), cosine (cos), tangent (tan), and their reciprocals cosecant (csc = 1/sin), secant (sec = 1/cos), and cotangent (cot = cos/sin).
How do I convert between degrees and radians?
Multiply degrees by π/180 to get radians, or multiply radians by 180/π to get degrees. For example, 30° × π/180 ≈ 0.5236 radians. This calculator converts automatically based on the unit you select.
Why are tangent, secant, cosecant, or cotangent sometimes undefined?
Tangent and secant are undefined wherever cos θ = 0 (θ = 90°, 270°, i.e. 90° + 180°n), because both divide by cos θ. Cosecant and cotangent are undefined wherever sin θ = 0 (θ = 0°, 180°, i.e. 180°n), because both divide by sin θ.
How are sine and cosine related to a right triangle?
For an angle θ in a right triangle, sin θ = opposite/hypotenuse and cos θ = adjacent/hypotenuse. Tangent is their ratio: tan θ = opposite/adjacent = sin θ / cos θ.