---
schema_version: "1"
id: 184542cf5b9cf48ab7c4c393273dc652cc26d0b0a82c3eabaa1c54300be39e13
title: sin({n})
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/analytics/bi_dev_guide_sql/guides/bi-sql-math-sin.md
canonical_url: https://developer.salesforce.com/docs/analytics/bi-dev-guide-sql/guide/bi-sql-math-sin.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: d5d5945a657f4a77c15e97fcbb4625b13419e6012005a8dafd7dcd3ecb17a9eb
products:
  - SQL for Analytics Developer Guide
  - analytics
---

# sin({n})

Returns the sine value of radians value `{n}`. `{n}`can be any real number in the range of -1e308 \<= `{n}` \<= 1e308. If `null` is passed as an argument, `sin()` returns `null`.

`sin({n})` takes the following syntax.

```nolang
SELECT SIN(N) as ALIAS
FROM DATASET;
```

## Example

This example takes the sine of 90 degrees.

```nolang
SELECT SIN(RADIANS(90)) as sinValue
FROM "Opportunity"
LIMIT 1;
```

| sinValue |
| -------- |
| 1        |
