Mathematics calculator

Cofunction Calculator

Rewrite a trigonometric function using its paired cofunction and the complementary angle identity.

Calculator inputs

Enter your values

Complementary angles

This tool rewrites the expression without checking its domain. Both sides must be defined; tan(90°) and its rewrite cot(0°), for example, are both undefined.

°
Calculated output

Result summary

Your result will appear here

Complete the required fields and select the calculate button.

What Are Cofunction Identities?

A cofunction identity rewrites a trigonometric function using its partner at 90° minus the original angle. Sine pairs with cosine, tangent with cotangent, and secant with cosecant. Where the functions are defined, the two expressions have the same value.

Choose a function and enter an angle in degrees. This cofunction calculator returns the equivalent expression, full identity and complementary angle. It performs a symbolic rewrite with a numeric angle; it does not calculate a decimal function value or solve an equation for every possible angle.

How to Find an Equivalent Cofunction

  1. Choose the original Trigonometric function: Sine, Cosine, Tangent, Cotangent, Secant or Cosecant.
  2. Enter the original Angle in degrees as a number. Accepted angles range from −1,000,000,000 to 1,000,000,000 degrees.
  3. Select Calculate. The calculator subtracts your angle from 90 and changes the function to its partner.
  4. Read both sides of the full identity, then check that each function is defined at its displayed angle before evaluating it elsewhere.

You do not need to restrict the input to an acute angle. An angle greater than 90° produces a negative complementary angle, and a negative input produces one greater than 90°. For these inputs, the two directed angles still add to 90°, even though they are not two interior acute angles of a right triangle.

The output is a rewrite, not a validity certificate. For example, choosing Tangent at 90° produces cot(0°), but neither expression has a defined value. The form currently displays this rewrite without rejecting the undefined case.

The Six Cofunction Identities

Complementary angle β = 90° − θ

sin(θ) = cos(90° − θ); cos(θ) = sin(90° − θ)

tan(θ) = cot(90° − θ); cot(θ) = tan(90° − θ)

sec(θ) = csc(90° − θ); csc(θ) = sec(90° − θ)

These identities hold wherever both sides are defined. In radian notation, replace 90° with π/2, but this form expects a degree input. Do not subtract a radian value from the degree number 90.

The sine/cosine pair follows from a quarter-turn angle difference. Taking appropriate ratios gives the tangent/cotangent pair, and taking reciprocals gives the secant/cosecant pair. The change affects both the function name and the angle; swapping only one of them generally changes the value.

Reference: OpenStax: Basic Functions and Identities. The six cofunction identities, with π/2 radians corresponding to 90 degrees. Input limits, rounding rules and interface behavior described here come from this calculator’s implementation.

Function Input and Complementary Angle

Trigonometric function
Original function you want to rewrite. The selector determines its partner automatically.
Angle in degrees θ
Original signed numeric angle. This is not an unknown symbolic variable.
Equivalent cofunction
Featured expression formed from the paired function and β = 90° − θ.
Full identity
Original expression equals the rewritten expression, subject to both domains.
Original function and paired cofunction
Short function names such as sec and csc. These cards do not contain numerical evaluations.
Original angle
The numeric degree input shown again as a check.
Complementary angle β
Signed difference 90 − θ, in degrees. It can be negative or greater than 90°.

Cofunction Worked Example

Illustrative example. Rewrite sec(140°) using a cofunction. Choose Secant and enter 140 degrees.

Compute β = 90° − 140° = −50°. Secant pairs with cosecant, so the result is sec(140°) = csc(−50°).

Check independently: cos(140°) = −sin(50°) = sin(−50°), so taking reciprocals gives equal values, approximately −1.3054072893. Both denominators are nonzero. That decimal verifies the example; this calculator returns the expression rather than a decimal evaluation.

Calculation check. These illustrative values were checked independently against the formula and calculator response. Retain unrounded intermediate values when checking approximations.

Cofunction Worked Example
StepResult
Original expressionsec(140°)
Complementary angle90° − 140° = −50°
Paired functionCosecant
Equivalent expressioncsc(−50°)
Independent numeric checkBoth ≈ −1.3054072893

Which Trigonometric Functions Are Cofunctions?

The partner depends on the original function, while the angle always becomes 90° − θ. Applying the same rewrite twice restores the original function and angle because 90° − (90° − θ) = θ.

Cofunctions are not reciprocal pairs at the same angle. Sine and cosine are cofunctions; sine and cosecant are reciprocals. Keep these relationships separate when simplifying an expression.

Which Trigonometric Functions Are Cofunctions?
Original functionCofunction partnerExample with θ = 20°
SineCosinesin(20°) = cos(70°)
CosineSinecos(20°) = sin(70°)
TangentCotangenttan(20°) = cot(70°)
CotangentTangentcot(20°) = tan(70°)
SecantCosecantsec(20°) = csc(70°)
CosecantSecantcsc(20°) = sec(70°)

How to Interpret a Cofunction Identity

If the result is csc(−50°), it asks you to evaluate cosecant at negative 50 degrees to obtain the original function’s value. The negative angle belongs inside the function; it is not an instruction to drop the sign or replace the angle by 50°.

For two acute angles, the connection is easy to see in a right triangle: one angle’s opposite side is the other angle’s adjacent side. For larger angles, use the general trigonometric identities rather than trying to draw two acute triangle angles.

An identity is different from solving a trigonometric equation. Complementary angles give one useful equality, but periodicity and symmetry can produce other solutions to an equation. This tool does not list those solution families or verify undefined values.

Common Cofunction Mistakes

  • Using 180° − θ, which gives a supplementary angle rather than the cofunction angle.
  • Changing the function without changing its angle.
  • Pairing tangent with secant instead of cotangent.
  • Treating secant as inverse cosine; secant is 1/cos, whereas arccos is an inverse function.
  • Assuming a displayed rewrite means both sides are numerically defined.
  • Expecting a decimal answer or every solution to an equation from a symbolic rewriting tool.

Frequently Asked Questions

What are the three cofunction pairs?

Sine pairs with cosine, tangent with cotangent, and secant with cosecant. Switching partners requires replacing θ with 90° − θ in degree notation.

How do I find the cofunction of sin(28°)?

Pair sine with cosine and calculate 90° − 28° = 62°. Therefore sin(28°) = cos(62°). Enter Sine and 28 to get that rewrite.

Can a complementary angle be negative here?

Yes. An original angle greater than 90° produces a negative difference. For example, sec(140°) rewrites as csc(−50°), and both functions are defined at those angles.

Does the calculator return a numerical function value?

No. It returns the rewritten expression and full identity, plus the original and complementary angles. Use a numerical trigonometric evaluator if you need a decimal value.

Is a cofunction the same as a reciprocal?

No. Cosine is the cofunction of sine at a complementary angle, while cosecant is the reciprocal of sine at the same angle. The relationship and the angle treatment differ.

Why does tan(90°) produce cot(0°)?

The form substitutes the paired function and 90° − θ without a domain check. Both expressions in this particular rewrite are undefined, so it is not an equality of two numerical values.

Should I use 90 or π/2 when finding a cofunction?

Use 90° with angles measured in degrees and π/2 with angles measured in radians. This calculator expects degrees, so convert a radian input first.

Does a cofunction identity give every solution to an equation?

No. It supplies an equivalent expression where defined. A trigonometric equation may also have solutions related by periodicity or symmetry; this tool does not solve those families.

Sources and References