---
title: "SIN"
description: "The SIN SQL function returns the sine of the provided angle."
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/docs/invantive-universalsql/grammar/sql-functions/sin
original: https://documentation.invantive.eu/en/docs/invantive-universalsql/grammar/sql-functions/sin
updated: 2026-08-09T00:00:00Z
license: https://documentation.invantive.eu/en/
---

## Syntax
```mermaid
%%{init: {
  'theme': 'base',
  'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
  'themeVariables': {
    'fontSize': '11px',
    'fontFamily': 'Arial'
  }
}}%%
flowchart LR
    Start((START)) --> SIN[SIN]:::quoted
    SIN --> End((END))
```

## Purpose
The `SIN` SQL function returns the sine of the provided angle.

Parameters:
- Input (`decimal`): the angle to get the sine of.

Returns: A number which represents the sine of the provided angle.

## Examples
`SIN` retrieves the sine of the angle 0:
```sql
select sin(0)

--------
0
```
`SIN` retrieves the sine of the angle 1, rounded to four decimals:
```sql
select round(sin(1), 4)

--------
0.8415
```