STATISTICS CALCULATOR

Mean Median Mode Calculator

Calculate the mean, median, mode and range from a list of numbers, with clear explanations of each statistic.

Mean, median and mode formulas

Mean = sum of all values ÷ number of values. Median is the middle value after sorting; for an even number of values, it is the average of the two middle values. Mode is the value or values occurring most frequently. Range = maximum − minimum.

Worked example

For 2, 4, 4, 7, 9, the mean is 26 ÷ 5 = 5.2, the median is 4, the mode is 4, and the range is 9 − 2 = 7.

Mean vs median

The mean uses every value and can be strongly affected by extreme observations. The median depends on the ordered middle position and can be less sensitive to outliers.

When there is no mode

If every value occurs only once, there is no mode. A dataset can also have multiple modes when several values share the highest frequency.

FAQ

How do I calculate an average? For the arithmetic mean, add all values and divide by their count.

What is the median of an even-sized dataset? Sort the values and average the two middle values.

Can a dataset have two modes? Yes. If two values tie for the highest frequency, the dataset is bimodal.

Related calculators

Average Calculator · Standard Deviation · Variance · Z-Score

Which measure should you use?

The mean uses every value and is often useful for balanced numerical data. The median is the middle ordered value and is less affected by an unusually large or small observation. The mode identifies the most frequent value and can be useful for repeated categories or discrete measurements.

Example with an outlier

For the values 10, 11, 12, 13 and 100, the mean is pulled upward by 100, while the median remains 12. This illustrates why the median can describe a typical value better when a dataset is strongly skewed.

Reporting the result

For a meaningful summary, consider the shape and purpose of the dataset rather than selecting a measure only because it is easy to calculate. When possible, report the sample size and units alongside the statistic.

Worked example

For the dataset 2, 3, 3, 7, 10, the mean is 25 ÷ 5 = 5, the median is 3, and the mode is 3 because it appears most often. The range is 10 − 2 = 8. These values describe different aspects of the same dataset, so they should not be treated as interchangeable.

When each measure is useful

Enter a comma-separated list of finite numbers. Check that values use a consistent unit and that missing values have not been accidentally replaced with zero. For deeper statistical analysis, also consider sample size, distribution, variance and the reason the data was collected.

Which measure best represents the data?

The mean uses every value and is sensitive to unusually high or low observations. The median is the middle value after sorting and is often more representative for skewed data. The mode identifies the most frequent value or values; a dataset can have multiple modes or no repeated value at all.

Compare two small datasets

For 2, 3, 3, 4, 18, the mean is 6, the median is 3 and the mode is 3. The large value 18 pulls the mean upward, while the median remains near the centre of the ordered data. For a more balanced dataset, the mean and median may be closer together.

Check the data before interpreting

Make sure the entries use the same units and represent comparable observations. The calculator summarizes the numbers provided; it cannot determine whether a value is a data-entry error, whether the sample is representative or whether a difference is statistically meaningful.

When there are several modes

If two or more values share the highest frequency, a dataset is multimodal. If every value appears once, there is no unique mode under the usual repeated-value definition. The range is the maximum minus the minimum and gives a simple measure of spread, but it is strongly affected by extreme values.