COSH function
Returns the hyperbolic cosine of a number, the shape of a hanging cable or chain (catenary).
Available in All versions of Excel, Excel for the web, Excel for Mac
In every Excel versionWorks in Google Sheets
Syntax
COSH(number)| Argument | What it means | |
|---|---|---|
number | Required | Any real number. |
Returns: (eˣ + e⁻ˣ) / 2, always 1 or more.
How COSH works
The hyperbolic cosine is defined with exponentials, (eˣ + e⁻ˣ)/2, not with circles. Its graph is the catenary, the curve a cable, chain or power line takes when it hangs freely between two supports. Engineers use a*COSH(x/a) to calculate the height of a cable at a horizontal distance x from its lowest point, where a depends on tension and weight.
COSH is symmetrical (COSH(−x) = COSH(x)), equals 1 at 0 and grows quickly for large values; above about 710 it overflows to #NUM!. Its partners are SINH and TANH, and ACOSH reverses it.
Examples
1Sag of a power line
| A | B | |
|---|---|---|
| 1 | Input | Value |
| 2 | Catenary constant a (m) | 50 |
| 3 | Distance from lowest point (m) | 20 |
| 4 | 4.05 |
Result: 4.05
At 20 m from the lowest point the cable is 50 × (cosh 0.4 − 1) ≈ 4.05 m higher (2 decimals), so a 40 m span sags about 4 m.
2Hyperbolic cosine of zero
| A | |
|---|---|
| 1 | 1 |
Result: 1
e⁰ = 1, so (1 + 1)/2 = 1: the lowest point of the curve.
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#NUM! | |number| larger than about 710. | Scale the input. |
Tips
COSH(x)^2 - SINH(x)^2is always 1, a quick sanity check.
Google Sheets
COSH also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.
COSH 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 |
|---|---|
| German | COSHYP |