Mean, median, mode and range calculator

Type your numbers: the page gives the mean, the median, the most frequent value(s) and the gap between the largest and smallest.

Mean, median, mode and range calculator

Separated by “;” or one per line.

Result

5.142857Mean

Median
5
Modes (tied)
3 ; 7
Times the mode appears
2
Range (max − min)
7
Smallest value
2
Largest value
9
Number of values
7
Sorted list
2 ; 3 ; 3 ; 5 ; 7 ; 7 ; 9

Mean, median, mode and range calculator

Inputs

Your numbers
3; 7; 7; 2; 9; 3; 5

How it is calculated

Mean = sum of the values ÷ number of values.

Result

Mean

5.142857
Median
5
Modes (tied)
3 ; 7
Times the mode appears
2

How it is calculated

  1. Mean = sum of the values ÷ number of values.
  2. Median: sort the list and take the middle value (or the average of the two middle ones).
  3. Mode: the value that appears most often. When several are tied, all are shown.
  4. Range = largest value − smallest value.

Example

3, 7, 7, 2, 9, 3, 5: sorted 2, 3, 3, 5, 7, 7, 9; mean ≈ 5.142857; median 5; modes 3 and 7 (twice each); range 7.

Good to know

  • If every value appears equally often, there is no mode.
  • An empty list has no mean or median: type at least one number.
  • The mean is pulled by extreme values; the median much less.

When to use it

  • Find the middle mark of a class or the most common shoe size in a stock list.
  • Quickly check a statistics exercise on a small data set.
  • For quartiles, variance and standard deviation as well, use the Descriptive statistics calculator.

Frequently asked questions

Can the mode be used for words or categories?

Yes, it is the only one of the three that works for categories, such as the most common colour. This tool, though, only accepts numbers.

Does the median have to be one of my values?

Not always. With an even number of values it is the average of the two middle ones, so 2, 4, 6, 8 has a median of 5.

Why is the range not enough to describe spread?

It depends only on the two extreme values. One unusual value changes it completely, while the rest of the list may be tightly grouped.

Updated October 10, 2026

Indicative result. For an important decision, check with a professional.