# Mean Median Mode Calculator

URL: https://hifreetools.com/calculators/mean-median-mode-calculator

> Paste or type a list of numbers and instantly see the mean, median, mode, range, and standard deviation. It handles commas, semicolons, spaces, tabs, and line breaks, and lists every mode when your data has more than one.

## Quick answer

The mean is the sum of all values divided by how many there are; the median is the middle value of the sorted list (the average of the two middle values when the count is even); and the mode is the value that appears most often. For the list 10, 20, 20, 30, 40 the mean is 24, the median is 20, and the mode is 20.

## Formula

- Mean (arithmetic average): mean = (x₁ + x₂ + … + xₙ) / n
- Median (middle value): median = middle value of the sorted list; if n is even, median = (x at n/2 + x at n/2 + 1) / 2
- Mode (most frequent): mode = value(s) with the highest frequency
- Variance and standard deviation: population σ² = Σ(xᵢ − mean)² / n; sample s² = Σ(xᵢ − mean)² / (n − 1); σ = √σ², s = √s²

## Examples

- Basic list with one repeated value: 10, 20, 20, 30, 40 → Mean = 24, Median = 20, Mode = 20, Range = 30, Sample SD ≈ 11.401754
- Even count with no mode: 4, 8, 15, 16, 23, 42 → Mean = 18, Median = 15.5, Mode = none, Range = 38
- Bimodal data set: 5, 5, 9, 9, 10 → Mean = 7.6, Median = 9, Mode = 5 and 9, Range = 5

## FAQ

**What is the difference between mean, median, and mode?**
The mean is the arithmetic average (sum ÷ count), the median is the middle value of the sorted list, and the mode is the value that occurs most often. They can all differ: for 1, 2, 2, 9 the mean is 3.5, the median is 2, and the mode is 2. The mean reacts to every value, the median only to the center, and the mode only to frequency.

**Can a data set have more than one mode?**
Yes. A list with two values tied for the highest frequency is bimodal, and three or more is multimodal — this calculator lists every mode. If all values are unique, there is no mode at all, which we show as "none".

**How do I find the median when there is an even number of values?**
Sort the numbers, then take the two values in the middle and average them. For 4, 8, 15, 16, 23, 42 the two middle values are 15 and 16, so the median is (15 + 16) ÷ 2 = 15.5.

**Should I use the mean or the median?**
Use the mean for roughly symmetric data with no extreme outliers. Use the median for skewed data — like incomes, house prices, or response times — because one very large or very small value barely moves the median but can heavily distort the mean.

**What is the difference between sample and population standard deviation?**
Population standard deviation divides the summed squared deviations by n and is used when your numbers are the entire group. Sample standard deviation divides by n − 1 (Bessel's correction) and is used when your numbers are a sample drawn from a larger group, which is the more common case.

**What separators can I use between numbers?**
Commas, semicolons, spaces, tabs, and new lines all work, so you can paste a row like "10, 20, 30" or a whole column copied from a spreadsheet. Any text that is not a valid number is ignored, so stray labels or units won't break the result.


## Sources

- [Wikipedia: Average (mean, median, mode)](https://en.wikipedia.org/wiki/Average)
- [NIST/SEMATECH e-Handbook: Measures of Location](https://www.itl.nist.gov/div898/handbook/eda/section3/eda351.htm)

Runs in the browser; nothing is uploaded. Cite as: HIFreeTools, "Mean Median Mode Calculator", https://hifreetools.com/calculators/mean-median-mode-calculator
