Mean, Median, Mode Calculator
Get the mean, median, mode and range of your numbers in one go — with the sorted data and how each one is found.
Step by step
- Mean: add the values and divide by the count: x̄ = 330 ÷ 15 = 22
- Sort the data: 3, 5, 7, 12, 13, 14, 20, 23, 23, 23, 23, 29, 39, 40, 56
- The median is the middle value (position 8): 23
- Mode: the most frequent value (each appears 4 times): 23
- Range = maximum − minimum = 56 − 3 = 53
| Count (n) | 15 |
|---|---|
| Sum | 330 |
| Mean | 22 |
| Median | 23 |
| Mode | 23 (appears 4 times) |
| Minimum | 3 |
| Maximum | 56 |
| Range | 53 |
| Q1 (first quartile) | 12 |
| Q3 (third quartile) | 29 |
| Interquartile range (IQR) | 17 |
| Sample standard deviation (s) | 14.5062 |
| Population standard deviation (σ) | 14.0143 |
| Sample variance (s²) | 210.4286 |
| Population variance (σ²) | 196.4 |
| Standard error of the mean | 3.7455 |
| Coefficient of variation | 65.94% |
| Mean absolute deviation | 10.6667 |
| Sum of squares (Σ(x − x̄)²) | 2946 |
| Outliers (1.5 × IQR rule) | 56 |
Sorted data
3, 5, 7, 12, 13, 14, 20, 23, 23, 23, 23, 29, 39, 40, 56
How to find each one
Which should I use?
The mean uses every value but is pulled by extremes; the median is the better “typical” value for skewed data such as incomes; the mode suits categories and repeated values (shoe sizes, most common answer). Reporting the mean and median together shows whether the data is skewed.
Frequently asked questions
How do you find the mean, median and mode?
Mean: sum ÷ count. Median: middle of the sorted list. Mode: most frequent value.
What if no number repeats?
Then the data has no mode.
Can there be two modes?
Yes — the data is bimodal, and both values are modes.
What is the median of an even number of values?
The average of the two middle values after sorting.
Last reviewed November 2026. Results are rounded to 4 decimal places; all math runs in your browser.