# degrees

> 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: degrees
latest-operator-version: v26.2.4
latest-console-tag: v3.12.0
latest-connect-version: 4.113.1
latest-redpanda-tag: v26.2.4
docname: sql/sql-functions/math-functions/degrees
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/degrees.adoc
page-edit-url: https://github.com/redpanda-data/cloud-docs/edit/main/modules/reference/pages/sql/sql-functions/math-functions/degrees.adoc
description: The `degrees()` function converts a value expressed in radians to degrees.
page-topic-type: reference
page-git-created-date: "2026-09-08"
page-git-modified-date: "2026-09-08"
---

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

The `degrees()` function converts a value expressed in radians to degrees. See also [`radians()`](https://docs.redpanda.com/cloud-data-platform/reference/sql/sql-functions/math-functions/radians/) to convert in the opposite direction.

## [](#syntax)Syntax

```sql
DEGREES(x)
```

## [](#arguments)Arguments

-   `x`: A value, in radians, of type `double precision`.


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

`double precision`

## [](#examples)Examples

### [](#convert-pi-radians-to-degrees)Convert pi radians to degrees

```sql
SELECT DEGREES(PI());
```

```sql
 degrees
---------
     180
(1 row)
```

### [](#convert-an-arbitrary-value)Convert an arbitrary value

```sql
SELECT DEGREES(1);
```

```sql
      degrees
-------------------
 57.29577951308232
(1 row)
```