Mean, Median & Mode Calculator
Enter a list of numbers to get the mean, median, mode, range and sorted dataset.
Measures of Central Tendency: Mean, Median and Mode
There is more than one way to summarize a dataset with a single number. The mean is the most common, but when the data contains outliers the median or mode can be more meaningful. Enter your numbers and this tool calculates mean, median, mode, range, min and max at once, and shows the sorted data with the mode highlighted.
Comparison of Central Tendency Measures
| Measure | Formula | Description |
|---|---|---|
| Mean | Σx / n | Sum of all values divided by the count. Sensitive to outliers. |
| Median | Middle value | Middle value of the sorted dataset. Average of the two middle values when the count is even. |
| Mode | Most frequent value | The value that appears most often. Multiple modes are possible (multimodal distribution). |
| Range | Max − Min | Difference between the largest and smallest values. Shows the spread. |
Example: Effect of an Outlier
Weekly study hours of 5 students at a school: 2, 3, 4, 5, 40
- Mean = (2+3+4+5+40) ÷ 5 = 10.8 hours; the 40-hour outlier pulls the mean up noticeably.
- Median = 4 hours; the middle value is not affected by the outlier.
In this example the median better reflects how long a typical student studies.
Step-by-Step Example: Mean, Median and Mode
Data set: 3, 7, 7, 2, 9, 4, 7, 1 (8 values). Enter them in the tool to check.
- Sort: 1, 2, 3, 4, 7, 7, 7, 9.
- Mean: the sum is 40 and there are 8 values, so 40 ÷ 8 = 5.
- Median: the count is even, the two middle values are 4 and 7, so (4 + 7) ÷ 2 = 5.5.
- Mode: 7 appears three times and every other value once, so the mode is 7.
- Range: 9 − 1 = 8.
The three measures differ: the mode (7) sits above the mean (5) because the most frequent value is clustered in the upper half of the list. So check the spread before summarizing data with one number.
When to Use Which Measure?
Frequently Asked Questions
Related Calculators
Standard Deviation Calculator
Standard deviation and variance of a data set
Calculate →University GPA Calculator
GPA and cumulative GPA from course grades and credits
Calculate →Percentage Calculator
Percentage increase, decrease, ratio and discount
Calculate →Scientific Calculator
Trigonometry, logarithm and exponent calculations
Calculate →