Audited 05 Aug 2026·Last updated 28 Oct 2026·3 citations·Tier 2·0 uses

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

Function
degrees
Function value
0.5
The sine, cosine or tangent of the angle you entered, a pure number with no unit, shown to ten decimal places.
Complementary cofunction
cos
Complementary angle
60degrees

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.

  1. Under Function, choose the one you are starting from: Sine, Cosine or Tangent.
  2. 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.
  3. 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.
  4. 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.

sin(theta)=cos(90 degrees-theta), cos(theta)=sin(90 degrees-theta), tan(theta)=cot(90 degrees-theta)

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.

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°.

function Namesin
angle Degrees30

Frequently asked questions.

Why won't the page give the tangent of 90°?
Because there isn't one. Tangent is sine divided by cosine, and cos 90° is exactly zero. The same applies at 270°, −90° and every angle 180° beyond those. Close to the gap the tangent grows without limit — 572.96 at 89.9° and −572.96 at 90.1° — so no single number could stand for the value at 90°.
Is tan θ multiplied by tan(90° − θ) always 1?
Yes, wherever both tangents exist, because cotangent is the reciprocal of tangent. For 20° and 70° the page gives 0.3639702343 and 2.7474774195, whose product is 1 to nine decimal places. It fails only where one of the pair is zero and the other undefined, as with 0° and 90°.
Do the identities still work for angles over 360° or below zero?
They do. Sine and cosine repeat every 360°, so the complement can look strange without being wrong. Sine at 390° is 0.5 and the complementary angle comes out as −300°, and cos(−300°) is also 0.5, because −300° points the same way as 60°.
How do I get the secant and cosecant pair from this page?
Use the reciprocals. Secant is 1 ÷ cosine and cosecant is 1 ÷ sine, so sec θ = csc(90° − θ) follows from the cosine identity. Choose Cosine at 20°, read 0.9396926208, and take 1 ÷ 0.9396926208 = 1.0641777725, which is both sec 20° and csc 70°.
Where do cofunctions show up outside a maths class?
Wherever one person measures an angle from the vertical and another from the horizontal. Astronomers and solar engineers describe the sun by its elevation above the horizon or its zenith angle from straight overhead; the two are complements, so the sine of the elevation equals the cosine of the zenith angle.
How do cofunctions help with memorising exact values?
They halve the work. The sines of 0°, 30°, 45°, 60° and 90° are √0/2, √1/2, √2/2, √3/2 and √4/2, and the cosines of the same angles are exactly that list read backwards, because each cosine is the sine of the complement. Learn one row and the other follows.

How this page was produced

Published by
Quanta Calculator
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
Coming soon