Paste or type a list of numbers to get the mean, median and mode, plus the range, count and sum. Numbers can be separated by commas, spaces or line breaks, so a column copied from a spreadsheet works as it is.
The three averages answer slightly different questions. The mean is the total shared out equally, the median is the middle value, and the mode is the most common one. When they disagree, that tells you something about the data: usually that it is lopsided or has an outlier.
What is an average?
An average is one number chosen to stand for a whole set. The mean adds the values and divides by how many there are, the median is the middle value when they are sorted, and the mode is the value that appears most often.
Which one is right depends on the data and the question. The mean is the natural choice for symmetric data and for totals shared out, such as average spending per person. The median resists outliers, so it describes typical incomes, prices and waiting times better. The mode is the only one that works for categories, such as the most common shoe size sold.
How to use the average calculator
- Type or paste your numbers into the box.
- Separate them with commas, spaces or new lines — any mix works.
- Read the mean, median and mode, then check the range for outliers.
Formula
Mean = (x₁ + x₂ + … + xₙ) ÷ n
The median is the middle value once the list is sorted; with an even count it is the mean of the two middle values. The mode is the value that appears most often, and a list can have several modes or none.
The range is the largest value minus the smallest. It is the simplest measure of spread, but a single outlier can stretch it.
Worked examples
Test scores
- Numbers
- 72, 85, 90, 66, 85
- Mean (average)
- 79.6
- Median
- 85
- Mode
- 85
Mean: (72 + 85 + 90 + 66 + 85) ÷ 5 = 398 ÷ 5 = 79.6. Sorted, the scores are 66, 72, 85, 85, 90, so the median is 85, which is also the mode.
An outlier pulls the mean
- Numbers
- 30, 32, 35, 38, 250
- Mean (average)
- 77
- Median
- 35
- Mode
- None (no value repeats)
The mean is 385 ÷ 5 = 77, yet four of the five values are below 40. The median, 35, is the better summary, and the range of 220 is a warning sign.
An even number of values
- Numbers
- 12, 7, 3, 9
- Mean (average)
- 7.75
- Median
- 8
- Mode
- None (no value repeats)
Sorted, the list is 3, 7, 9, 12. With no single middle value, the median is the mean of 7 and 9, which is 8. The mean is 31 ÷ 4 = 7.75, and no value repeats, so there is no mode.
Which average to use
| Average | Use it when | Example |
|---|---|---|
| Mean | Values are roughly symmetric with no extreme outliers | Average daily temperature |
| Median | Data are skewed or have outliers | Household income, house prices |
| Mode | You want the most common value or category | Most popular shirt size |
| Weighted mean | Some values count more than others | Course grade, grade point average |
| Trimmed mean | You want to use most of the data but ignore the extremes | Judges’ scores with the highest and lowest dropped |
Mean or median?
The mean uses every value, so one extreme value can drag it a long way. In an office where nine people earn $40,000 and one earns $1,000,000, the mean salary is $136,000, more than anyone but the top earner makes. The median is $40,000. That is why incomes and house prices are usually reported as medians.
For roughly symmetric data with no outliers, such as heights or repeated measurements of the same thing, the mean and median are close and the mean is the better choice because it uses all the information.
Weighted averages
When some values count more than others, multiply each by its weight, add them up and divide by the total weight. A course where homework is 20% of the grade and exams are 80% gives a student with 90 on homework and 70 on exams 0.2 × 90 + 0.8 × 70 = 74, not the plain average of 80.
Don’t average averages
Combining group means needs weighting by group size. If 10 students average 80 and 30 students average 60, the overall average is (10 × 80 + 30 × 60) ÷ 40 = 65, not the 70 you get by averaging 80 and 60.
Common mistakes
- Reporting the mean for skewed data such as incomes, where a few large values distort it.
- Taking the middle value of an unsorted list as the median.
- Averaging the averages of groups of different sizes instead of weighting by group size.
- Averaging percentages that are out of different totals. Add up the underlying counts instead.
Frequently asked questions
How do I calculate the average?
Add all the values and divide by how many there are. The average of 2, 4 and 9 is 15 ÷ 3 = 5.
How do I find the median of an even number of values?
Sort them and take the mean of the two middle values. For 3, 5, 8 and 10 the middle pair is 5 and 8, so the median is 6.5.
Can a list have more than one mode?
Yes. If several values tie for the most appearances, they are all modes. If no value repeats, there is no mode.
Is the average the same as the mean?
In everyday use, yes: “average” usually means the arithmetic mean. Strictly, the median and mode are averages too, which is why reports should say which one they mean.
How do I average percentages?
Only take a plain average if each percentage is out of the same total. Otherwise go back to the counts: 9 of 10 and 30 of 100 is 39 of 110, or 35.5%, not the 60% you get by averaging 90% and 30%.
Sources
- Measures of Location, NIST/SEMATECH e-Handbook of Statistical Methods
- Introductory Statistics 2e, 2.5: Measures of the Center of the Data, OpenStax, Rice University
- Introductory Statistics 2e, 2.6: Skewness and the Mean, Median, and Mode, OpenStax, Rice University
Last updated · Calculations checked by automated tests· Editorial policy