Free online formula calculators

Mean, Median, Mode Calculator

Enter a list of numbers to find its mean (average), median (middle value), mode (most common value) and range.

Mean, Median, Mode Calculator
Separate values with commas, spaces or new lines.
Result
Mean15
Median15
Mode15
Range9
Minimum11
Maximum20
Sum150
Count10

Link to this calculation

Formula

Mean x̄ = Σx ÷ n
Median = middle value of the sorted data (average of the two middle values when n is even)
Mode = most frequent value
Range = max − min
SymbolMeaning
ΣxSum of all values
nNumber of values
x̄Arithmetic mean

How to Use This Calculator

  1. Type or paste the Data set. Numbers separated by commas, spaces or new lines.
  2. Press Calculate. Results also update automatically as you type.

Worked Example

Using the values pre-filled in the calculator above:

Inputs
Data set12, 15, 11, 18, 15, 20, 14, 15, 17, 13
Results
Mean15
Median15
Mode15
Range9
Minimum11
Maximum20
Sum150
Count10

About This Calculation

The mean, median and mode are the three classic measures of central tendency: each tries to describe a "typical" value of a data set with a single number. The mean adds everything up and divides by the count, so it uses every observation. The median is the value in the middle once the data are sorted, and the mode is whichever value occurs most often.

Which one to report depends on the shape of your data. For roughly symmetric data the three are close together and the mean is usually preferred. When the data are skewed or contain outliers, the median is more robust: a single very large salary can pull the mean income of a small company far above what most employees earn, while the median barely moves. The mode is most useful for discrete or categorical data, such as the most common shoe size sold.

A data set can have no mode (every value appears once) or several modes (two or more values tie for most frequent). The range, the gap between the largest and smallest value, is a quick first look at spread; for a more reliable measure, use the standard deviation.

Frequently Asked Questions

When should I use the median instead of the mean?
Use the median when the data are skewed or contain outliers, such as house prices or incomes. It reflects the typical value better because extreme values do not pull it around.
Can a data set have more than one mode?
Yes. If two values tie for the highest frequency the data are bimodal, and with more ties they are multimodal. This calculator lists every mode.
How do I find the median of an even number of values?
Sort the values and take the average of the two in the middle. For 3, 5, 8, 10 the median is (5 + 8) ÷ 2 = 6.5.

Category: Statistics & Probability. Found a problem with this calculator? Let us know.