Cofunction Calculator
Calculate cofunction identities for all six trigonometric functions. Find sin, cos, tan, cot, sec, csc and their cofunctions instantly.
About
Cofunction identities relate a trigonometric function of an angle to the corresponding function of its complement. The complement of an angle θ is 90° − θ (or π2 − θ in radians). Misidentifying cofunctions leads to incorrect phase shifts in signal processing, wrong triangle solutions in surveying, and flawed structural load decompositions. This calculator computes all six trigonometric functions for any input angle and simultaneously evaluates their cofunctions at the complementary angle, verifying the identities sin(θ) = cos(90° − θ) and the analogous relations for tangent - cotangent and secant - cosecant pairs.
The tool handles edge cases where functions are undefined (e.g., tan(90°) or csc(0°)). Results assume standard Euclidean geometry. For angles outside 0° - 90°, the complement may be negative; the identities still hold algebraically but lose geometric meaning as complementary angles of a right triangle. Precision is limited to IEEE 754 double-precision floating-point arithmetic (~15 significant digits).
Formulas
The six cofunction identities state that each trigonometric function of an angle equals the cofunction of its complement:
In radian form, the complement of θ is π2 − θ. The reciprocal functions are defined as:
Where θ = the input angle, and 90° − θ = the complementary angle. Degree-to-radian conversion uses: θrad = θdeg × π180.
Reference Data
| Angle θ | sin(θ) | cos(θ) | tan(θ) | cot(θ) | sec(θ) | csc(θ) |
|---|---|---|---|---|---|---|
| 0° | 0 | 1 | 0 | undef | 1 | undef |
| 15° | 0.2588 | 0.9659 | 0.2679 | 3.7321 | 1.0353 | 3.8637 |
| 30° | 0.5 | 0.8660 | 0.5774 | 1.7321 | 1.1547 | 2 |
| 36° | 0.5878 | 0.8090 | 0.7265 | 1.3764 | 1.2361 | 1.7013 |
| 45° | 0.7071 | 0.7071 | 1 | 1 | 1.4142 | 1.4142 |
| 54° | 0.8090 | 0.5878 | 1.3764 | 0.7265 | 1.7013 | 1.2361 |
| 60° | 0.8660 | 0.5 | 1.7321 | 0.5774 | 2 | 1.1547 |
| 72° | 0.9511 | 0.3090 | 3.0777 | 0.3249 | 3.2361 | 1.0515 |
| 75° | 0.9659 | 0.2588 | 3.7321 | 0.2679 | 3.8637 | 1.0353 |
| 90° | 1 | 0 | undef | 0 | undef | 1 |
| 120° | 0.8660 | −0.5 | −1.7321 | −0.5774 | −2 | 1.1547 |
| 135° | 0.7071 | −0.7071 | −1 | −1 | −1.4142 | 1.4142 |
| 150° | 0.5 | −0.8660 | −0.5774 | −1.7321 | −1.1547 | 2 |
| 180° | 0 | −1 | 0 | undef | −1 | undef |
| 270° | −1 | 0 | undef | 0 | undef | −1 |
| 360° | 0 | 1 | 0 | undef | 1 | undef |