Category: FUNCTION | Updated: 2026-11-22
[COS Function] How to Calculate the Cosine of an Angle (in Radians)
Syntax
=COS(angle)
- angle: The angle, in radians, for which you want to calculate the cosine.
Example Table
Examples of calculating cosine (cos) values from angles in degrees.
| Angle (Degrees) | Formula | Output | Explanation |
|---|---|---|---|
| 0 | =COS(RADIANS(A2)) |
1 | cos(0°) = 1 |
| 60 | =COS(RADIANS(A3)) |
0.5 | cos(60°) = 1/2 |
| 90 | =ROUND(COS(RADIANS(A4)), 10) |
0 | cos(90°) = 0 |
| 180 | =COS(RADIANS(A5)) |
-1 | cos(180°) = -1 |
Common Errors and Caveats
- #VALUE! error: Occurs if you pass a text string as the argument.
- Forgetting to convert to radians: Entering
COS(60)calculates the cosine of 60 radians, not 60 degrees. Always useRADIANSwhen working with degree values.
Frequently Asked Questions
Q. How do I write a formula to find the cosine of 60 degrees?
A. Since COS expects radians, write "=COS(RADIANS(60))". This returns the correct value of 0.5.
Q. Why doesn't COS(RADIANS(90)) return exactly 0?
A. Due to tiny floating-point precision limits in the internal calculation of pi, it returns a value extremely close to 0, such as 6.12323E-17. Combine it with ROUND, like "=ROUND(COS(RADIANS(90)), 10)", to display 0.