# Documentation/How Tos/Calc: TAN function

From Apache OpenOffice Wiki

## TAN

Returns the tangent of the given angle (in radians).

### Syntax:

**TAN(angle)**

- returns the (trigonometric) tangent of
, the angle in radians.**angle**

- To return the tangent of an angle in degrees, use the
function.**RADIANS**

### Example:

**TAN(PI()/4)**

- returns
, the tangent of**1**radians.**PI/4**

**TAN(RADIANS(45))**

- returns
, the tangent of**1**degrees.**45**