User Rating 0.0
Total Usage 0 times
Enter any real number
Angle Unit:
Presets:
Is this tool helpful?

Your feedback helps us improve.

About

Hyperbolic cosine, denoted cosh(x), is defined as the even part of the exponential function: cosh(x) = (ex + ex) ÷ 2. Unlike trigonometric cosine which oscillates between −1 and 1, cosh is always 1 and grows exponentially. It describes the shape of a catenary curve: a uniform chain hanging under gravity. Errors in catenary calculations propagate into cable sag, arch stress, and suspension bridge geometry. This calculator computes cosh(x) for arbitrary real x in radians or degrees, provides the inverse acosh, and shows the Taylor series partial sum for verification.

The tool assumes standard IEEE 754 double-precision arithmetic. Results lose significance beyond approximately 15 decimal digits. For |x| > 710 (radians), overflow to Infinity occurs because e710 exceeds the representable range. Pro tip: when converting degrees to radians, accumulated floating-point rounding means cosh(360°) will not exactly equal cosh(0) due to the intermediate multiplication by π ÷ 180.

cosh hyperbolic cosine cosh calculator hyperbolic functions math calculator cosh formula

Formulas

The primary definition of hyperbolic cosine uses the exponential function:

cosh(x) = ex + ex2

The Taylor series expansion around x = 0:

cosh(x) = n=0 x2n(2n)! = 1 + x22! + x44! + x66! +

The inverse hyperbolic cosine for x 1:

acosh(x) = ln(x + x2 1)

Degree to radian conversion applied before computation:

xrad = xdeg × π180

Key identity linking hyperbolic functions:

cosh2(x) sinh2(x) = 1

Where x is the input value in radians, e is Euler's number ( 2.71828), π 3.14159, and ln denotes the natural logarithm.

Reference Data

x radcosh(x)sinh(x)tanh(x)ex
0.01.0000000.0000000.0000001.000000
0.51.1276260.5210950.4621171.648721
1.01.5430811.1752010.7615942.718282
1.52.3524102.1292790.9051484.481689
2.03.7621963.6268600.9640287.389056
2.56.1322896.0502040.98661412.182494
3.010.06766210.0178750.99505520.085537
3.516.57282416.5426270.99817833.115452
4.027.30823327.2899170.99932954.598150
4.545.01412045.0030110.99975390.017131
5.074.20994974.2032110.999909148.413159
6.0201.715636201.7131570.999988403.428793
7.0548.317035548.3161230.9999981096.633158
8.01490.4791611490.4788260.9999992980.957987
10.011013.23292011013.232875≈1.00000022026.465795
1.01.5430811.1752010.7615940.367879
2.03.7621963.6268600.9640280.135335
3.010.06766210.0178750.9950550.049787
5.074.20994974.2032110.9999090.006738

Frequently Asked Questions

By definition, cosh(x) = (eˣ + e⁻ˣ) / 2. Both eˣ and e⁻ˣ are strictly positive for all real x. By the AM-GM inequality, their arithmetic mean is always ≥ √(eˣ · e⁻ˣ) = √(1) = 1. The minimum occurs at x = 0, where cosh(0) = 1 exactly.
cos(x) is the trigonometric cosine, periodic with period 2π, bounded between −1 and 1, and defined on the unit circle. cosh(x) is the hyperbolic cosine, non-periodic, unbounded (grows exponentially), and defined on the unit hyperbola x² − y² = 1. They are related by cosh(ix) = cos(x), connecting them via complex numbers.
The maximum representable double-precision float is approximately 1.7976931 × 10³⁰⁸. Since cosh(x) ≈ eˣ/2 for large x, overflow occurs when eˣ/2 exceeds this limit. This happens at |x| ≈ 710.48. For inputs beyond ±710 radians, this calculator will return Infinity and display a warning.
Converting degrees to radians multiplies by π/180. Since π is irrational and IEEE 754 stores it with ~15.9 significant digits, the conversion introduces a small rounding error of order 10⁻¹⁶. For large degree values (e.g., 10000°), this error is amplified by the exponential growth of cosh, potentially shifting the last 2-3 displayed digits.
For |x| ≤ 1, 6 terms (up to x¹⁰/10!) give approximately 15 digits of accuracy. For |x| = 5, roughly 15-20 terms are required. The series converges for all real x, but convergence slows dramatically for large |x|. This calculator shows the first 10 terms of the series expansion for educational comparison against the exact value.
The catenary curve y = a·cosh(x/a) describes hanging cables (power lines, suspension bridges). Errors in cosh directly translate to incorrect sag calculations. In thermal physics, the Langevin function uses cosh for magnetic susceptibility. In special relativity, rapidity addition uses cosh for Lorentz factor computation. Neural network activation functions (e.g., Mish) also employ cosh internally.
This calculator is designed for real-valued inputs only. For complex z = a + bi, the identity cosh(z) = cosh(a)cos(b) + i·sinh(a)sin(b) applies, but implementing complex arithmetic is outside the scope of this tool. The calculator will reject non-numeric inputs and display an error toast.