---
title: "power function in Strata | Oplema"
description: "Calculate one number raised to the power of another, such as 8 from 2 and 3. Same as pow. Write it as power(x, y) in a Strata Formula or Filter."
url: "https://oplema.com/docs/strata/functions/power"
updated: "2026-11-04"
---

# power

Raise a number to a power.

Also available as pow.

## Try an expression

In [Formula](https://oplema.com/docs/strata/prep/formula), enter the expression and set Output type to **DOUBLE**.

### Expression

```
power(2, 3)
```

### Result

```
8.0
```

To use your own data, replace the example values with column names. Keep format strings and other options as written.

Try it live in Formula

Result
| id | result |
| --- | --- |
| 1 | 8 |

## Arguments and types

```
power(x, y)
```

**x**

Number

**y**

Number

Supported signatures (1)

```
power(x: DOUBLE, y: DOUBLE) → DOUBLE
```

The result type can depend on the input types. See DuckDB for the full argument rules.

## Things to know

If the first argument is missing, the result is NULL.

## Related functions

[pow

Raise a number to a power.

](https://oplema.com/docs/strata/functions/pow)[exp

Raise e, about 2.718, to a given power.

](https://oplema.com/docs/strata/functions/exp)[acos

Computes the arccosine of x.

](https://oplema.com/docs/strata/functions/acos)[acosh

Computes the inverse hyperbolic cos of x.

](https://oplema.com/docs/strata/functions/acosh)

[Browse numbers](https://oplema.com/docs/strata/functions#numbers) [DuckDB documentation](https://duckdb.org/docs/current/sql/functions/numeric.html#powerx-y)

Function metadata from DuckDB, used under the [MIT license](https://github.com/duckdb/duckdb/blob/v1.5.4/LICENSE).
