Use this free calculator to find the mean, median, mode, and range of a list of numbers. Type or paste your numbers, separated by commas, spaces, or line breaks, and click Calculate. You get all four results, plus the sorted list, the count, the sum, and the step-by-step working. It also handles data with more than one mode, or no mode. No signup needed.
| Measure | What it is | How to find it |
|---|---|---|
| Mean | The average | Add all the numbers, then divide by how many numbers there are |
| Median | The middle value | Sort the numbers, then take the middle one (or the average of the two middle ones) |
| Mode | The value that appears most often | Count how often each value appears |
| Range | How spread out the numbers are | Largest value − smallest value |
The mean, median, and mode are called measures of central tendency, because they describe the center of the data. The range is a measure of spread.
Mean = Sum of the values ÷ Number of values
Median:
Mode = The value(s) that appear most often
Range = Maximum − Minimum
Midrange = (Maximum + Minimum) ÷ 2
Data: 7, 3, 9, 5, 3, 8, 3
Data: 4, 8, 6, 5, 3, 2
Data: 1, 2, 2, 3, 3, 4
Data: 20, 22, 21, 23, 95
The value 95 pulls the mean up to 36.2, which is higher than four of the five values. The median of 22 describes the typical value much better. Without 95, the mean of the other four values is 21.5.
A survey asks 20 people to rate a product from 1 to 5.
| Rating | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|
| Number of people | 2 | 5 | 8 | 3 | 2 |
Four test scores are 70, 85, 90, and 75, and a fifth test is unknown. You need a mean of 80.
You have scores of 82, 88, and 79. You want a mean of 85 after 4 tests.
Class A has 20 students with a mean score of 70. Class B has 30 students with a mean of 80.
| If your data… | Use | Why |
|---|---|---|
| Is fairly symmetric, with no extreme values | Mean | It uses every value |
| Has outliers or is skewed (such as incomes or house prices) | Median | It is not pulled by extreme values |
| Is in categories (such as favorite color or shoe size) | Mode | It shows the most common choice |
| Needs a measure of spread | Range | It is simple, but it depends only on the two extremes |
For a fuller picture of spread, such as the standard deviation and the interquartile range, see our Statistics Calculator.
Add all the numbers and divide by how many there are. For 7, 3, 9, 5, 3, 8, 3, the sum is 38 and the mean is 38 ÷ 7 = 5.43.
Sort the numbers and take the middle one. If there are two middle numbers, take their average. For 2, 3, 4, 5, 6, 8, the median is (4 + 5) ÷ 2 = 4.5.
Find the number that appears most often. In 7, 3, 9, 5, 3, 8, 3, the mode is 3.
Subtract the smallest number from the largest. For 3 to 9, the range is 9 − 3 = 6.
Yes. If two or more values tie for the most frequent, they are all modes. If all values appear equally often, there is no mode.
Take the average of the two. If the middle numbers are 4 and 5, the median is 4.5.
The mean is the average, and it is affected by extreme values. The median is the middle value, and it is not. In 20, 22, 21, 23, 95, the mean is 36.2 and the median is 22.
When your data has outliers or is skewed, such as incomes or house prices.
In everyday use, “average” usually means the mean. In statistics, the median and mode are also kinds of averages.
Yes. In perfectly symmetric data with one mode, they can all be equal.
The average of the smallest and largest values: (min + max) ÷ 2. It is a quick measure of the center, but it is affected by outliers.
Yes. It is free, with no registration and no limits.
It uses exact arithmetic on the numbers you enter. Check that you typed them correctly.
A few of the most-used tools in each hub.
This calculator is for general informational and educational purposes only. Results depend on the numbers you enter. For research, financial, or other important decisions, consult a qualified professional.