---
name: "a ^ b"
type: command
operator: "^"
status: ok
groups: ["Math"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/a_%5E_b
revid: 321222
updated: 2022-05-13T15:37:49Z
---

# a ^ b

*Command · Math · Arma 3 v0.50 · introduced in Operation Flashpoint v1.00*

## Description

*a* raised to the power of *b*

## Syntax

```sqf
a ^ b
```

**Parameters:**

- `a`: [Number](../topics/Number.md)
- `b`: [Number](../topics/Number.md)

**Returns:** [Number](../topics/Number.md)

## Examples

### Example 1

```sqf
5 ^ 2 // 5², result is 25
```

## See also

Math Commands · [Operators](../topics/Operators.md)

<sub>Source: [BI Community Wiki — a ^ b](https://community.bistudio.com/wiki/a_%5E_b) (revision 321222).</sub>
