|
TAN
Returns the tangent of the given angle.
Syntax
TAN(number)
Number is 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
The example may be easier to understand if you copy it to a blank spreadsheet.
- Create a blank spreadsheet.
- Select the example in the Help topic.
![]()
Selecting an example from Help
- Press CTRL+C.
- In the spreadsheet, select cell A1, and press CTRL+V.
- To switch between viewing the formula that returns the result and the result in the cell, select the cell and press F2 and then ENTER, or click Commands and Options on the spreadsheet toolbar, click the Formula tab, and look in the Formula in active cell (active cell) box.
Formula | Description (Result) |
---|---|
=TAN(0.785) | Tangent of 0.785 radians (0.99920) |
=TAN(45*PI()/180) | Tangent of 45 degrees (1) |
=TAN(RADIANS(45)) | Tangent of 45 degrees (1) |