Student calculator
Mean, Median, and Mode Calculator
Type one value in each row. The table keeps the order you entered, and the result shows the mean, median, mode, and range of that list.
Statistics
Mean, median, mode, and range
Example list: 2, 3, 3, 7, 10. An empty list or a cell that is not a number is rejected.
Result
Mean
5
Median
3
Mode
3
Range
8
Count
5
| Row | Value |
|---|---|
| 1 | 2 |
| 2 | 3 |
| 3 | 3 |
| 4 | 7 |
| 5 | 10 |
Sorted: 2, 3, 3, 7, 10. A weighted mean stays on the Average Calculator.
How it works
The mean is the sum of the values divided by how many there are. The median is the middle value after the list is sorted. With an even count, it is the mean of the two middle values. The range is the largest value minus the smallest. These are the definitions the Average Calculator already uses. This page calls that same calculation and shows the rows in a table. It does not change the Average Calculator.
The mode is the value that appears most often. If every value appears once, there is no mode. If two or more values tie for the highest count, every one of those values is a mode. A single value has a range of zero and no mode.
An empty table, a blank row that is the only row, and a cell that is not a number are rejected. Grade 6 statistics describes measures of center with the mean and the median. The mode is included here as the most frequent value. A weighted mean, where some rows count more than others, stays on the Average Calculator.
Formulas
The four results describe one list. Weights are not applied on this page.
- Mean = (sum of the values) ÷ (count of the values)
- Median = the middle sorted value, or the mean of the two middle values
- Mode = the value or values that appear most often. No mode when every value appears once
- Range = largest value − smallest value
Worked examples
Example: 2, 3, 3, 7, and 10 have mean 5, median 3, mode 3, and range 8
The sum is 25 and the count is 5, so the mean is 5. The sorted list is already in that order, so the middle value is 3. The value 3 appears twice, so it is the only mode. The range is 10 − 2 = 8.
Example: 4, 8, and 6 have no mode
The mean is (4 + 8 + 6) ÷ 3 = 6. Each value appears once, so there is no mode. The same three numbers are the Average Calculator's example list. This page shows them in a table instead of a single text box.
FAQ
What if every number appears once?
There is no mode. A mode is reported only when at least one value appears more often than the others.
What if two numbers tie?
Both are modes. For 1, 1, 2, 2, and 3, the modes are 1 and 2, because each appears twice and 3 appears once.
How is the median found for an even count?
Sort the values and average the two in the middle. The median of 1, 2, 3, and 4 is (2 + 3) ÷ 2 = 2.5.
Is this a different formula from the Average Calculator?
No. Mean, median, mode, and range use that calculator's definitions. This page puts the values in a data table. Weighted means stay on the Average Calculator, and that page is unchanged.