Skip to content

How to Use Excel COT Function?

Listen to this article.
COT FunctionPin
COT Function

Excel is a spreadsheet program that is developed for WindowsMacAndroid, and iOS. It helps to perform calculations on your PC. The purpose of this software is to do complicated calculations which are difficult to do manually. If you want to get the cotangent of an angle in the worksheet, then we suggest you use the COT function.

This article describes the usage of Excel COT Function with its syntax, description, and examples. Get an official version of MS Excel from the following link:

Excel COT FunctionPin
Excel COT Function

COT – Mathematical Explanation

In Trigonometry, we use different ratios such as Sine, Cosine, tangent, cosecant, secant, and cotangent. Here we will learn the purpose of the COT function.

Right angle triangle
Right angle triangle

Usually, the COT function helps to find the ratio between the sides of the right-angled triangle.

COT Function
COT Function

We can also find the Cotangent value using the following two formulas. These are the most commonly used formulas in mathematics.

Alternate Formulas
Alternate Formulas

Info: If you want to understand how the COT function works mathematically, then you can refer to the mathsisfun website. On that page, they have given every mathematical calculation easily which will help you learn math as simply as possible.

Description of COT Function

  • It is one of the built-in functions in Microsoft Excel.
  • This function returns the cotangent values (ratio) of the given (angle) radians.
  • To convert the degree value into radians, use RADIANS(number) function.
  • For example, RADIANS(0.52) returns the secant value as 1.732.


  • Here, you will see the syntax of the COT function.
  • To apply this function on your spreadsheet, you have to select a cell and enter the formula in the following format.
  • Once you enter the formula, just click on the Enter button to get the result.


Argument Explanation

Number – The angle in radians to which you need to find the cotangent value.

Note: If the argument is a non-numeric value (letters and special characters) and then it returns #VALUE! Error.


Here, we come up with some examples to know how to use the COT function in the Excel spreadsheet.

  • Initially, you have to open your Excel workbook on your PC and launch a worksheet that has data.
  • For example, we have given the degree values in Column B, and their corresponding radians in Column C.
  • Here, we will get the cotangent value of the given radians in Column E using the COT function.
Input DataPin
Input Data
  • Then, you have to enter the formula in the cell as shown below to get the result.
Enter the formulaPin
Enter the formula
  • After entering the formula, you need to click the Enter button to get the output, as shown below. You can drag down the cell to fill the remaining cells.

Input that Causes Error

  • If the argument is a non-numeric value (letters and special characters) and then it returns #VALUE! Error.
Value ErrorPin
Value Error


In this article, you can understand the usage of Excel COT Function with its syntax, description, and examples. Give your feedback in the comment section. To learn more about Excel functions, then visit our webpage

Video Tutorial

The following video will show you how to use the COT Function in the Excel worksheet.

Read Also:


Leave a Reply

Your email address will not be published. Required fields are marked *

Share to...