Excel functions / Math
COS function
The cosine of an angle given in radians.
Syntax
=COS(number)
Arguments
number: The angle, in radians. Wrap degrees in RADIANS().
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
The cosine of 60 degrees
A B C 1 Degrees 2 60 0.5 In C2:
=COS(RADIANS(A2))→ 0.5How far a 10 m ladder at 75 degrees stands from the wall
A B C D 1 Length Angle 2 10 75 2.59 In D2:
=A2*COS(RADIANS(B2))→ 2.59
Common mistakes
- Degrees. Excel works in radians. Wrap an angle in degrees in RADIANS, and a result in DEGREES to read it in degrees.
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.
- Czech: COS
- Danish: COS
- Dutch: COS
- Finnish: COS
- French: COS
- German: COS
- Hungarian: COS
- Italian: COS
- Norwegian: COS
- Polish: COS
- Portuguese (Brazil): COS
- Portuguese (Portugal): COS
- Russian: COS
- Spanish: COS
- Swedish: COS
- Turkish: COS