# (tan angle)
[GstarCAD 2011](../../../Index.md) → [Developer Reference](../../%28Developer%20Reference%29.md) → [AutoLISP Reference](../%28AutoLISP%20Reference%29.md) → [LISP Functions](%28LISP%20Functions%29.md)
<!-- help-structure:notice -->
> **Source status:** This source topic has 1 recorded inherited issue(s). [Source issue details](../../../Source%20Issues.md).
<!-- /help-structure:notice -->
<a id="288"></a>
## (tan angle)
---
Determine the tangent of an angle.
---
This function returns the tangent of an *angle*. The *angle* must be in radians. The result is a [real number](../../../Source%20Issues.md#issue-bf7b053449888a8f).
### Examples
| Code | Returns |
| --- | --- |
| (**tan** 0\) | 0.00000 |
| (**tan** (/ pi 4)) | 1.00000 |
| (**tan** pi) | 0.00000 |
**Tell me about...**
[(atan number1 \[number2\])](%28atan%20number1%20-number2-%29.md)
[(cos angle)](IDR_LISP_B147.md)
[(sin angle)](%28sin%20angle%29.md)
[LISP Compatibility](../LISP%20Compatibility.md)
[pi](pi.md)
[Programming Overview of LISP (LISt Processing) Language](../Programming%20Overview%20of%20LISP%20%28LISt%20Processing%29%20Language.md)
<a id="holding"></a>
## Other versions with matching text
[GstarCAD 2012](../../../../2012/Developer%20Reference/AutoLISP%20Reference/LISP%20Functions/%28tan%20angle%29.md)