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.
Explore your data set
Separate values with commas, spaces, semicolons or new lines. For decimal commas, put each value on a new line or separate values with semicolons. Up to 500 values.
Your statistics
Data distribution
The chart shows your values and marks the mean and median. For larger data sets it becomes a histogram.
A large gap can signal skew or influential values. Compare the two, then inspect the chart and raw data before drawing conclusions.
Quartiles and possible outliers
The box spans Q1 to Q3. Whiskers end at the most extreme non-outlier values; points beyond 1.5 × IQR are flagged for review.
Quartiles use the median-of-halves method; for an odd count, the overall median is excluded from each half.
How each result was calculated
Sorted values
Sample variance and sample standard deviation require at least two values.
Value frequencies
| Value | Frequency | Share |
|---|
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.
