ExcelExcel 2013+
COT function in Excel
Returns the hyperbolic cosine of a number
=COT(number)COT syntax and parameters
One argument, one required.
- numbernumberRequired
The angle in radians for which you want the cotangent.
COT examples
Formulas you'll actually reuse.
Cotangent of 45° — the reciprocal of TAN:
=COT(RADIANS(45))Result
1Back to the tangent — COT and TAN are reciprocals:
=1 / COT(B2)Result
1.7321
COT in Google Sheets
Same name — your formula ports as-is.
Try COT in the playground
Edit the example — nothing to install.
Preloaded with the COT formula from Example 1 — change anything and watch it respond.
Loading the editor…
COT errors
What they mean — and the fixes.
#DIV/0!COT(0) divides by TAN(0) — the angle can't be a multiple of π.
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