COS
Returns the cosine of an angle specified in radians.
COS(number)Arguments
numberThe angle in radians
=COS(0)Cosine of 0 radians is 1
=COS(PI())Cosine of PI radians (180 degrees) is -1
=COS(RADIANS(60))Cosine of 60 degrees is 0.5
- •Argument must be in radians, use RADIANS() to convert degrees
- •Result is always between -1 and 1
- •COS(0) = 1, COS(PI()) = -1
- •Passing an angle in degrees directly to COS without converting it first - COS expects radians, so COS(90) doesn't give the cosine of 90 degrees, and RADIANS(90) needs to be used instead
- •Expecting COS(0) or similar familiar values to return a perfectly round decimal - floating-point precision can produce results like 1 or extremely close to it but not always displayed as a perfectly clean number
- •Confusing COS with ACOS - COS takes an angle and returns a ratio, while ACOS takes a ratio and returns an angle, and using the wrong one inverts the intended calculation
Why doesn't COS(90) give me 0 like the cosine of 90 degrees should?
COS expects its input in radians, not degrees. Use COS(RADIANS(90)) to correctly calculate the cosine of a 90-degree angle.
What's the difference between COS and ACOS?
COS takes an angle (in radians) and returns a ratio between -1 and 1. ACOS does the reverse - it takes that ratio and returns the corresponding angle.
Why does COS(0) sometimes not look like a clean 1?
Floating-point arithmetic can introduce tiny precision artifacts, though COS(0) should return exactly 1 in practice - very close results for other angles are more commonly affected by this.
Need to translate a formula using COS?
Use our translator to convert your complete formula
