---
title: math.Cos
description: Returns the cosine of the given radian number.
categories: []
keywords: []
action:
  aliases: []
  related:
    - functions/math/Pi
    - functions/math/Sin
    - functions/math/Tan
    - functions/math/Asin
    - functions/math/Acos
    - functions/math/Atan
    - functions/math/Atan2
  returnType: float64
  signatures: [math.Cos VALUE]
---

{{< new-in 0.130.0 />}}

```go-html-template
{{ math.Cos 1 }} → 0.5403023058681398
```
