# Tangent function (tan)

Tangent of an angle in radians.

## How to write it

### tan(x)

**x**

An angle in radians. Takes an expression.

## Examples

- $\displaystyle \tan\left(\frac{\pi}{4}\right) = 1$

  `tan(pi/4)`

  In the solver, `tan(pi/4)` gives `1`.

  [Open in the solver](https://hilberon.com/?q=tan%28pi%2F4%29)

## Related functions

- [tanh](https://hilberon.com/library/tanh)

  Hyperbolic tangent.
- [sinh](https://hilberon.com/library/sinh)

  Hyperbolic sine.
- [trig_expand](https://hilberon.com/library/trig_expand)

  Expand trigonometric functions of sums and multiples of angles.
- [sin](https://hilberon.com/library/sin)

  Sine of an angle in radians.
- [trig_reduce](https://hilberon.com/library/trig_reduce)

  Rewrite powers and products of trigonometric functions as functions of multiple angles.
- [sech](https://hilberon.com/library/sech)

  Hyperbolic secant.

---
Source: https://hilberon.com/library/tan
