### Excel TAN Function

##### Associated Files Download Links

In this Article

This Excel Tutorial demonstrates how to use the **Excel TAN Function** in Excel to calculate the tangent, with formula examples.

## TAN Function Description:

The TAN Function Calculates the tangent of an angle.

## Formula Examples:

Example | Formula | Result |
---|---|---|

1 | =TAN(C5) | -6.40533119664628 |

2 | =TAN(C6) | -1.99520041220824 |

3 | =TAN(C7) | 0.713123009785909 |

## Syntax and Arguments:

The Syntax for the TAN Formula is:

1 |
=TAN(number) |

### Function Arguments ( Inputs ):

**number** – A number.

## Additional Notes

Use the TAN Function to calculate the tangent of an angle. Simply enter the angle directly into the function or reference a cell containing the angle.

## TAN Examples in VBA

You can also use the TAN function in VBA. Type:

`application.worksheetfunction.tan(number)`

For the function arguments (number, etc.), you can either enter them directly into the function, or define variables to use instead.

Return to the List of all Functions in Excel

## How to use the TAN Function in Excel:

To use the AND Excel Worksheet Function, type the following into a cell:

`=AND(`

After entering it in the cell, notice how the AND formula inputs appear below the cell:

You will need to enter these inputs into the function. The function inputs are covered in more detail in the next section. However, if you ever need more help with the function, after typing “=TAN(” into a cell, without leaving the cell, use the shortcut **CTRL + A** (**A** for **A**rguments) to open the “Insert Function Dialog Box” for detailed instructions:

For more information about the TAN Formula visit the

Microsoft Website.