Lang
Math & Statistics Calculator
Mean Median Mode Calculator
Calculate mean, median, mode, range, sum, count, variance, and standard deviation from a list of numbers. Paste values separated by commas, spaces, or new lines.
Enter your data set
Enter values and calculate the mean, median, mode, and spread of the data set.
Mean formula
The mean is the arithmetic average. Add all numbers, then divide by the count.
\[\text{Mean} = \frac{\sum x}{n}\]
For 12, 15, 15, 18, 22, 30, the sum is 112 and the count is 6, so the mean is 18.6667.
Median formula
The median is the middle value after sorting. If the count is even, average the two middle values.
\[\text{Median} = \frac{x_{n/2} + x_{n/2+1}}{2}\]
For the sample data, the middle values are 15 and 18, so the median is 16.5.
Mode and range
The mode is the most repeated value. The range is the maximum value minus the minimum value.
\[\text{Range} = \max(x) – \min(x)\]
For the sample data, the mode is 15 and the range is 30 – 12 = 18.
Worked example
Suppose your data set is 8, 10, 10, 12, 15. The sum is 55 and there are 5 values.
| Statistic | Calculation | Result |
|---|---|---|
| Mean | 55 / 5 | 11 |
| Median | Middle value of 8, 10, 10, 12, 15 | 10 |
| Mode | 10 appears twice | 10 |
| Range | 15 – 8 | 7 |
Mean Median Mode Calculator FAQ
What is the mean?
The mean is the average of a data set. Add every value and divide by the number of values.
What is the median?
The median is the middle value after sorting the data from smallest to largest.
What is the mode?
The mode is the value that appears most often. A data set can have one mode, multiple modes, or no mode.
What is the difference between range and standard deviation?
Range only compares the maximum and minimum. Standard deviation measures how far values tend to be from the mean.
