Excel functions / Math

COS function

The cosine of an angle given in radians.

Syntax

=COS(number)

Arguments

When to use it

COS gives the cosine of an angle in radians: in a right-angled triangle, the side next to the angle divided by the longest side. It turns a length and an angle into how far something reaches across.

Examples

  1. The cosine of 60 degrees

    ABC
    1Degrees
    2600.5

    In C2: =COS(RADIANS(A2)) → 0.5

    Try this example

  2. How far a 10 m ladder at 75 degrees stands from the wall

    ABCD
    1LengthAngle
    210752.59

    In D2: =A2*COS(RADIANS(B2)) → 2.59

    Try this example

Common mistakes

COS in other languages

Excel shows function names in its own language. In these languages it also puts a semicolon between arguments where English has a comma.

Translate a whole formula

Try COS in the playground

Related functions