TANH function
the hyperbolic tangent of a number.
Math and trigonometry
Where can you use it?
Reporting, manufacturing and engineering teams. When a total, rounding step or numerical transformation is needed, use the example to see which operation fits your inputs.
Scenario in the workbook
Hyperbolic tangent bounds the output between −1 and 1.
A worked example from the workbook
| Row | A |
|---|---|
| 6 | Input |
| 7 | -1 |
| 8 | 0 |
| 9 | 1 |
Record 1
=TANH(A7)Expected result-0.761594156
See the inputs and instructions for all 3 examplesCopyable formulas
English Excel · en-US
=TANH(0)Turkish Excel · tr-TR
=TANH(0)Expected result
0
Worked examples
Hyperbolic tangent bounds the output between −1 and 1.
Open the English sheet. Inputs begin at A6. F7:F9 show the live results and G7:G9 show the original results for comparison.
| Row | A |
|---|---|
| 6 | Input |
| 7 | -1 |
| 8 | 0 |
| 9 | 1 |
| Case | Formula | Expected result |
|---|---|---|
| Record 1 | =TANH(A7) |
-0.761594156 |
| Record 2 | =TANH(A8) |
0 |
| Record 3 | =TANH(A9) |
0.761594156 |