Mean Median Mode Calculator

Find the mean, median, mode, and range of any dataset. Handles multimodal and no-mode cases with count, sum, minimum, and maximum.

Share this calculator

22

Mean

23

Median

23

Mode

53

Range

Count15
Sum330
Minimum3
Maximum56

Also in Statistics

Descriptive Statistics

Mean, median, mode, and range — the four core measures of a dataset

A mean median mode calculator finds the four fundamental descriptive statistics for any list of numbers: the arithmetic mean, the median midpoint, the mode (the most frequent value), and the range. Together these four measures give a complete picture of a dataset's centre, spread, and distribution pattern — making them the starting point for data analysis in schools, science, business, and everyday decision-making.

What mean, median, mode, and range each measure

These four statistics describe different aspects of the same dataset. The mean summarises the centre by averaging all values. The median identifies the physical middle when data are sorted. The mode finds the most common value. The range captures the spread from the smallest to the largest value.

Because they each measure something different, examining all four together is more informative than any single figure. Two datasets can share the same mean but have completely different distributions, which the median and range reveal. Understanding which measure best represents your data depends on the shape and context of the data.

Mean — arithmetic average formula

The mean is calculated by summing all values in the dataset and dividing by the number of values. It is the most widely used measure of central tendency and the basis of many statistical calculations.

Mean (x̄) = Σx / n

Sum all values (Σx) then divide by the count of values (n). Every value has equal weight in the calculation.

  • The mean is sensitive to extreme values (outliers). One very large or very small number pulls the mean toward it.
  • For symmetric, bell-shaped distributions the mean is usually a reliable centre estimate.
  • For skewed distributions — such as incomes or house prices — the median is often more representative than the mean.

Median — the middle value

The median is the value that splits a sorted dataset exactly in half. Half of the values fall below it and half above it. For an odd count of values, the median is the single middle item. For an even count, it is the average of the two middle values.

Because the median depends only on the order of values and not their magnitude, it is resistant to outliers. This makes it the preferred measure of centre when data are skewed or contain extreme values.

Odd n: Median = value at position (n + 1) / 2

Sort the values, then take the value at the middle position.

Even n: Median = (value at n/2 + value at (n/2 + 1)) / 2

Sort the values, then average the two middle positions.

Mode — the most frequent value

The mode is the value that appears most often in a dataset. Unlike mean and median, a dataset can have no mode (all values unique), one mode (unimodal), or several modes (multimodal). The mode is the only measure of central tendency that can be used with categorical data such as colours, names, or labels.

In a multimodal dataset, all values that share the highest frequency are listed as modes. A bimodal distribution with two peaks, for example, signals that the data may be drawn from two distinct subgroups — an important finding that the mean alone would conceal.

  • No mode: every value appears exactly once.
  • Unimodal: one value appears more frequently than all others.
  • Bimodal: two values share the highest frequency.
  • Multimodal: three or more values share the highest frequency.

Range — measuring spread

The range is the simplest measure of spread: it is the difference between the maximum and minimum values. A large range means the data are widely spread; a small range means they are clustered close together.

While range is easy to understand, it is heavily influenced by outliers because it depends solely on the two extreme values. For a more robust view of spread, standard deviation or interquartile range are better choices once you have a large or messy dataset.

Range = Maximum − Minimum

Subtract the smallest value from the largest value in the dataset.

Further reading

Frequently asked questions

What is the difference between mean and median?

The mean is the arithmetic average of all values. The median is the middle value when the data are sorted. For symmetric datasets with no outliers they are often similar. For skewed datasets or those with outliers, they can differ significantly. The median is generally more representative of the typical value when the data contain extreme observations.

When is the mode useful?

The mode is most useful when you want to know the most common outcome in a dataset. It is the only central-tendency measure that works with non-numeric categorical data — for example, the most common shoe size or the most frequently chosen answer in a survey. It is also important for identifying bimodal or multimodal distributions that a single mean or median would miss.

What does it mean if a dataset has no mode?

A dataset has no mode when every value appears exactly once — there is no single value more common than any other. This is common in continuous measurement data or small datasets. Having no mode does not affect the calculation of mean, median, or range.

Why might the mean be misleading?

The mean includes every value in its calculation, so a single very large or very small outlier can pull it far from the typical value. For example, in a room of nine people earning £30,000 and one person earning £1,000,000, the mean income is £127,000 — higher than 90% of the room. The median income would be £30,000, which better reflects the typical person.

Related

More from nearby categories

These related calculators come from the same leaf category, nearby sibling categories, or the same top-level topic.