Tanh Calculator
Evaluate the hyperbolic tangent of a real number between −20 and 20 using its exponential definition.
Formula
tanh(x)=(e^(2x)−1)/(e^(2x)+1).
Hyperbolic tangent ≈ (exp(2×(1))-1)÷(exp(2×(1))+1)
How to use
- Enter a real value from −20 to 20.
- Use a dimensionless value, with no degree conversion.
- Read the hyperbolic tangent.
Examples
- For x=ln(3)/2≈0.549306, tanh(x)=(3−1)/(3+1)=0.5.
Frequently asked questions
Is tanh the same as tan?
No. Tanh is a hyperbolic function built from exponentials, not the circular tangent.
What is its range?
For finite real inputs, the exact result lies strictly between −1 and 1; rounding can show an endpoint.
How does tanh behave for negative inputs?
It is odd: tanh(−x)=−tanh(x), and tanh(0)=0.
Sources
Updated: