Mean, Median, Mode and Range Calculator

Enter a list of numbers to find its average, middle value, most common value and spread.

Numbers separated by commas, spaces or new lines

Try

Result

You entered{10, 12, 12, 13, 14, 15, 40}\left\{ 10,\ 12,\ 12,\ 13,\ 14,\ 15,\ 40 \right\}

mean=16.571429, median=13, mode=12, range=30\displaystyle \text{mean} = 16.571429,\ \text{median} = 13,\ \text{mode} = 12,\ \text{range} = 30

Sorted data

10, 12, 12, 13, 14, 15, 40\displaystyle 10,\ 12,\ 12,\ 13,\ 14,\ 15,\ 40

Count

7\displaystyle 7

Sum

116\displaystyle 116
Show the work
  1. Sort the data

    Write the values in order from smallest to largest, so the middle and the ends are easy to find. The smallest is 1010 and the largest is 4040.

    10, 12, 12, 13, 14, 15, 4010,\ 12,\ 12,\ 13,\ 14,\ 15,\ 40
  2. Mean (arithmetic average)

    The mean shares the total out equally: add every value, then divide by how many there are. Here the values add up to 116116 and n=7n = 7.

    xˉ=∑xn=1167=1167≈16.571429\begin{aligned} \bar{x} &= \frac{\sum x}{n} \\ &= \frac{116}{7} \\ &= \frac{116}{7} \approx 16.571429 \end{aligned}
  3. Median (middle value)

    The median is the middle value of the ordered list. Here n=7n = 7 is odd, so it is the 4th value, which is 1313.

  4. Mode (most frequent value)

    The mode is the value that occurs most often. Here 1212 occurs 2 times, more than any other value, so it is the mode.

  5. Range (largest minus smallest)

    The range measures the full spread of the data: the largest value minus the smallest. Here the largest is 4040 and the smallest is 1010.

    R=40−10=30\begin{aligned} R &= 40 - 10 \\ &= 30 \end{aligned}
  6. Result

    So the mean is 1167≈16.571429\frac{116}{7} \approx 16.571429, the median is 1313, the mode is 1212 and the range is 3030.

Worked examples