Excel
COS function in Excel
Returns the cosine of a number
=COS(number)COS syntax and parameters
One argument, one required.
- numbernumberRequired
The angle in radians for which you want the cosine.
COS examples
Formulas you'll actually reuse.
Cosine of 60° — convert degrees first, trig functions take radians:
=COS(RADIANS(60))Result
0.5Cosine of PI() radians:
=COS(PI())Result
-1
COS in Google Sheets
Same name — your formula ports as-is.
Try COS in the playground
Edit the example — nothing to install.
Preloaded with the COS formula from Example 1 — change anything and watch it respond.
Loading the editor…
Related functions
More ways Excel gets this done.
- ABSReturns the absolute value of a numberMathGoogle Sheets
- ACOSReturns the arccosine of a numberMathGoogle Sheets
- ACOSHReturns the inverse hyperbolic cosine of a numberMathGoogle Sheets
- ACOTReturns the arccotangent of a numberMathGoogle Sheets
- ACOTHReturns the hyperbolic arccotangent of a numberMathGoogle Sheets
- AGGREGATEReturns an aggregate in a list or databaseMathNo Google Sheets equivalent