Mean, Median and Mode Calculator
Calculate the mean, median, mode, and range of any data set instantly. Enter your numbers separated by commas and get all four measures of central tendency with full step-by-step working.
Mean
5.285714
Median
5
Mode
7
Range
7
How it works
Calculate the mean
Add all values together and divide by the count. Sum = 37, count = 7.
Result:5.285714Sort the values (for median)
Arrange values in ascending order: 2, 3, 4, 5, 7, 7, 9.
Find the median (middle value)
Odd count (7 values): the middle value is position 4 = 5.
Result:5Find the mode (most frequent value)
7 appears 2 times — more than any other value.
Result:7Calculate the range
Range = largest − smallest = 9 − 2 = 7.
Result:7
Mean, Median, Mode & Range
Example substitution
For data set {4, 7, 2, 9, 3}: mean = 25 ÷ 5 = 5.
Worked examples
Find the mean, median, mode, and range of: 3, 7, 5, 3, 9, 5, 3.
- 1Mean: Sum = 35, count = 7. Mean = 35 ÷ 7 = 5
- 2Median: Sorted: 3, 3, 3, 5, 5, 7, 9. Middle value = 5
- 3Mode: 3 appears 3 times — most frequent. Mode = 3
- 4Range: 9 − 3 = 6
Find the median of: 12, 8, 15, 4, 20, 6.
- 1Sort the values: 4, 6, 8, 12, 15, 20
- 2Even count — find two middle values: Positions 3 and 4: 8 and 12
- 3Average the two middle values: (8 + 12) ÷ 2 = 10
Frequently asked questions
What is the mean?+
The mean is the sum of all values divided by the count. Also called the arithmetic average.
What is the median?+
The median is the middle value when data is ordered from smallest to largest. For an even count, average the two middle values.
What is the mode?+
The mode is the most frequently occurring value. A dataset can have more than one mode.
What is the range?+
The range is the difference between the largest and smallest values: max − min.