Math & trig function

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)
ArgumentWhat it means
numberRequiredAny 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

B4fx=B2*(COSH(B3/B2)-1)
AB
1InputValue
2Catenary constant a (m)50
3Distance from lowest point (m)20
44.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

A1fx=COSH(0)
A
11

Result: 1

e⁰ = 1, so (1 + 1)/2 = 1: the lowest point of the curve.

⬇Practice workbookExamples with live formulas + practice sheets · .xlsx · 13 KB

Common errors and how to fix them

ErrorWhy it happensFix
#NUM!|number| larger than about 710.Scale the input.

Tips

  • COSH(x)^2 - SINH(x)^2 is 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.

LanguageFunction name
GermanCOSHYP