The COS function is a mathematical function in Excel (and in other programming languages) that calculates the cosine of a given angle. The cosine of an angle is the ratio of the adjacent side of a right triangle to the hypotenuse, where the angle is one of the acute angles of the triangle.
The input for the COS function is an angle in radians. The output is the cosine of the angle.