# TANH Function

> Return the hyperbolic tangent of a number with the TANH formula function of TX Sheet Control: syntax, the range of the result and an example with its result.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Function
- **Path:** TX Sheet Control > API Reference > Formula Functions > TANH Function
- **150 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/tanh/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/tanh/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/tanh/llms-full.txt

---

Return the hyperbolic tangent of a number. The hyperbolic tangent of `number` lies between -1 and 1.

### Syntax

```text
TANH(number)
```

Category: Math. Minimum arguments: 1. Maximum arguments: 1.

Available for supported offline calculation.

### Examples

```text
=TANH(0.5)
```

The formula returns 0.4621171573.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

### See Also

- [Formulas](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/formulas/llms-full.txt)
- [Custom Functions and Formula Data](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/custom-functions/llms-full.txt)

---

## Nearby

- **Previous:** [TAN Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/tan/llms-full.txt)
- **Next:** [TBILLEQ Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/tbilleq/llms-full.txt)
