Statistics Calculator

Type your data and choose what to find: a summary, spread, quartiles or grouped data.

Numbers separated by commas, spaces or new lines

Try

Result

You entered{2, 4, 4, 4, 5, 5, 7, 9}\left\{ 2,\ 4,\ 4,\ 4,\ 5,\ 5,\ 7,\ 9 \right\}

mean=5, median=4.5, mode=4, range=7, standard deviation (sample)=2.13809\displaystyle \text{mean} = 5,\ \text{median} = 4.5,\ \text{mode} = 4,\ \text{range} = 7,\ \text{standard deviation (sample)} = 2.13809

Count

8\displaystyle 8

Sum

40\displaystyle 40

Minimum

2\displaystyle 2

Maximum

9\displaystyle 9

Q1

4\displaystyle 4

Q3

6\displaystyle 6

IQR

2\displaystyle 2

Population standard deviation

2\displaystyle 2

Sample variance

327≈4.571429\displaystyle \frac{32}{7} \approx 4.571429

Population variance

4\displaystyle 4

Sum of squares

32\displaystyle 32

Sorted data

2, 4, 4, 4, 5, 5, 7, 9\displaystyle 2,\ 4,\ 4,\ 4,\ 5,\ 5,\ 7,\ 9
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 22 and the largest is 99.

    2, 4, 4, 4, 5, 5, 7, 92,\ 4,\ 4,\ 4,\ 5,\ 5,\ 7,\ 9
  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 4040 and n=8n = 8.

    xˉ=∑xn=408=5\begin{aligned} \bar{x} &= \frac{\sum x}{n} \\ &= \frac{40}{8} \\ &= 5 \end{aligned}
  3. Median (middle value)

    The median is the middle value of the ordered list. Here n=8n = 8 is even, so it is the mean of the 4th and 5th values, 44 and 55.

    m=4+52=92=4.5\begin{aligned} m &= \frac{4 + 5}{2} \\ &= \frac{9}{2} \\ &= 4.5 \end{aligned}
  4. Mode (most frequent value)

    The mode is the value that occurs most often. Here 44 occurs 3 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 99 and the smallest is 22.

    R=9−2=7\begin{aligned} R &= 9 - 2 \\ &= 7 \end{aligned}
  6. Sample standard deviation

    The standard deviation is the typical distance of a value from the mean. Square each deviation and add them to get 3232, divide by n−1=7n - 1 = 7 for a sample, then take the square root.

    s=∑(x−xˉ)2n−1=328−1=327≈2.13809\begin{aligned} s &= \sqrt{\frac{\sum \left(x - \bar{x}\right)^2}{n - 1}} \\ &= \sqrt{\frac{32}{8 - 1}} \\ &= \sqrt{\frac{32}{7}} \approx 2.13809 \end{aligned}
  7. Result

    So the mean is 55, the median is 4.54.5, the mode is 44 and the range is 77.

Worked examples