Skip to main content
 

Excel COT function

Author: Siluvia Last Modified: 2022-10-19

The COT function is used to calculate the cotangent of an angle in radians.

Note: This function is available in Excel for Microsoft 365, Excel 2013 and later versions.

Syntax

=COT(number)

Arguments

Number (required): The angle in radians for which you want to calculate the cotangent.

Remarks

1) The #VALUE! error occurs if “number” is non-numeric.
2) The #DIV/0! error occurs if “number” is equal to zero.
3) The #NUM! error occurs if one of the following conditions is met:
-- “number” is less than -2^27
Or
-- “number” is greater than 2^27
4) If your angles are in degrees, you need to convert them to radians by using the RADIANS function:
=RADIANS(degrees)

Return value

It returns a cotangent value.

Example

To calculate the cotangent of the angles in radians listed in the table below, the COT function can do you a favor.

Select a blank cell, such as D6 in this case, enter the following formula and press the Enter key to get the first result. Select the first result cell and drag its AutoFill Handle down to get the rest of the results.

=COT(B6)

Notes:

1) The formula above uses a cell reference as the argument, you can type the radians in the formula instead. The formula in the cell D6 can be changed to:
=COT(0)
2) If the supplied angles are in degrees, please convert them to radians before supplying to the COT function.
You can apply the RADIANS function to convert a degree number to radians:
=RADIANS(degree)
Or embed the RADIANS function directly into the COT function, such as:
=COT(RADIANS(degree))

Related Functions

Excel COSH Function
The COSH function returns the hyperbolic cosine of a given number.

Excel ACOSH Function
The ACOSH function returns the inverse hyperbolic cosine of a number.

Excel ACOT Function
The ACOT function calculates the arccotangent (inverse cotangent) of a number, and returns an angle, in radians, in the range from 0 (zero) to π (pi).

Excel COTH Function
The COTH function returns the hyperbolic cotangent of a hyperbolic angle in radians.

Excel ACOTH Function
The ACOTH function returns the inverse hyperbolic cotangent of a number.


The Best Office Productivity Tools

Kutools for Excel - Helps You To Stand Out From Crowd

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates  |  Delete Blank Rows  |  Combine Columns or Cells without Losing Data  |  Round without Formula ...
Super VLookup: Multiple Criteria  |  Multiple Value  |  Across Multi-Sheets  |  Fuzzy Lookup...
Adv. Drop-down List: Easy Drop Down List  |  Dependent Drop Down List  |  Multi-select Drop Down List...
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  Compare Columns to Select Same & Different Cells ...
Featured Features: Grid Focus  |  Design View  |  Big Formula Bar  |  Workbook & Sheet Manager | Resource Library (Auto Text)  |  Date Picker  |  Combine Worksheets  |  Encrypt/Decrypt Cells  |  Send Emails by List  |  Super Filter  |  Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters ...)  |  50+ Chart Types (Gantt Chart ...)  |  40+ Practical Formulas (Calculate age based on birthday ...)  |  19 Insertion Tools (Insert QR Code, Insert Picture from Path ...)  |  12 Conversion Tools (Numbers to Words, Currency Conversion ...)  |  7 Merge & Split Tools (Advanced Combine Rows, Split Excel Cells ...)  |  ... and more

Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need is Just A Click Away...


Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

  • One second to switch between dozens of open documents!
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.