Excel
TANH function in Excel
Returns the hyperbolic tangent of a number
=TANH(number)TANH syntax and parameters
One argument, one required.
- numbernumberRequired
Any real number.
TANH examples
Formulas you'll actually reuse.
Hyperbolic tangent — squashes any input into −1…1:
=TANH(B2)Result
0.7616A soft 0–100 score from an unbounded input:
=TANH(B2 / 2) * 100Result
46.21
TANH in Google Sheets
Same name — your formula ports as-is.
Try TANH in the playground
Edit the example — nothing to install.
Preloaded with the TANH formula from Example 1 — change anything and watch it respond.
Loading the editor…
Related functions
More ways Excel gets this done.
- ABSReturns the absolute value of a numberMathGoogle Sheets
- ACOSReturns the arccosine of a numberMathGoogle Sheets
- ACOSHReturns the inverse hyperbolic cosine of a numberMathGoogle Sheets
- ACOTReturns the arccotangent of a numberMathGoogle Sheets
- ACOTHReturns the hyperbolic arccotangent of a numberMathGoogle Sheets
- AGGREGATEReturns an aggregate in a list or databaseMathNo Google Sheets equivalent