# TANH function: Description, Usage, Syntax, Examples and Explanation

## What is TANH function in Excel?

TANH function is one of the Math and Trig functions in Microsoft Excel that returns the hyperbolic tangent of a number.

## Syntax of TANH function

TANH(number)

The TANH function syntax has the following arguments:

**Number:**Any real number.

## TANH formula explanation

The formula for the hyperbolic tangent is:

## Example of TANH function

Steps to follow:

1. Open a new Excel worksheet.

2. Copy data in the following table below and paste it in cell A1

Note: For formulas to show results, select them, press F2 key on your keyboard and then press Enter.

You can adjust the column widths to see all the data, if need be.

Formula |
Description (Result) |
Result |

=TANH(-2) | Hyperbolic tangent of -2 (-0.96403) | -0.964028 |

=TANH(0) | Hyperbolic tangent of 0 (0) | 0 |

=TANH(0.5) | Hyperbolic tangent of 0.5 (0.462117) | 0.462117 |