---
title: math median
layout: command
version: 0.59.0
---

Gets the median of a list of numbers

## Signature

```> math median ```

## Examples

Get the median of a list of numbers
```shell
> [3 8 9 12 12 15] | math median
```

