---
url: /cube-functions/average.md
description: Returns the average value from a range of inputs.
---

# AVERAGE

Returns the average value from a range of inputs.

```js
AVERAGE(input_a, input_b, ...input_n)
```

#### Parameters

* `input_a` - Input to be evaluated.
* `input_b` - Input to be evaluated.
* `input_n` - Input to be evaluated. `(optional)`

#### Examples

```js
AVERAGE(1, 3, 3, 8)
```

**Result:** `3.75`
