Mean Median Mode Calculator

Find the mean, median, mode and range of a data set — the three common measures of central tendency, compared.

Loading calculator…

What this tool does

Find the mean, median, mode and range of a data set — the three common measures of central tendency, compared. The mean uses every value and is pulled by outliers; the median resists them. A data set can have one mode, several modes, or no mode.

How to use the Mean Median Mode Calculator

  1. Enter or select numbers (comma or whitespace separated).
  2. Read the calculated result; change any measurement to compare alternatives.

Formula

mean = Σx / n; median = middle value of the sorted data (average of the two middle values for even n); mode = most frequent value; range = max − min
data
Numbers (comma or whitespace separated)

The mean uses every value and is pulled by outliers; the median resists them. A data set can have one mode, several modes, or no mode.

Worked example

For mean median mode calculator, the following measurements illustrate the exact method: Numbers (comma or whitespace separated): 2,4,4,4,5,5,7,9.

Inputs

  • Numbers (comma or whitespace separated)2,4,4,4,5,5,7,9

Result

  • Mean5
  • Median4.5
  • Mode4
  • Range7
  • Minimum2
  • Maximum9
  • Sum40
  • Count8

Results explained

Mean
Mean from the formula above. The mean uses every value and is pulled by outliers; the median resists them. A data set can have one mode, several modes, or no mode.
Median
Median from the formula above. The mean uses every value and is pulled by outliers; the median resists them. A data set can have one mode, several modes, or no mode.
Mode
Mode from the formula above. The mean uses every value and is pulled by outliers; the median resists them. A data set can have one mode, several modes, or no mode.
Range
Range from the formula above. The mean uses every value and is pulled by outliers; the median resists them. A data set can have one mode, several modes, or no mode.
Minimum
Minimum from the formula above. The mean uses every value and is pulled by outliers; the median resists them. A data set can have one mode, several modes, or no mode.
Maximum
Maximum from the formula above. The mean uses every value and is pulled by outliers; the median resists them. A data set can have one mode, several modes, or no mode.
Sum
Sum from the formula above. The mean uses every value and is pulled by outliers; the median resists them. A data set can have one mode, several modes, or no mode.
Count
Count from the formula above. The mean uses every value and is pulled by outliers; the median resists them. A data set can have one mode, several modes, or no mode.

Frequently asked questions

Use the median when the data are skewed or contain outliers — incomes, house prices and reaction times are classic cases. One very large value can drag the mean far from a typical observation while the median barely moves.

Yes. Two values tied for the highest frequency make the set bimodal, three or more make it multimodal. If every value occurs once, the set has no mode.

Sort the data and average the two middle values. For 2, 4, 4, 4, 5, 5, 7, 9 the two middle values are 4 and 5, so the median is 4.5.

The range (maximum minus minimum) is the simplest spread measure. Center alone can mislead: two classes can share a mean of 75 while one ranges from 70–80 and the other from 30–100.

Yes — the mode is the only one of the three that works for categories, such as the most common blood type or shoe size. Mean and median both require numbers (the median also works for ordered categories).