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

# MIN

Returns the minimum value from a range of inputs.

```js
MIN(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
MIN(["Measure A"], ["Measure B"], ["Measure C"], ["Measure D"])
```

**Result:** `1`

**Note:** Assume the value held at `Measure A` is equal to 1 and the value held at `Measure B` is equal to 2.
