> For the complete documentation index, see [llms.txt](https://docs.cascade.io/cascade/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cascade.io/cascade/functions-and-expressions/functions/aggregate/median.md).

# MEDIAN

MEDIAN( `value 1`, `[value 2 ...]` )

Returns the median of a list of numbers, ignoring any blank values.

### Arguments

| Argument       | Description                                                                                                               |
| -------------- | ------------------------------------------------------------------------------------------------------------------------- |
| `value 1`      | numeric column or value                                                                                                   |
| `[value 2...]` | Optional. Column(s) to be included in the calculation; will output a row-wise calculation when this argument is provided. |

### Output

Numerical median of input values

### Example

{% embed url="<https://datawrapper.dwcdn.net/Fs3xd/2/>" %}
