Mean, Median & Mode Calculator

The mean, median and mode are three kinds of average. The mean adds the values and divides by the count, the median is the middle value of the sorted data, and the mode is the most common value. This calculator finds all three, plus the range, count, sum, minimum and maximum.

Try:

How to use the mean, median & mode calculator

  1. Type or paste your data, separated by commas, spaces or new lines.
  2. Press Calculate.
  3. Read the mean, median, mode and range with the working.

Formula

xˉ=∑xin\bar{x} = \frac{\sum x_i}{n}
Range=max⁡−min⁡\text{Range} = \max - \min

Worked example: 3, 7, 7, 2, 9, 4

  • Data values: 3, 7, 7, 2, 9, 4

✓ Answer checked

Mean=5.333333…,    Median=5.5\text{Mean} = 5.333333\ldots,\;\; \text{Median} = 5.5
Mode
7
Range
77
Count
6
Sum
3232
Minimum / maximum
2  /  92 \;/\; 9
024681: 212: 323: 434: 745: 756: 96mean 5.3333median 5.5
The data sorted from smallest to largest, with the mean and median marked.
Step-by-step working (5 steps)
  1. Sort the data

    Put the values in order from smallest to largest.

    2,  3,  4,  7,  7,  92,\; 3,\; 4,\; 7,\; 7,\; 9
  2. Mean Mean = sum ÷ count

    Add the values and divide by how many there are (6).

    xˉ=326=5.333333…\bar{x} = \frac{32}{6} = 5.333333\ldots
  3. Median Middle value

    With 6 values, the median is halfway between positions 3 and 4.

    Median=5.5\text{Median} = 5.5
  4. Mode

    The mode is the value that appears most often.

    Mode: 7\text{Mode: } \text{7}
  5. Range

    Subtract the smallest value from the largest.

    9−2=79 - 2 = 7
Formulas used
xˉ=∑xin\bar{x} = \frac{\sum x_i}{n}
Range=max⁡−min⁡\text{Range} = \max - \min
How this was checked
  • ✓ Mean × count equals the sum.
  • ✓ 3 values are below the median and 3 are above it.

Frequently asked questions

How do I find the median?

Sort the data. With an odd count, the median is the middle value. With an even count, it is halfway between the two middle values.

Can a data set have more than one mode?

Yes. If two or more values share the highest count, the data is multimodal. If every value appears once, there is no mode.

When should I use the median instead of the mean?

Use the median when there are extreme values, because a few very large or small numbers can pull the mean away from the typical value.

Related calculators

Related guides