# Difference between - median, midrange, average, mode and range

math

## Median

When you arrange the numbers in a sorted order - median is the middle number (left and right of which are equal)

Example

`75, 80, 100, 100, 100`

In this case, `100`

is the median.

## Midrange

Lowest + highest divided by 2.

```
(lowest + highest) / 2
// From above example
(75 + 100) / 2 = 87.5 => Midrange
```

## Average

Sum of all the values divided by total number of values.

`(75 + 80 + 100 + 100 + 100) / 5 = 91`

## Mode

The most commonly occurring number is called a mode. So from our above example, its clear that 100 is the most common and therefore is known as the **Mode.**

## Range

Difference between the highest and the lowest. As per the example above, the range in this case is `100 - 75`

i.e. **25**.