Hyperbolic Tangent Calculator

Enter any real number to instantly compute its hyperbolic tangent (tanh) and inverse hyperbolic tangent (arctanh).

Calculate tanh(x)

Input as:

Batch Input

Enter a value on the left and click Calculate.

Copied!

Summary

Enter any real number to instantly compute its hyperbolic tangent (tanh) and inverse hyperbolic tangent (arctanh).

How it works

  1. Enter any real number in the input field.
  2. The calculator evaluates tanh(x) = (e^x − e^−x) / (e^x + e^−x) instantly.
  3. If your input is in the range (−1, 1), the inverse arctanh(x) = 0.5 × ln((1+x)/(1−x)) is also shown.
  4. Results are displayed to 10 significant figures with a radians/degrees angle toggle.
  5. Use the batch section to compute tanh for a comma-separated list of values at once.

Use cases

  • Verifying tanh activation function values when debugging neural networks.
  • Computing relativistic velocity additions in special relativity (tanh of rapidity).
  • Solving hyperbolic geometry problems in mathematics courses.
  • Checking arctanh results when fitting sigmoid curves to data.
  • Teaching hyperbolic functions interactively with instant feedback.
  • Engineering signal analysis involving hyperbolic wave models.

Frequently Asked Questions

Last updated: 2026-06-13 · Reviewed by Nham Vu