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.
| Cosecant | |
| Sine of the angle | |
| Cotangent of the angle | |
| Angle in degrees | |
| Angle in radians | |
| As a multiple of pi | |
| Quadrant or axis | |
| Check: sine x cosecant |
All calculations run in your browser, and nothing you type is uploaded or stored.
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.
Key takeaways
- csc(theta) = 1 / sin(theta), so csc 30 = 2 and csc 45 = 1.4142
- Cosecant has no value wherever sine is zero: 0, 180 and 360 degrees
- Every real cosecant is 1 or more, or -1 or less, because sine stays between -1 and 1
- In a right triangle csc is hypotenuse divided by opposite side, the rope length per foot of height
- Cosecant is the reciprocal of sine, not the inverse: csc 0.5 as a sine value is 2, while arcsin 0.5 is 30 degrees
On this page
- What the cosecant calculator returns
- Cosecant as a triangle ratio: rope per foot of height
- Exact values at the angles on the unit circle
- Where sine is zero: 0, 180, 360 and the asymptotes
- Cosecant, secant and cotangent: three reciprocals, three jobs
- Cosecant in the law of sines
- Three worked examples with real measurements
- 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) | Cosecant | Angle at the anchor |
|---|---|---|---|
| 30 ft | 50 ft | 1.6667 | 36.87 degrees |
| 20 ft | 25 ft | 1.2500 | 53.13 degrees |
| 10 ft | 14 ft | 1.4000 | 45.58 degrees |
| 12 ft | 13 ft | 1.0833 | 67.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.
| Angle | Sine | Cosecant | Exact cosecant |
|---|---|---|---|
| 0 degrees | 0.0000 | undefined | none |
| 30 degrees | 0.5000 | 2.0000 | 2 |
| 45 degrees | 0.7071 | 1.4142 | root 2 |
| 60 degrees | 0.8660 | 1.1547 | 2 / root 3 |
| 90 degrees | 1.0000 | 1.0000 | 1 |
| 120 degrees | 0.8660 | 1.1547 | 2 / root 3 |
| 135 degrees | 0.7071 | 1.4142 | root 2 |
| 150 degrees | 0.5000 | 2.0000 | 2 |
| 180 degrees | 0.0000 | undefined | none |
| 210 degrees | -0.5000 | -2.0000 | -2 |
| 270 degrees | -1.0000 | -1.0000 | -1 |
| 360 degrees | 0.0000 | undefined | none |
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.
| Angle | Sine | Cosecant | What it shows |
|---|---|---|---|
| 1 degree | 0.017452 | 57.2987 | large and positive |
| 0.1 degree | 0.001745 | 572.9581 | ten times larger |
| 0.01 degree | 0.000175 | 5729.578 | a hundred times larger |
| 0 degrees | 0 | undefined | the asymptote itself |
| 179 degrees | 0.017452 | 57.2987 | positive on the other side |
| 180 degrees | 0 | undefined | the second asymptote |
| 181 degrees | -0.017452 | -57.2987 | sign flips past 180 |
| 359 degrees | -0.017452 | -57.2987 | negative 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.
| Function | Formula | Undefined at | Reads as | Where it shows up |
|---|---|---|---|---|
| Cosecant | csc(theta) = 1 / sin(theta) | 0, 180, 360 degrees | hypotenuse per unit of opposite side | guy wires, law of sines |
| Secant | sec(theta) = 1 / cos(theta) | 90, 270 degrees | hypotenuse per unit of adjacent side | roof slope length, solar path length |
| Cotangent | cot(theta) = cos(theta) / sin(theta) | 0, 180, 360 degrees | adjacent side per unit of opposite side | stair pitch, grade, taper |
| Sine | sin(theta) = opposite / hypotenuse | never | opposite side per unit of hypotenuse | heights 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.
| Case | What is known | Cosecant | Result |
|---|---|---|---|
| Tower | height 150 ft, distance 100 ft | 1.2019 | line of sight 180.28 ft at 56.31 degrees |
| Rope sine | sin(theta) = 0.25 | 4.0000 | angles of 14.48 and 165.52 degrees |
| Radian input | theta = 7pi/6 | -2.0000 | 210 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
Fee schedules, rates and rules change without notice. Always confirm important figures with the official source before you rely on them.