Cofunction Calculator - Complementary Trig Identities

Use this free cofunction calculator to evaluate the six cofunction identity pairs at the complementary angle for any input in degrees or radians.

Updated: June 16, 2026 • Free Tool

Cofunction Calculator

The original angle whose cofunction identity pairs you want to evaluate.

Choose degrees or radians for the input angle. The complementary angle is reported in the same unit.

Results

Complementary angle
0
sin(θ) = cos(π/2 - θ) 0
cos(θ) = sin(π/2 - θ) 0
tan(θ) = cot(π/2 - θ) 0
cot(θ) = tan(π/2 - θ) 0
sec(θ) = csc(π/2 - θ) 0
csc(θ) = sec(π/2 - θ) 0

What Is a Cofunction Calculator?

A cofunction calculator is a trigonometry tool that evaluates the six cofunction identity pairs at the complementary angle for any input angle. Two angles are complementary when they sum to 90 degrees (pi/2 radians), and cofunction identities say that the value of one trigonometric function at an angle equals the value of its partner function at the complementary angle. The six identities are sin(θ) = cos(pi/2 - θ), cos(θ) = sin(pi/2 - θ), tan(θ) = cot(pi/2 - θ), cot(θ) = tan(pi/2 - θ), sec(θ) = csc(pi/2 - θ), and csc(θ) = sec(pi/2 - θ). The calculator returns all six at once.

  • Precalculus homework: Confirm cofunction identities like sin(30°) = cos(60°) = 0.5 while working through exercises.
  • Right triangle work: Translate a side ratio and its complement without redoing the same conversion twice.
  • Complementary-angle proofs: Use the six-pair table as a sanity check when walking through a complementary-angle derivation.
  • Physics and engineering identities: Resolve terms in wave, oscillator, and vector formulas that rely on the sin/cos, tan/cot, or sec/csc cofunction pairs.

Cofunction identities are sometimes confused with the reciprocal identities (csc = 1/sin, sec = 1/cos, cot = 1/tan). The cofunction identities pair sin with cos, tan with cot, and sec with csc, and they say those pairs take the same value at complementary angles.

Cofunction relationships show up the moment a problem involves a right triangle, because the two acute angles in a right triangle always sum to 90 degrees. The identity sin(θ) = cos(90 - θ) is what lets you swap sine and cosine freely inside a right triangle.

When the work shifts to the cosine side of the unit circle and you only have a cosine value to start from, the Arccos Calculator handles the inverse step so the cofunction pair still has a meaningful starting point.

How the Cofunction Calculator Works

The calculator reads the input angle and its unit, converts the angle to radians, computes the complementary angle as pi/2 minus the input in radians, and evaluates the six trig functions at both angles.

f(θ) = g(π/2 − θ), pairs (sin, cos), (tan, cot), (sec, csc)
  • θ: The original angle you enter. The calculator accepts either degrees or radians and converts internally to radians for evaluation.
  • π/2 − θ: The complementary angle. In degrees it is 90 - θ, and in radians it is π/2 - θ. The cofunction identity compares a function at θ to its partner at this complementary angle.
  • Pair (f, g): One of the three cofunction pairs: (sin, cos), (tan, cot), or (sec, csc). The identity f(θ) = g(π/2 - θ) holds for all three.

For the reciprocal partners (cot, sec, csc), the calculator returns the value at the original angle θ. The cofunction identity holds because the reciprocal of cot(π/2 − θ) is tan(π/2 − θ) = cot(θ), so cot(θ) and cot(π/2 − θ) are reciprocals across complementary angles.

Worked example: θ = 30° (π/6 rad)

θ = 30° and the angle unit selector set to degrees

Complementary angle = 90° - 30° = 60°. sin(30°) = 0.5 and cos(60°) = 0.5, so the sin/cos pair matches. cos(30°) ≈ 0.8660 and sin(60°) ≈ 0.8660, so the cos/sin pair matches.

All six identity pairs evaluate to the same value at θ and π/2 - θ; complementary angle = 60°.

Reading the results side by side confirms the cofunction identity without recomputing the cosine or cotangent by hand.

According to Wolfram MathWorld: Complementary Angles, two angles are complementary when they sum to π/2 radians (90 degrees), and the function pairs (sin, cos), (tan, cot), and (sec, csc) take the same value at complementary angles.

If you only have a sine value and need the angle back, the Arcsin Calculator finishes the inverse step so the cofunction identity still has a meaningful starting point.

Key Concepts Explained

These four concepts come up every time you apply a cofunction identity.

Complementary angle

An angle that sums to 90 degrees (or π/2 radians) with the original angle. If θ = 30°, the complementary angle is 60°. The cofunction identities always involve a complementary angle.

Three cofunction pairs

The pairs are (sin, cos), (tan, cot), and (sec, csc). Each pair takes the same value at complementary angles.

Cofunction vs reciprocal

Cofunction identities compare two different functions at complementary angles. Reciprocal identities (csc = 1/sin, sec = 1/cos, cot = 1/tan) compare the same function to its algebraic inverse.

Sign and periodicity

Cofunction identities hold for negative and large angles too, because sine and cosine are periodic. A 420° input is coterminal with 60° and shares its sin, cos, and tan values; the complementary angle is 90° − 420° = −330° in degrees, and sin(420°) = cos(−330°) still holds.

The three pairs (sin, cos), (tan, cot), and (sec, csc) cover every common function. The result panel is built around those three families, so each pair gets its own row.

Negative angles and angles past 90° give cofunction values with the same sign as the original, because sine and cosine are odd and even around 0 respectively. When the input is exactly 0° or 90°, the reciprocal functions (cot, sec, csc) are undefined.

If you need the same angle reported in degrees, radians, and gradians while you work through the cofunction pairs, the Angle Converter keeps the units aligned without re-entering the input.

How to Use This Cofunction Calculator

Working with the calculator takes a few seconds. Enter the angle, choose its unit, and read the complementary angle plus the six identity pair values in the result panel.

  1. 1 Enter the angle: Type the angle into the input box. Positive, negative, and large angles all work, because the identity uses the value of the function at the angle, not the angle itself.
  2. 2 Choose the angle unit: Pick degrees or radians from the unit selector. The complementary angle is reported in the same unit, so the result panel never mixes units.
  3. 3 Read the complementary angle: The primary result is 90° − θ in degrees, or π/2 − θ in radians. This is the angle every cofunction pair compares against.
  4. 4 Read the six identity pairs: Each row below shows one cofunction pair. The number reported is the shared value at θ and π/2 − θ, so you can confirm the identity at a glance.
  5. 5 Watch for undefined values: When the input is 0° or 90° (or any multiple that zeros a denominator), the reciprocal functions sec, csc, cot, and tan become undefined. The result panel shows 'Undefined' for those rows.
  6. 6 Reset for a new angle: Press Reset to clear the input and return to the default 30° starting point, which is the most common reference value for the identity.

A right triangle has one acute angle of 35° and another acute angle of 55°. Enter 35° in the input box, choose degrees, and read the complementary angle 55°. The sin/cos row reports sin(35°) = cos(55°) ≈ 0.5736, the cos/sin row reports cos(35°) = sin(55°) ≈ 0.8192, and the tan/cot row reports 0.7002.

If the angle came from a real right triangle and you also want the side lengths and the remaining angles, the Right Triangle Calculator carries the complementary-angle step into the rest of the triangle.

Benefits of Using This Cofunction Calculator

A cofunction calculator that returns all six identity pairs and the complementary angle in a single pass saves time on homework, derivations, and engineering checks.

  • All six pairs at once: See sin, cos, tan, cot, sec, and csc cofunction pair values side by side.
  • Complementary angle included: The complementary angle is reported in the input unit.
  • Degrees and radians in one input: A unit selector keeps the same calculation valid in either unit, with no need to multiply or divide by 180/π by hand.
  • Undefined values are explicit: When cot, sec, csc, or tan blow up at 0° or 90°, the result panel shows 'Undefined' instead of a confusing infinity.
  • Right-triangle friendly: The complementary angle for a right triangle is the other acute angle, so the result panel doubles as a quick check on a 30-60-90 or 45-45-90 triangle.
  • Pinned to authoritative sources: The cofunction definition and complementary-angle rule cite Wolfram MathWorld and Wikipedia.

The result panel shows the complementary angle as the primary output, then lists the six identity pairs as a single value each. If sin(θ) is 0.5 and the complementary angle is 60°, the row 'sin(θ) = cos(π/2 − θ)' reports 0.5.

For the reciprocal partners (cot, sec, csc), the calculator returns the value at the original angle θ. The cofunction identity holds because cot(π/2 - θ) = tan(θ) by the identity.

If you need the same cofunction pair in both units, the Radians to Degrees Calculator swaps degrees and radians without changing the value at the angle itself.

Factors That Affect Your Results

A few factors control what the calculator can give you. Knowing them up front prevents the most common mistakes.

Choice of angle unit

The calculator converts the input to radians internally. If the input is in degrees, the complementary angle is also in degrees, but the trig functions are evaluated after a pi/180 conversion.

Undefined outputs at 0° and 90°

sec, csc, cot, and tan are undefined at the points where their underlying sine or cosine is zero. The calculator surfaces those rows as 'Undefined'.

Negative and large angles

Cofunction identities hold for any real angle. Periodic behaviour is built in: an input of 420° behaves like 60°.

Floating-point precision

Results are rounded to 6 decimal places. Treat the cofunction pairs as equal to roughly 6 decimal places, not as exact equality.

Reciprocal vs cofunction confusion

Cot, sec, and csc are reciprocals of tan, cos, and sin, and they are also the cofunction partners. The panel shows the value at θ for these, so the identity still holds because the partner and the reciprocal swap in the right order.

  • The calculator reports the principal real value for each function. It does not evaluate cofunction identities in the complex plane, which is rarely what classroom or applied work requires.
  • The cofunction pair is shown as a single value, not as two side-by-side evaluations. Compute the complementary function by hand using the angles reported in the result panel.

If you need the complementary function written out, the result panel gives you the shared value of each pair. With θ = 30°, the cos/sin row reports 0.8660, which is the value of cos(30°) and also sin(60°). The row label makes that explicit, and the complementary angle 60° is the other side of the identity.

According to Wikipedia: Trigonometric functions, two angles are complementary when they sum to π/2 radians (90 degrees), and the function pairs (sin, cos), (tan, cot), and (sec, csc) take the same value at complementary angles.

If the problem hands you a tangent value and you need the angle back, the Arctan Calculator runs the same inverse workflow on the tangent side of the (tan, cot) cofunction pair.

Cofunction calculator input box with angle and unit selector, results panel showing the complementary angle and the six cofunction identity pair values
Cofunction calculator input box with angle and unit selector, results panel showing the complementary angle and the six cofunction identity pair values

Frequently Asked Questions

Q: What is a cofunction in trigonometry?

A: A cofunction is a pair of trigonometric functions that take the same value at complementary angles. The three cofunction pairs are (sin, cos), (tan, cot), and (sec, csc), so sin(30°) equals cos(60°), tan(20°) equals cot(70°), and sec(45°) equals csc(45°).

Q: What are the six cofunction identities?

A: The six cofunction identities are sin(θ) = cos(π/2 - θ), cos(θ) = sin(π/2 - θ), tan(θ) = cot(π/2 - θ), cot(θ) = tan(π/2 - θ), sec(θ) = csc(π/2 - θ), and csc(θ) = sec(π/2 - θ). In degrees the complementary angle is 90° - θ instead of π/2 - θ.

Q: How do you find the cofunction of an angle?

A: Find the complementary angle first, which is 90° - θ in degrees or π/2 - θ in radians. Then evaluate the partner function at that complementary angle. For sin(30°), the complementary angle is 60°, and the partner function is cosine, so the cofunction value is cos(60°) = 0.5.

Q: What is the cofunction of sine?

A: The cofunction of sine is cosine, because sin(θ) = cos(π/2 - θ). The cofunction of cosine is sine by the same relation. The cofunction of tangent is cotangent, and the cofunction of secant is cosecant.

Q: Why do cofunction identities use 90 degrees minus the angle?

A: Two angles are complementary when they sum to 90° (π/2 radians), so the complementary angle of θ is 90° - θ. The cofunction identities compare a function at θ to its partner at the complementary angle, which is why the formula uses 90° - θ or π/2 - θ.

Q: What is the difference between a cofunction and a reciprocal trig function?

A: A cofunction identity compares two different functions at complementary angles, while a reciprocal identity compares a function to its algebraic inverse. Cotangent is the reciprocal of tangent, but it is also the cofunction of tangent. The cofunction calculator reports both effects, because cot, sec, and csc are reciprocals of tan, cos, and sin by construction.