The CSC function returns the cosecant of an angle given in radians, calculated as 1 divided by the sine of the angle. It is part of Excel's Math & Trigonometry functions and is useful for trigonometric calculations in engineering, physics, and geometry.
=CSC(number)What does CSC do?
The CSC function in Excel calculates the cosecant of an angle. In trigonometry, cosecant is the reciprocal of sine, so CSC(x) equals 1/SIN(x). Excel expects the angle to be in radians; if you have degrees, convert them first using the RADIANS function or multiply by PI()/180.
While most office workers may not use trigonometry daily, CSC becomes valuable when working with waveforms, alternating current, signal processing, or any geometric modelling that involves reciprocal sine values. Students learning trigonometry can also use Excel to check homework or explore how the cosecant function behaves across different angles.
Imagine you are an engineering assistant analysing a set of angles for a structural load calculation. You have a column of angles in degrees and need the cosecant of each. Instead of manually computing 1/sin for every row, you can enter =CSC(RADIANS(A2)) and fill down. This saves time and reduces errors, especially when the dataset is large.
When to use CSC
- Calculating the cosecant of angles in trigonometry homework or exams.
- Analysing waveforms or alternating current where reciprocal sine values are needed.
- Solving geometry problems involving right triangles and reciprocal trigonometric ratios.
- Converting surveyor angle data into cosecant values for field calculations.
- Checking engineering formulas that include cosecant terms in Excel models.
- Teaching or demonstrating trigonometric identities in a classroom setting.
CSC syntax
=CSC(number)| Argument | Required? | What to enter |
|---|---|---|
number | Required | The angle in radians for which you want the cosecant. If you have degrees, convert them with RADIANS or multiply by PI()/180. Example: =CSC(1.047) returns approximately 1.1547 (cosecant of 60 degrees). |
What it returns: The cosecant of the given angle as a numeric value. If the angle is such that sine is zero (e.g., 0, PI, 2*PI), CSC returns #DIV/0! because division by zero occurs.
CSC examples
1 Basic cosecant of a single angle in radians
This example shows the simplest use of CSC. The angle 0.5236 radians is approximately 30 degrees. The formula =CSC(B2) returns the cosecant of that angle, which is about 2.0. Use this to verify the function's behaviour with a known value.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Angle (radians) | Cosecant | |||
| 2 | 0.5236 | 1.999995759 | |||
| 3 |
2 Cosecant of angles in degrees using RADIANS
Here the angles are given in degrees, which is common in many office and academic settings. The formula =CSC(RADIANS(A2)) first converts 30 degrees to radians (about 0.5236) and then computes the cosecant. The result is approximately 2.0. Fill the formula down for other angles.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Angle (degrees) | Cosecant | |||
| 2 | 30 | 2 | |||
| 3 | 45 | ||||
| 4 | 60 | ||||
| 5 |
3 Cosecant for a list of surveyor angles
A surveyor has recorded several angles in degrees and needs their cosecant values for a terrain model. The formula =CSC(RADIANS(A2)) converts each angle and returns the cosecant. For 10 degrees, the result is about 5.7588. This approach can be copied down the column for all readings.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Angle (degrees) | Cosecant | |||
| 2 | 10 | 5.758770483 | |||
| 3 | 20 | ||||
| 4 | 30 | ||||
| 5 | 40 | ||||
| 6 |
4 Using CSC with a cell reference in a physics problem
In a physics context, you might have an angle stored in a cell and need its cosecant for a wave calculation. The formula =CSC(B2) uses the radian value directly. For 1.0472 radians (about 60 degrees), the cosecant is approximately 1.1547. This demonstrates how CSC integrates with other spreadsheet data.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Description | Angle (radians) | Cosecant | |||
| 2 | Wave phase | 1.0472 | 1.154698906 | |||
| 3 |
5 Cosecant in a table of trigonometric functions
This example builds a small reference table for common angles in degrees. The formula =CSC(RADIANS(A2)) returns the cosecant for 15 degrees, which is about 3.8637. You can extend the table with more angles and copy the formula down. It is a handy way to create a quick lookup sheet.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Angle (degrees) | Cosecant | |||
| 2 | 15 | 3.863703305 | |||
| 3 | 30 | ||||
| 4 | 45 | ||||
| 5 | 60 | ||||
| 6 | 75 | ||||
| 7 |
Common CSC errors and how to fix them
| Error | Why it happens | How to fix it |
|---|---|---|
| #VALUE! | The number argument is non-numeric, such as text or a blank cell that is interpreted as text. | Ensure the cell contains a number. If referencing a cell, check that it is not formatted as text or contains hidden characters. |
| #DIV/0! | The angle is such that sine is zero (e.g., 0, PI, 2*PI), causing division by zero. | Avoid angles that are multiples of PI radians (180 degrees). Use an IF statement to handle these cases if needed. |
| #NUM! | The result is too large or too small for Excel to represent, often with very small angles near zero. | Check that the angle is not extremely close to zero. Consider whether the calculation is meaningful for such small angles. |
| #NAME? | The function name is misspelled or the Analysis ToolPak is not enabled in very old Excel versions. | Verify the spelling as CSC. In Excel 2007 and later, CSC is built-in; for older versions, install and enable the Analysis ToolPak. |
Tips for using CSC
- Always convert degrees to radians using RADIANS or multiply by PI()/180 before using CSC.
- Use CSC when you need the reciprocal of sine; for sine itself, use the SIN function.
- To avoid #DIV/0! errors, wrap the formula in IFERROR to display a custom message.
- Remember that CSC is the reciprocal of SIN, so CSC(x) = 1/SIN(x); you can use either form.
- When creating a table of trigonometric values, format the result cells to a fixed number of decimal places for readability.
Frequently asked questions
What is the CSC function in Excel?
CSC returns the cosecant of an angle specified in radians. It is the reciprocal of the sine function and is part of Excel's Math & Trigonometry functions.
How do I use CSC with degrees instead of radians?
Convert the degrees to radians first by using the RADIANS function, for example =CSC(RADIANS(30)), or multiply the angle by PI()/180.
Why does CSC return #DIV/0!?
The #DIV/0! error occurs when the sine of the angle is zero, which happens at 0, PI, 2*PI, etc. Cosecant is undefined at these angles because it involves division by zero.
Is CSC available in all versions of Excel?
CSC was introduced in Excel 2013. In earlier versions, you can use =1/SIN(number) as an alternative.
What is the difference between CSC and SIN?
SIN returns the sine of an angle, while CSC returns the cosecant, which is 1 divided by the sine. They are reciprocal functions.
Related functions
Every example on this page was recalculated by SheetSkill’s spreadsheet engine. CSC reference