# cosh

> For the complete documentation index, see [llms.txt](https://docs.redpanda.com/llms.txt). Component-specific: [cloud-data-platform-full.txt](https://docs.redpanda.com/cloud-data-platform-full.txt)

---
title: cosh
latest-operator-version: v26.1.4
latest-console-tag: v3.7.3
latest-connect-version: 4.93.0
latest-redpanda-tag: v26.1.9
docname: sql/sql-functions/math-functions/cosh
page-component-name: cloud-data-platform
page-version: master
page-component-version: master
page-component-title: Cloud
page-relative-src-path: sql/sql-functions/math-functions/cosh.adoc
page-edit-url: https://github.com/redpanda-data/cloud-docs/edit/main/modules/reference/pages/sql/sql-functions/math-functions/cosh.adoc
description: The `cosh()` function returns the hyperbolic cosine of a specified numeric argument.
page-topic-type: reference
page-git-created-date: "2026-05-26"
page-git-modified-date: "2026-05-26"
---

<!-- Source: https://docs.redpanda.com/cloud-data-platform/reference/sql/sql-functions/math-functions/cosh.md -->

The `cosh()` function returns the hyperbolic cosine of a specified numeric argument.

## [](#syntax)Syntax

```sql
COSH(x)
```

## [](#arguments)Arguments

-   `x`: A positive or negative number of type `real` or `double precision`.


## [](#return-type)Return type

Same as the input type (`real` or `double precision`).

## [](#examples)Examples

### [](#positive-value)Positive value

```sql
SELECT COSH(1);
```

```sql
       cosh
--------------------
 1.5430806348152437
(1 row)
```

### [](#zero)Zero

```sql
SELECT COSH(0);
```

```sql
 cosh
------
    1
(1 row)
```

### [](#negative-value)Negative value

`cosh` is symmetric, so `COSH(-x)` returns the same result as `COSH(x)`:

```sql
SELECT COSH(-1);
```

```sql
       cosh
--------------------
 1.5430806348152437
(1 row)
```