totn Excel Functions

MS Excel: How to use the TANH Function (WS)

This Excel tutorial explains how to use the Excel TANH function with syntax and examples.

Description

The Microsoft Excel TANH function returns the hyperbolic tangent of a number.

The TANH function is a built-in function in Excel that is categorized as a Math/Trig Function. It can be used as a worksheet function (WS) in Excel. As a worksheet function, the TANH function can be entered as part of a formula in a cell of a worksheet.

Syntax

The syntax for the TANH function in Microsoft Excel is:

TANH( number )

Parameters or Arguments

number
A numeric value used to calculate the hyperbolic tangent.

Returns

The TANH function returns a numeric value.

Applies To

  • Excel for Office 365, Excel 2019, Excel 2016, Excel 2013, Excel 2011 for Mac, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000

Type of Function

  • Worksheet function (WS)

Example (as Worksheet Function)

Let's look at some Excel TANH function examples and explore how to use the TANH function as a worksheet function in Microsoft Excel:

Microsoft Excel

Based on the Excel spreadsheet above, the following TANH examples would return:

=TANH(A1)
Result: 0.995054754

=TANH(A2)
Result: 0.999939137

=TANH(A3)
Result: -0.999939137

=TANH(2)
Result: 0.96402758