The ACOT function is a mathematical function in Excel (and in other programming languages) that calculates the arccotangent of a given number. The arccotangent (also known as the inverse cotangent) is the angle whose cotangent is equal to a given number.