The Mean, Median, Mode, Range Calculator finds the average, middle value, most common value and spread of a set of numbers.
| Mean | 22.142857 |
| Median | 23 |
| Mode | 38, 23 (appears 2 times) |
| Range | 36 |
| Minimum | 2 |
| Maximum | 38 |
| Count | 7 |
| Sum | 155 |
| Quartiles | Q1 15.5, Q3 30.5 |
| Sorted | 2, 10, 21, 23, 23, 38, 38 |
The mean, or arithmetic average, is the sum of the values divided by how many there are. For 10, 2, 38, 23, 38, 23, 21: sum 155 ÷ 7 = 22.142857.
The median is the middle value when the numbers are sorted. Sorted: 2, 10, 21, 23, 23, 38, 38; the median is 23. With an even count it is the average of the two middle values.
The mode is the value that appears most often. Here both 23 and 38 appear twice, so the set is bimodal. If every value appears once, there is no mode.
The range is the largest value minus the smallest: 38 − 2 = 36. It is a quick measure of spread but sensitive to extreme values; the standard deviation (see the Statistics Calculator) is more robust.
Use the mean for symmetric data without outliers, the median for skewed data such as house prices and salaries, and the mode for categories or the most popular choice.
Can the mean be a decimal when all values are whole? Yes.
What if I have negative numbers? They work normally.
Is the median always one of the values? Only with an odd count.