> For the complete documentation index, see [llms.txt](https://docs.origami.tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.origami.tech/reference/grid-language/functions/mean.md).

# mean()

mean() returns the arithmetic average of a list of numbers, such as closing prices of recent candles.

Learn how to use the Mean function in Origami Tech to calculate average values from data sets for technical indicators and performance metrics.

## `mean`(*list*\[*decimal*]) -> *decimal*

Returns decimal

Compute the arithmetic mean (average) of the given list elements

<details>

<summary>Example:</summary>

`mean([2.2, 2.5])` → `2.35`

</details>
