IMCOSH function
Returns the hyperbolic cosine of a complex number, cosh(x)cos(y) + i·sinh(x)sin(y).
Available in Excel 2013 and later, Microsoft 365, Excel for the web, Excel for Mac 2016 and later
Excel 2013 and laterWorks in Google Sheets
Syntax
IMCOSH(inumber)| Argument | What it means | |
|---|---|---|
inumber | Required | A complex number as text such as "3+4i" or "5-2j", a cell containing one, or a plain number. Build it with COMPLEX to avoid typing errors. |
Returns: A complex number as text.
How IMCOSH works
IMCOSH returns the hyperbolic cosine of a complex number: cosh(x + yi) = cosh x·cos y + i·sinh x·sin y. On the imaginary axis it becomes the ordinary cosine: cosh(iy) = cos y. Like all IM functions, it reads complex numbers written as text (x+yi or x+yj) and returns its answer as text with up to 15 significant digits, so you can feed the result straight into another IM function.
On a long transmission line, the sending-end voltage is V_R·cosh(γℓ) + I_R·Z0·sinh(γℓ), with a complex propagation constant γ — exactly the kind of formula IMCOSH and IMSINH let you build in a sheet.
Examples
1Evaluate at the imaginary unit i
| A | B | |
|---|---|---|
| 1 | Complex number | |
| 2 | i | 0.54030230586814 |
Result: 0.54030230586814
cosh(i) = cos(1) ≈ 0.5403, a real number.
2Hyperbolic cosine of 4+3i
| A | B | |
|---|---|---|
| 1 | Complex | |
| 2 | 4+3i | -27.0349456030742+3.85115333481178i |
Result: -27.0349456030742+3.85115333481178i
cosh 4·cos 3 ≈ 27.31 × (-0.99) ≈ -27.03 and sinh 4·sin 3 ≈ 27.29 × 0.1411 ≈ 3.851.
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#NUM! | The text is not a valid complex number — for example it contains spaces (3 + 4i), a capital I, or a misplaced sign. | Create the value with COMPLEX or remove spaces with SUBSTITUTE. |
#VALUE! | The argument is a logical value, or the formula mixes the i and j suffixes. | Use one suffix consistently throughout a calculation. |
Tips
Google Sheets
IMCOSH also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.
IMCOSH in other languages
In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.
| Language | Function name |
|---|---|
| Danish | IMAGCOSH |
| Dutch | C.COSH |
| French | COMPLEXE.COSH |
| German | IMCOSHYP |
| Hungarian | KÉPZ.COSH |
| Italian | COMP.COSH |
| Polish | COSH.LICZBY.ZESP |
| Russian | МНИМ.COSH |
| Spanish | IM.COSH |
| Turkish | SANCOSH |