# ACOT function

This article describes the formula syntax and usage of the ACOT function (function: A prewritten formula that takes a value or values, performs an operation, and returns a value or values. Use functions to simplify and shorten formulas on a worksheet, especially those that perform lengthy or complex calculations.) in Microsoft Excel.

## Description

Returns the principal value of the arccotangent, or inverse cotangent, of a number.

## Syntax

`ACOT(number)`

The ACOT function syntax has the following arguments.

• Number    Required. Number is the cotangent of the angle you want. This must be a real number.

## Remarks

• The returned angle is given in radians in the range 0 (zero) to pi.
• If Number is a non-numeric value, ACOT returns the #VALUE! error value.
• Use the DEGREES function or multiply by 180/PI() to convert the result from radians to degrees.

## Example

The workbook below shows examples of this function. Inspect them, change existing formulas, or enter your own formulas to learn how the function works.

To work more in-depth with the example data in Excel, download the embedded workbook to your computer, and then open it in Excel.

Applies to:
Excel 2013, Excel Online