This article describes the formula syntax and usage of the TAN function in Microsoft Excel.
Description
Returns the tangent of the given angle.
Syntax
TAN(number)
The TAN function syntax has the following arguments:
-
Number Required. The angle in radians for which you want the tangent.
Remark
If your argument is in degrees, multiply it by PI()/180 or use the RADIANS function to convert it to radians.
Example
Copy the example data in the following table, and paste it in cell A1 of a new Excel worksheet. For formulas to show results, select them, press F2, and then press Enter. If you need to, you can adjust the column widths to see all the data.
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 |