Mean, Median, Mode & Range Calculator
A mean median mode calculator is a statistical utility that computes the core measures of central tendency for a given set of numerical data. The mean is the mathematical average calculated by dividing the sum of values by the count; the median is the middle value when the dataset is sorted in numerical order; and the mode is the value that appears most frequently. The calculator also computes secondary statistics such as range, sum, count, minimum, and maximum. Students, statisticians, and researchers use this tool to quickly summarize numerical datasets and analyze data distributions.
Use this as a quick mean calculator, or find the median, mode, and range of any data set. Paste or type a list of numbers, separated by commas, spaces, or new lines.
Quick Answer
Calculate mean, median, mode, range, and other basic statistics for any dataset. Paste your numbers to see the statistical summary and step-by-step arithmetic.
Separate values with commas, spaces, or new lines. Decimals and negative numbers are supported.
Step by step
- Sort: 4, 7, 7, 9, 12
- Sum: 4 + 7 + 7 + 9 + 12 = 39
- Mean: 39 / 5 = 7.8
- Median: middle value at position 3 = 7
- Mode: 7 appears 2 times
- Range: 12 − 4 = 8
Mean
7.8
Median 7 · Mode 7 · Range 8
Examples
4, 7, 7, 9, 12
mean 7.8 · median 7 · mode 7 · range 8
2, 4, 6, 8
mean 5 · median 5 · no mode · range 6
1, 2, 2, 3, 3, 4
mean 2.5 · median 2.5 · modes 2 and 3 · range 3
How it works
The calculator parses every number in the list, sorts them, and then computes the standard descriptive statistics: mean, median, mode, and range. It also shows the count, sum, minimum, and maximum.
Mean
mean = sum / count
Median
Sort the values. If the count is odd, take the middle value. If the count is even, take the average of the two middle values.
Mode
The value or values that appear most often. If every value appears the same number of times, there is no mode.
Range
range = max − min
Learn the concept
These guides explain the idea this tool computes, with worked examples and the distinctions readers most often trip over.
What is a mean median mode calculator?
A mean median mode calculator summarizes a list of numbers with the standard measures of central tendency and spread. It is the everyday workhorse of descriptive statistics, useful for homework, lab reports, simple data analysis, and quick sanity checks on a spreadsheet column.
How the calculator works
Enter your numbers in the input area, separated by commas, spaces, or new lines. The calculator:
- Parses every number and ignores blank entries.
- Sorts the values from smallest to largest.
- Computes count, sum, mean, median, mode, and range.
- Reports the minimum, maximum, and the sorted list.
- Shows a step by step trace of the calculation.
- Flags any token that is not a number so you can fix typos.
How to find the mean
Add up every value and divide by the count. The mean is also called the arithmetic average. For the default data set 4, 7, 7, 9, 12 the sum is 39 and the count is 5, so the mean is 39 ÷ 5 = 7.8.
How to find the median
Sort the values from smallest to largest. If the count is odd, the median is the single middle value. If the count is even, the median is the average of the two middle values. The median splits the data set in half, with the same count of values above and below it.
How to find the mode
Count how many times each value appears. The value or values with the highest count are the modes. If every value appears the same number of times, there is no mode. Data sets can be unimodal (one mode), bimodal (two), or multimodal (more than two).
How to find the range
Subtract the smallest value from the largest. Range is the simplest measure of spread, but it only uses two values, so it can be very sensitive to outliers. For a more stable measure of spread, look at the standard deviation.
Mean vs median vs mode
All three describe central tendency, but they react to the shape of the data differently:
- Mean is the arithmetic average. It uses every value and is sensitive to outliers and skew.
- Median is the middle of the sorted data. It is robust to outliers and often more representative for skewed distributions.
- Mode is the most common value. It highlights peaks in the distribution and can sit anywhere relative to the mean and median.
For a deeper look at spread, the standard deviation calculator and the variance calculator go beyond range. For comparing a single value to a distribution, see the z score calculator.
Worked examples
- 4, 7, 7, 9, 12: mean 7.8, median 7, mode 7, range 8
- 2, 4, 6, 8: mean 5, median 5, no mode, range 6
- 1, 2, 2, 3, 3, 4: mean 2.5, median 2.5, modes 2 and 3, range 3
Common mistakes
- Forgetting to sort the data before finding the median. The middle position only makes sense in sorted order.
- Reporting a mode when every value appears once. If the data set has no repeats, there is no mode.
- Reporting only one mode when several values tie for the highest frequency. List every tied value.
- Mixing up mean and median in a skewed data set. The two can differ a lot when extreme values stretch one side of the distribution.
- Confusing range with standard deviation. Range only uses the smallest and largest values; standard deviation uses every value.
Related tools
- Standard deviation calculator for spread around the mean.
- Expected value calculator
- Variance calculator for the squared spread used in many statistical formulas.
- Z score calculator for standardizing a value against a distribution.
- P value calculator for converting a z score to a p value.
- Percentage calculator for percent-of-a-number questions.
- Fraction calculator for fraction arithmetic and decimal conversion.
- Correlation coefficient calculator for the Pearson r between two paired variables.
- Linear regression calculator for a best-fit line and slope on paired data.
- T-test calculator for one- or two-sample mean comparisons.
- All education calculators.
Note. This calculator uses standard descriptive statistics formulas. Teachers, schools, or textbooks may format steps differently, but the core mean, median, mode, and range values should match standard arithmetic.
Related Calculators
More tools from Education



