Skip to main content
MedCalc
Mail a PDF copy of this page to:
(Your email address will not be added to a mailing list)
working
Show menu Show menu

TAN function

Description

Tangent function. TAN(x) returns the tangent of the angle x. The argument x must be expressed in radians. To convert degrees to radians you use the RADIANS function.

The tangent can be represented in terms of sine and cosine:

$$ \operatorname{tan}(x) = \frac{\operatorname{sin}(x)}{\operatorname{cos}(x)} $$

The argument x can be a real number, a complex number, or a matrix. When it is a matrix, the function returns a matrix with the same dimensions and with the TAN function applied to all elements.

Example

TAN(PI()/4) equals 1.

TAN(0) equals 0.

Calculator

TAN(  

Graph

TAN function

Related functions

External links