> ## 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 POW, POWER functions

# POW

Returns a number `<value>` raised to the specified power `<value>`.

**Alias:** `POWER`

## Syntax

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

## Parameters

| Parameter    | Description                     | Supported input types |
| :----------- | :------------------------------ | :-------------------- |
| `<value>`    | The base value of the exponent  | `DOUBLE PRECISION`    |
| `<exponent>` | The power value of the exponent | `DOUBLE PRECISION`    |

## Return Type

`DOUBLE PRECISION`

## Example

The following example calculates 2 to the power of 5:

<div className="query-window">
  ```
  select pow(2, 5) as result;
  ```

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

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