Mean, Median, Mode and Range Calculator

Type your numbers and see the four basic measures of a data set with the working shown: the sorted list, the sum and how each answer is found.

How it works

The mean adds all values and divides by how many there are. The median is the middle value of the sorted list (or the average of the two middle values). The mode is the most common value. The range is the largest value minus the smallest.

Mean = sum ÷ count  ·  Median = middle of the sorted list
Mode = most frequent value  ·  Range = max − min

Worked example

Using the default values: Numbers = 4, 8, 15, 16, 23, 42, 8.

The calculator returns: Mean: 16.571429; Median: 15; Mode: 8; Range: 38; Sorted list: 4, 8, 8, 15, 16, 23, 42; Count and sum: 7 values, sum 116.

Limits and assumptions

  • If every value appears once there is no mode; if several values tie, all are listed.
  • Mean is affected by extreme values while the median is not.
  • For standard deviation, quartiles and outliers use the Statistics Calculator.

Last reviewed: 2026-12-01. Found a mistake? Please use the Contact page and tell us the inputs you used.

Frequently asked questions about the Mean, Median, Mode and Range Calculator

When should I use the median instead of the mean?

When the data has extreme values, such as incomes or house prices, the median describes a typical value better.

Can a data set have two modes?

Yes. If two values tie for most frequent, both are modes. The data are then called bimodal.

What is the range used for?

It is a quick measure of spread, but it only depends on the two extreme values.

Advertisement