Cofunction Calculator
Evaluate sine, cosine or tangent of an angle in degrees and get the partner function and complementary angle, 90° − θ, that give the same value.
Cofunction Calculator
Background.
Lean a ladder against a wall so it makes 70° with the ground, and it makes 20° with the wall. The two angles have to add up to 90°, because the wall and the ground meet square. The height the ladder reaches, divided by its length, is the sine of 70° if you measure from the ground and the cosine of 20° if you measure from the wall. It is one ratio described from two corners, 0.9397 either way, so a 4 m ladder reaches about 3.76 m up the wall.
That is all a cofunction identity says. Angles that add to 90° are complementary, and each trigonometric function has a partner that gives the same value at the complement: sin θ = cos(90° − θ), cos θ = sin(90° − θ) and tan θ = cot(90° − θ). The 'co' in cosine and cotangent is short for complement.
The identities are not confined to the acute angles of a triangle. They hold for any angle at all, with the complement simply becoming negative once the angle passes 90°. For 150° the complement is −60°, and sin 150° and cos(−60°) are both 0.5.
Tangent is the one function with holes in it. It is sine divided by cosine, and cosine is zero at 90°, at 270°, at −90° and at every further step of 180°. At those angles the tangent has no value, and the page says so instead of producing a number. Approach one and the tangent grows without limit — 57.29 at 89°, 572.96 at 89.9° — then reappears on the far side as a large negative number, −572.96 at 90.1°.
What is cofunction calculator?
A cofunction identity links a trigonometric function of an angle to its partner function at the complementary angle, the angle that brings the total to 90°. Sine pairs with cosine, tangent with cotangent and secant with cosecant, and each pairing runs both ways. This page evaluates sine, cosine or tangent for an angle given in degrees, then names the partner function and the complementary angle, 90° − θ, at which that partner takes exactly the same value. Secant and cosecant are not offered.
How to use this calculator.
- Under Function, choose the one you are starting from: Sine, Cosine or Tangent.
- Enter the angle in degrees, anywhere from −3,600 to 3,600. For an angle in radians, multiply by 180 and divide by π first, so π/3 radians becomes 60.
- Read the function value, then the cofunction and complementary angle. To confirm, switch to that function, enter that angle, and the same value comes back.
- With Tangent, 90°, 270°, −90° and other angles 180° apart from them are refused. To see how the tangent behaves near one, try 89.9 or 90.1.
The formula.
The angle θ in degrees is converted to radians, θ × π ÷ 180, and the chosen function is evaluated there. The complementary angle is 90° − θ, and the partner is fixed by the function you picked: cos for sine, sin for cosine, cot for tangent. Why the identities hold is easiest to see on the unit circle. The point at angle θ has coordinates (cos θ, sin θ). Reflect it in the line y = x and the coordinates swap to (sin θ, cos θ), and the reflected point sits at angle 90° − θ, so its cosine is sin θ and its sine is cos θ. Dividing one by the other gives tan θ = cot(90° − θ), which is the same as saying tan θ × tan(90° − θ) = 1 wherever both exist. The value is displayed to ten decimal places, so tan 30° appears as 0.5773502692, not as 1/√3. Tangent is refused when θ − 90° is a whole multiple of 180°, because the cosine there is zero.
A worked example.
Choose Sine and enter 30°. In radians that is 30 × π ÷ 180 = π/6, about 0.5236, and the sine is 0.5. The complementary angle is 90 − 30 = 60°, and the page names cosine as the partner: cos 60° is 0.5 too. The reason is easy to see by halving an equilateral triangle with sides of 2. Each half is a right triangle with a hypotenuse of 2, a short side of 1 and angles of 30° and 60°. The short side lies opposite the 30° corner and alongside the 60° corner, so 1 ÷ 2 is the sine of one and the cosine of the other. Switch the same angle to Tangent and the value becomes 0.5773502692 with cot as the partner. Tangent at 60° gives 1.7320508076, and multiplying the two returns 1 to ten decimal places, as it must, since cot 60° is just 1 ÷ tan 60°.
Frequently asked questions.
Why won't the page give the tangent of 90°?
Is tan θ multiplied by tan(90° − θ) always 1?
Do the identities still work for angles over 360° or below zero?
How do I get the secant and cosecant pair from this page?
Where do cofunctions show up outside a maths class?
How do cofunctions help with memorising exact values?
References& sources.
- [1]OpenStax, Rice University. College Algebra 2e, 2021. Algebra and function chapters. Retrieved 2026-08-06.
- [2]OpenStax, Rice University. Precalculus 2e, 2021. Trigonometry and analytic geometry chapters. Retrieved 2026-08-06.
- [3]NIST/SEMATECH. e-Handbook of Statistical Methods, 2012. Chapter 1.3 and Chapter 4. Retrieved 2026-08-06.
How this page was produced
- Published by
- Quanta Calculator
- Overseen by
- Daniel, Quanta Calculator Researcher
- Primary sources
- 3 cited below
- Method
- sin(theta)=cos(90 degrees-theta), cos(theta)=sin(90 degrees-theta), tan(theta)=cot(90 degrees-theta)
- Published
- Last verified
Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.
In this category
Embed
Quanta Pro
Paid features are coming later.
- All 1560 calculators remain free
- No billing is enabled