TAN function: Description, Usage, Syntax, Examples and Explanation
What is TAN function in Excel?
TAN function is one of the Math and Trig functions in Microsoft Excel that returns the tangent of the given angle.
Syntax of TAN function
TAN(number)
The TAN function syntax has the following arguments:
- Number: The angle in radians for which you want the tangent.
TAN formula explanation
If your argument is in degrees, multiply it by PI()/180 or use the RADIANS function to convert it to radians.
Example of TAN 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 |
=TAN(0.785) | Tangent of 0.785 radians (0.99920) | 0.99920 |
=TAN(45*PI()/180) | Tangent of 45 degrees (1) | 1 |
=TAN(RADIANS(45)) | Tangent of 45 degrees (1) | 1 |