Skip to content
ExcelExcel 2013+

COTH function in Excel

Returns the cotangent of an angle

=COTH(number)

COTH syntax and parameters

One argument, one required.

  • numbernumberRequired

COTH examples

Formulas you'll actually reuse.

  1. Hyperbolic cotangent — the reciprocal of TANH:

    =COTH(B2)

    Result1.3130

  2. Reciprocals multiply to 1 — a quick identity check:

    =COTH(B2) * TANH(B2)

    Result1

COTH in Google Sheets

Same name — your formula ports as-is.

Try COTH in the playground

Edit the example — nothing to install.

Preloaded with the COTH formula from Example 1 — change anything and watch it respond.

Loading the editor…

COTH errors

What they mean — and the fixes.

  • #DIV/0!

    COTH(0) is undefined — TANH(0) is 0.