Skip to content
Calculator Trigonometri
Calculator Trigonometri

Hyperbolic Tangent Calculator

Calculate tanh values.

Hyperbolic Functions

Interactive Hyperbolic Tangent Calculator

Result
0.70710678

sin(45°) = 0.70710678

How Hyperbolic Tangent Calculator Works?

The Hyperbolic Tangent Calculator works by dividing sinh(x) by cosh(x), which gives a value strictly between −1 and 1.

  1. Enter x. Any real number.
  2. Compute sinh and cosh. Or use (e²ˣ − 1)/(e²ˣ + 1).
  3. Divide. tanh(1) ≈ 0.76159.
  4. Read tanh(x). Large |x| gives values close to ±1.

Hyperbolic Tangent Calculator Formula

The hyperbolic tangent formula is tanh(x) = sinh(x)/cosh(x) = (eˣ − e⁻ˣ)/(eˣ + e⁻ˣ).

Definition: tanh x = sinh x / cosh x
Exponential: tanh x = (e²ˣ − 1) / (e²ˣ + 1)
Derivative: d/dx tanh x = 1 − tanh²x = sech²x
Sigmoid link: tanh x = 2σ(2x) − 1

Worked Example

Find tanh(0.5). sinh(0.5) ≈ 0.52110 and cosh(0.5) ≈ 1.12763. tanh(0.5) ≈ 0.46212.

Hyperbolic Tangent Calculator Conversion Table

The hyperbolic tangent conversion table lists tanh(x) for 9 inputs.

xtanh x1 − tanh²x (slope)
−3−0.99510.0099
−2−0.9640.0707
−1−0.76160.42
−0.5−0.46210.7864
001
0.50.46210.7864
10.76160.42
20.9640.0707
30.99510.0099

What is Hyperbolic Tangent Calculator?

A Hyperbolic Tangent Calculator is a tool that computes tanh(x), an S-shaped function bounded between −1 and 1.

tanh is odd, increasing, and has horizontal asymptotes y = −1 and y = 1. The slope at x = 0 equals 1.

tanh is a common activation function in neural networks, including recurrent networks such as LSTMs.

What are the uses of Hyperbolic Tangent Calculator?

There are 4 main uses of a Hyperbolic Tangent Calculator.

  • Machine learning: Compute tanh activations and their gradients.
  • Relativity: Convert rapidity to velocity, v = c·tanh(φ).
  • Water waves: Use the dispersion relation ω² = gk·tanh(kh).
  • Magnetism: Model magnetization curves in the Ising model.

Related Hyperbolic Functions

View all 182 tools →