# Average

## Overview

![The Average Node.](https://1582035224-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MIspkFTPkuGkv4UgQGs-3848250649%2Fuploads%2Fgit-blob-db9ab6ac235874ee05fc7bedc30a3be6bba3fc14%2Fnode-average.png?alt=media)

**Average** calculates and returns the *arithmetic mean* of all of its inputs.

The *arithmetic mean* is the *sum* of all values in a set, divided by the total amount of numbers in that set.

## Attributes

### Inputs

| Attribute        | Type      | Description                                                                                         |
| ---------------- | --------- | --------------------------------------------------------------------------------------------------- |
| `Default Inputs` | **Float** | The number of `Input` **Sockets** and their default values, if they have no data connected to them. |

## Inputs

| Input             | Type      | Description                                                                                     |
| ----------------- | --------- | ----------------------------------------------------------------------------------------------- |
| *Pulse Input* (►) | **Pulse** | A standard input **Pulse**, to trigger the execution of the **Node**.                           |
| `Input [n]`       | **Float** | The values that will be added together, and divided by the total number of `Input` **Sockets**. |

## Outputs

| Output             | Type      | Description                                                                                                                            |
| ------------------ | --------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| *Pulse Output* (►) | **Pulse** | A standard output **Pulse**, to move onto the next **Node** along the **Logic Branch**, once this **Node** has finished its execution. |
| `Output`           | **Float** | The *arithmetic mean* of all of the `Input` values.                                                                                    |

## External Links

* [*Arithmetic Mean: What it is and How to Find it*](https://www.statisticshowto.datasciencecentral.com/arithmetic-mean/) on Statistics How To.
