> ## Documentation Index
> Fetch the complete documentation index at: https://docs.firebolt.io/llms.txt
> Use this file to discover all available pages before exploring further.

> Reference material for SIN function

# SIN

Trigonometric function that calculates the sine of a provided value.

## Syntax

```sql theme={"theme":{"light":"css-variables","dark":"css-variables"}}
SIN(<value>)
```

## Parameters

| Parameter | Description                                             | Supported input types |
| :-------- | :------------------------------------------------------ | :-------------------- |
| `<value>` | The value that determines the returned sine in radians. | `DOUBLE PRECISION`    |

## Return Type

`DOUBLE PRECISION`

## Example

The following query calculates the sine of 0:

<div className="query-window">
  ```
  SELECT SIN(0) as result;
  ```

  | result <span>double</span> |
  | :------------------------- |
  | 0                          |

  <p><span>Rows: 1</span><span>Execution time: 5.07ms</span></p>
</div>

The following query calculates the sine of pi:

<div className="query-window">
  ```
  SELECT ROUND(SIN(PI()), 5) as result;
  ```

  | result <span>double</span> |
  | :------------------------- |
  | 0                          |

  <p><span>Rows: 1</span><span>Execution time: 5.69ms</span></p>
</div>
