Lelifi·tools

Cosecant Calculator

Cosecant is the reciprocal of sine. The sine of 30 degrees is 0.5, so csc 30 is 1 / 0.5 = 2. Type an angle, a sine value or two triangle sides to get the cosecant, its sine and the angle; at 0, 180 and 360 degrees the answer is undefined.

Choose an angle, a sine value, or the two sides of a right triangle. The calculator returns cosecant, the sine it came from, the cotangent and the angle in both units. Radian input also accepts pi forms such as 5pi/6.

Enter an angle, a sine value, or two sides of a right triangle, and the calculator returns the cosecant together with the sine it came from.

By the Lelifi editors ·

Key takeaways

A guy wire is the cosecant of the angle at the anchormast 30 ftanchor distance 40 ftwire 50 ft36.87 degreescsc of the angle at the anchor= hypotenuse / opposite= 50 / 30 = 1.6667and sin 36.87 = 0.6, so 1 / 0.6 = 1.6667
The wire is 50 ft and the mast is 30 ft, so the cosecant of the angle at the anchor is 50 / 30 = 1.6667.
Sine on top, cosecant below, same anglessin, from -1 to 1csc, clipped at 40.52902700180360Red lines mark 0, 180 and 360 degrees, where sine is zero and cosecant has no value.
The sine curve crosses zero at 0, 180 and 360 degrees, and the cosecant curve breaks at those same angles while csc 30 sits at 2.
On this page
  1. What the cosecant calculator returns
  2. Cosecant as a triangle ratio: rope per foot of height
  3. Exact values at the angles on the unit circle
  4. Where sine is zero: 0, 180, 360 and the asymptotes
  5. Cosecant, secant and cotangent: three reciprocals, three jobs
  6. Cosecant in the law of sines
  7. Three worked examples with real measurements
  8. Mistakes: radians, arcsin and the cotangent mix-up

What the cosecant calculator returns

Cosecant answers one question: how much hypotenuse comes with one unit of opposite side. Divide 1 by the sine and the number is there: csc(theta) = 1 / sin(theta). At 30 degrees the sine is 0.5, so 1 / 0.5 = 2, and the answer carries no units because both lengths cancel.

Three input modes cover the ways people arrive at this function. Type an angle in degrees or radians, and a form like pi/6 also works, to see the cosecant with the sine it came from. Type a sine value to get the cosecant plus both angles between 0 and 360 degrees that share that sine. Enter the opposite side and the hypotenuse of a right triangle to get the ratio straight from the two measurements, which is the form riggers and carpenters use.

One rule holds in every mode: the size of a cosecant is never below 1. Sine lives between -1 and 1, and the reciprocal of a number in that band lands at or outside it. Every real answer is at least 1 or at most -1, and the sign always matches the sign of the sine.

Section 4.14 of the NIST Digital Library of Mathematical Functions defines csc as 1 over sin and lists the zeros of sine in the same place, which is why the undefined angles on this page line up with the zeros of the sine curve.

Cosecant as a triangle ratio: rope per foot of height

In a right triangle the sine is opposite over hypotenuse, so the cosecant flips it to hypotenuse over opposite. Read the result as rope per foot of height. A guy wire from the top of a 30 ft mast to an anchor 40 ft from the base is 50 ft long, and 50 / 30 = 1.6667, so the cosecant of the angle at the anchor is 1.6667.

The angle itself is arcsin(30 / 50) = 36.87 degrees, and 1 / sin(36.87) = 1.6667 as well. Both routes agree because the side ratio and the angle carry the same information, and the calculator accepts either one.

Height (opposite)Wire (hypotenuse)CosecantAngle at the anchor
30 ft50 ft1.666736.87 degrees
20 ft25 ft1.250053.13 degrees
10 ft14 ft1.400045.58 degrees
12 ft13 ft1.083367.38 degrees

The ratio tracks how much the wire leans. A wire that runs almost straight up has an opposite side close to the hypotenuse, so its cosecant sits just above 1, and a perfectly vertical wire would give csc 90 = 1. Move the anchor farther out and the hypotenuse grows while the height stays fixed, so the cosecant climbs. A wire twice as long as the mast is tall gives csc = 2, which is the same number as csc 30.

Exact values at the angles on the unit circle

The standard angles have exact cosecants, and every row can be checked by dividing 1 by the sine beside it. The exact column is worth knowing because it survives rounding: csc 45 is the square root of 2, not 1.414 alone, and csc 60 is 2 divided by the square root of 3, which is the same as 2 root 3 over 3.

AngleSineCosecantExact cosecant
0 degrees0.0000undefinednone
30 degrees0.50002.00002
45 degrees0.70711.4142root 2
60 degrees0.86601.15472 / root 3
90 degrees1.00001.00001
120 degrees0.86601.15472 / root 3
135 degrees0.70711.4142root 2
150 degrees0.50002.00002
180 degrees0.0000undefinednone
210 degrees-0.5000-2.0000-2
270 degrees-1.0000-1.0000-1
360 degrees0.0000undefinednone

Two patterns fall out of the table. Supplementary angles share a sine, so they share a cosecant: csc 30 and csc 150 are both 2, and csc 45 and csc 135 are both 1.4142. Angles in the third and fourth quadrants flip the sign, so csc 210 is -2 rather than 2. Off the standard list the arithmetic is the same: csc 40 is 1 / 0.6428 = 1.5557, and sin 56.31 is 0.8321, so its cosecant is 1.2019.

Where sine is zero: 0, 180, 360 and the asymptotes

Sine is zero at 0 degrees, at 180 degrees, at 360 degrees, and at every whole multiple of 180 in both directions. Dividing 1 by zero has no answer, so the cosecant has no value at those angles either. A graphing calculator draws a vertical dashed line there instead of a point, and that line is an asymptote.

The approach from each side is where the sign gets interesting. Just above 0 degrees the sine is small and positive, so the cosecant is huge and positive. Just below 0 degrees, which is 359 degrees, the sine is small and negative, so the cosecant is huge and negative. The two sides of the asymptote therefore run off in opposite directions, not the same one.

AngleSineCosecantWhat it shows
1 degree0.01745257.2987large and positive
0.1 degree0.001745572.9581ten times larger
0.01 degree0.0001755729.578a hundred times larger
0 degrees0undefinedthe asymptote itself
179 degrees0.01745257.2987positive on the other side
180 degrees0undefinedthe second asymptote
181 degrees-0.017452-57.2987sign flips past 180
359 degrees-0.017452-57.2987negative just below 0

This is why a spreadsheet cell can show 5729 for an angle that was meant to be zero, and why the calculator on this page prints undefined when the input lands exactly on a pole. It is also why the curve repeats every 360 degrees and why csc(-40) = -csc(40): the function is odd, just like sine.

Cosecant, secant and cotangent: three reciprocals, three jobs

The three reciprocal functions are easy to mix up because they look alike and all blow up somewhere. Each one is tied to a different side of the same triangle, and that is the fastest way to keep them apart. Cosecant pairs with sine and therefore with the opposite side. Secant pairs with cosine and the adjacent side. Cotangent pairs with tangent and compares the two legs to each other.

FunctionFormulaUndefined atReads asWhere it shows up
Cosecantcsc(theta) = 1 / sin(theta)0, 180, 360 degreeshypotenuse per unit of opposite sideguy wires, law of sines
Secantsec(theta) = 1 / cos(theta)90, 270 degreeshypotenuse per unit of adjacent sideroof slope length, solar path length
Cotangentcot(theta) = cos(theta) / sin(theta)0, 180, 360 degreesadjacent side per unit of opposite sidestair pitch, grade, taper
Sinesin(theta) = opposite / hypotenuseneveropposite side per unit of hypotenuseheights from measured distances

Pick the function by the measurement you already have. If you know a height and need the length of a brace, you want cosecant, because it multiplies the height by the wire-to-height ratio. If you know a horizontal run and need the sloping length, you want secant. If you know both legs and need an angle for a miter or a grade, cotangent or its inverse does the job, and the slope calculator works the same ratio as rise over run.

The OpenStax Algebra and Trigonometry chapter on the other trigonometric functions graphs all three side by side and marks the same asymptotes, which is a useful check when a chart looks wrong.

Cosecant in the law of sines

The law of sines says a / sin A = b / sin B = 2R, where R is the radius of the circle that passes through all three corners of the triangle. Rewrite any term with a cosecant and the division turns into a multiplication: a = 2R sin A, and R = (a / 2) csc A. Before calculators, that second form was the reason cosecant tables existed at all, because multiplying by a tabulated value beat dividing by a decimal.

Worked example. A triangular lot has a side of 12 ft opposite a 30 degree corner. Then 2R = 12 / 0.5 = 24 ft, so the circumradius is 12 ft and the circle through the three corners is 24 ft across. If another corner measures 90 degrees, the side opposite it is 24 x sin 90 = 24 ft, which is the diameter, exactly as a right triangle requires.

The form also explains a common survey shortcut. Once 2R is known, every other side is 2R times the sine of its opposite angle, and every angle comes back from the side by arcsin. Cosecant is the multiplier that gets you from a known side and angle to the radius, and the radius is what makes the rest of the triangle fall out.

Three worked examples with real measurements

A tower from a transit. A transit sits 100 ft from the base of a 150 ft tower. The straight line from the instrument to the top is the square root of 100 squared plus 150 squared, which is 180.28 ft. The angle at the instrument is arctan(150 / 100) = 56.31 degrees, and the cosecant is 180.28 / 150 = 1.2019. The same angle has a sine of 0.8321, which is the reciprocal of that cosecant once both are carried to full precision.

A sine value without an angle. A sensor reports that a rope makes a sine of 0.25 with the vertical. Then csc = 1 / 0.25 = 4. Two angles between 0 and 360 degrees produce that sine: 14.48 degrees and 165.52 degrees, since 180 - 14.48 = 165.52. The calculator shows both, because a sine alone cannot tell you which side of vertical the rope is on.

A radian input. A physics problem gives the angle as 7pi/6. That is 210 degrees, its sine is -0.5, and its cosecant is -2. The same angle written as 3.6652 radians gives the same result, which is the check that the mode switch did what you expected.

CaseWhat is knownCosecantResult
Towerheight 150 ft, distance 100 ft1.2019line of sight 180.28 ft at 56.31 degrees
Rope sinesin(theta) = 0.254.0000angles of 14.48 and 165.52 degrees
Radian inputtheta = 7pi/6-2.0000210 degrees, sin = -0.5

Mistakes: radians, arcsin and the cotangent mix-up

The first mistake is the unit switch. A calculator left in radian mode reads 30 as 30 radians, which is 1718.87 degrees, or 278.87 degrees after four full turns, and the sine there is -0.98803. The cosecant comes out as -1.0121 instead of 2. If an answer is close to 1 when you expected a large number, check the mode before checking the formula.

The second is the notation. On almost every calculator, sin with a -1 superscript means arcsin, not 1 over sin. So sin inverse of 0.5 is 30 degrees, while the reciprocal of the number 0.5 is 2, and the cosecant of 0.5 radians is 2.0858. Three different answers, one keystroke apart, and the calculator keyboard offers no hint about which one you pressed.

The third is the cotangent. Cotangent is cosine over sine, which is 1 over tangent, and it is not the reciprocal of cosecant. At 45 degrees csc is 1.4142 and cot is 1.0000; at 30 degrees csc is 2 and cot is 1.7321. Cotangent shares the asymptotes at 0, 180 and 360 with cosecant, which is where the confusion starts, but its values are different everywhere else.

The fourth is the sign. A negative sine gives a negative cosecant, so csc 210 is -2 and not 2. Rounding causes the last error: 1 / sin(0.01 degrees) is 5729.578, and rounding the sine before dividing moves the answer by hundreds. Divide first, round last, and expect the number to change fast near the poles.

Frequently asked questions

What is the cosecant of 30 degrees?

Csc 30 is 2. Sine of 30 degrees is 0.5, and 1 / 0.5 = 2. In a 30-60-90 triangle the hypotenuse is twice the side opposite the 30 degree angle, which is the same statement in triangle terms.

Is cosecant the same as 1 over sine?

Yes, for every angle where the sine is not zero. csc(theta) = 1 / sin(theta) in degrees and in radians, and that is the definition used in NIST DLMF section 4.14.

Why is csc 0 undefined?

Sine of 0 is 0, and 1 / 0 has no value. The function grows without bound on both sides of 0, positive just above it and negative just below it, so there is no single number to assign at the angle itself.

What is the cosecant of 45 degrees?

Csc 45 is 1.4142, the square root of 2. Sine of 45 degrees is 0.7071, and 1 / 0.7071 = 1.4142. It is the only standard angle where cosecant and secant agree, because sin 45 and cos 45 are equal.

What is csc 90?

Csc 90 is 1, because sin 90 = 1 and 1 / 1 = 1. It is the smallest positive cosecant there is, and the point where the sine curve and the cosecant curve touch.

Can cosecant be negative?

Yes. Sine is negative between 180 and 360 degrees, so cosecant is negative there. Csc 210 = -2, csc 270 = -1 and csc 330 = -2. The sign always matches the sine.

How do I find the cosecant of an angle in radians?

Use radians directly in the sine. Csc of 1 radian is 1 / 0.84147 = 1.1884, and csc of pi/6 is 2 because pi/6 radians is 30 degrees. Pi divided by 6 is 0.5236 radians, so the two inputs agree.

What is the cosecant of 0.5?

It depends on what the 0.5 means. If it is a sine value, the cosecant is 1 / 0.5 = 2. If it is an angle of 0.5 radians, the sine is 0.4794 and the cosecant is 2.0858. If it is 0.5 degrees, the cosecant is 114.59.

Why does my calculator show a huge number near 180 degrees?

Because the sine is close to zero there without reaching it. At 179 degrees the sine is 0.017452 and the cosecant is 57.2987; at 179.9 degrees it is about 573. The value at exactly 180 degrees does not exist.

What is 1 divided by sine used for in real work?

Guy wires and rigging, where a height has to be turned into a wire length, and the law of sines, where a side equals 2R sin A. Surveying and navigation use the same identity when they chain triangles together.

What is the difference between cosecant and secant?

Cosecant divides the hypotenuse by the opposite side and secant divides it by the adjacent side. Cosecant has no value at 0, 180 and 360 degrees; secant has none at 90 and 270. Sec 60 is 2, while csc 60 is 1.1547.

How does cosecant relate to the unit circle?

The ray at angle theta meets the horizontal line y = 1 at a distance of csc(theta) from the origin. At 30 degrees that distance is 2, and the meeting point sits 1.732 units to the right of the vertical axis.

What is the cosecant of 150 degrees?

Csc 150 is 2, the same as csc 30, because sine of 150 degrees is also 0.5. Supplementary angles share a sine, so they share a cosecant as well.

Does cosecant have units?

No. It is a ratio of two lengths, hypotenuse divided by opposite side, so the units cancel. A cosecant of 1.6667 multiplies a height in feet to give a wire length in feet.

How accurate are the values on this page?

Values are printed to four decimals, which is within 0.0001 of the exact value. Csc 40 is 1.555723 and the page shows 1.5557. Near an asymptote, keep the full precision from the calculator instead of the rounded display.

What is the derivative of cosecant?

The derivative of csc x is negative csc x times cot x, so at 30 degrees it is -2 x 1.7321 = -3.464 per radian. The minus sign comes from the fact that cosecant falls as the angle moves away from 0.

Spotted a wrong number or a broken result?

More Math tools

See all Math tools

Fee schedules, rates and rules change without notice. Always confirm important figures with the official source before you rely on them.