# min() Function & Examples

Use the min() statistics function in Calcul.io. Review its syntax, edit working examples, understand the result, and explore related math functions.

## min

#### min(a, b, c, ...)

#### min(A)

#### min(A, dimension)

Try it yourself:

```calculio
min(2, 3, 4, 1)
min([2, 3, 4, 1])
min([2, 5; 4, 3])
min([2, 5; 4, 3], 1)
min([2, 5; 4, 3], 2)
min(2.7, 7.1, -4.5, 2.0, 4.1)
max(2.7, 7.1, -4.5, 2.0, 4.1)
```

[max](https://calcul.io/function/max/index.md)

[mean](https://calcul.io/function/mean/index.md)

[median](https://calcul.io/function/median/index.md)

[prod](https://calcul.io/function/prod/index.md)

[std](https://calcul.io/function/std/index.md)

[sum](https://calcul.io/function/sum/index.md)

[variance](https://calcul.io/function/variance/index.md)

---

## Find the smallest value with min

**min** returns the lowest value among inputs or collection entries. Use it for lower bounds, earliest numeric measurements, and clipping checks.

## Example

`min(3, 9, -2)` is -2. Pair min with [max](https://calcul.io/function/max/index.md) to establish a range, and use [abs](https://calcul.io/function/abs/index.md) first when smallest magnitude is intended rather than smallest signed value.

## Caveats

Values must be comparable. Clean missing entries with [filter](https://calcul.io/function/filter/index.md), and inspect collection dimensions with [size](https://calcul.io/function/size/index.md). A minimum can be an outlier, so do not infer typical behavior without [median](https://calcul.io/function/median/index.md) or other context.

[All functions](https://calcul.io/functions/index.md)
