Mean Calculator
A mean calculator takes a list of numbers and returns their arithmetic mean: the sum divided by the count. It is the single most used summary in statistics, and it is also the easiest to misuse, because one extreme value can pull it far from the typical value. The average calculator above gives the mean together with the median, the mode, and the spread, so you can see at a glance whether the mean is telling the truth about your data.
The mean is the right tool when every value counts equally and the data is roughly symmetric: test scores, measurements, and repeated timings all qualify. It is the wrong tool when the data is skewed, as with incomes or house prices, where the median is the fairer summary. This page shows the mean on real lists, compares it with the median and mode, and explains the weighted mean for cases where some values count more than others.
The Average Formulas: Mean, Median, and Mode
When people say “average” they almost always mean the arithmetic mean: add all the values together, then divide by how many values there are. The formula is short enough to remember for life: mean = sum of values ÷ number of values. For the numbers 12, 18, 24, 24, 30, 36, and 42, the sum is 186 and there are 7 values, so the mean is 186 ÷ 7 = 26.57. The mean uses every value in the list, which is its strength and its weakness: one very large or very small value pulls it toward itself, so a single billionaire in a survey of ten ordinary earners makes the “average income” look far higher than what a typical person earns.
The median is the middle value when the numbers are sorted from smallest to largest. If there is an odd count, the median is the value in the exact middle; if there is an even count, it is the average of the two middle values. The median ignores extremes, which is why house prices and salaries are usually reported as medians: half the homes cost more and half cost less, and one mansion cannot drag the figure up. The mode is the value that appears most often. A list can have one mode, several modes, or no mode at all, and the mode is the only average that works for categories such as favourite colours or most common shoe size.
The calculator above reports all three at once, plus the range, the sum, the minimum and maximum, and both the population and sample standard deviations. That matters because a single average can mislead: a class with a mean of 80.9 and a median of 81 is genuinely strong, while a class with the same mean but a median of 65 has a few high scores hiding many low ones. The National Institute of Standards and Technology publishes the standard definitions of these measures in its Engineering Statistics Handbook, and they are the same definitions used in classrooms and workplaces across the United States.
Step 1 — Add All the Values
Write the numbers in a list and add them carefully, one at a time. For 12, 18, 24, 24, 30, 36, and 42, the running total goes 12, 30, 54, 78, 108, 144, and finally 186. Adding in a different order gives the same total, so group friendly pairs if it helps: 12 + 42 = 54, 18 + 36 = 54, 24 + 30 = 54, plus the extra 24, which is 54 + 54 + 54 + 24 = 186. Check the sum twice before dividing, because an addition slip at this stage corrupts everything that follows.
Step 2 — Count How Many Values There Are
Count the entries in your list, including repeats. The list 12, 18, 24, 24, 30, 36, 42 has 7 values, not 6: the 24 appears twice and both copies count. A common error is to count the distinct values instead of all values, which divides by too small a number and inflates the mean. If your list comes from a spreadsheet column, count the filled cells rather than eyeballing the range.
Step 3 — Divide, Then Find the Median and Mode
Divide the sum by the count to get the mean: 186 ÷ 7 = 26.57. Then sort the list and pick the middle value for the median (24 here), and count frequencies for the mode (24 again, appearing twice). Report all three together: mean 26.57, median 24, mode 24. When the mean sits above the median, as it does here, the data is pulled slightly upward by the larger values, which is a useful one-line summary of the shape of your data.
Worked Examples: Finding the Mean
Each example shows the full arithmetic, so you can follow the sum, the count, and the division without guessing.
| List | Sum ÷ count | Mean |
|---|---|---|
| 12, 18, 24, 24, 30, 36, 42 | 186 ÷ 7 | 26.57 |
| 5, 8, 12, 15, 20 | 60 ÷ 5 | 12 |
| 70, 75, 80, 85, 90, 95 | 495 ÷ 6 | 82.50 |
| 3, 3, 3, 7, 9 | 25 ÷ 5 | 5 |
| 98.5, 101.2, 99.8 | 299.5 ÷ 3 | 99.83 |
The decimal example shows why you should keep extra digits during the work: 299.5 ÷ 3 = 99.8333, which rounds to 99.83. Rounding the inputs first, to 99, 101, and 100, would give a sum of 300 and a mean of 100, which is close but wrong. Small rounding errors like that add up across a long list.
How to Use the Average Calculator
The calculator above accepts any list of numbers, separated by commas or spaces, and updates the moment you type. It also accepts optional weights, one per number, for a weighted mean. Use it for test scores, monthly spending, race times, or any list where a single typical value helps you decide.
- Type or paste your numbers into the first box, separated by commas or spaces. Decimals and negative numbers are accepted, so a list such as 98.5, 101.2, 99.8 works exactly as written.
- Add weights if some values matter more. Enter one weight per number, in the same order, in the second box. Leave it blank for a plain average where every value counts equally.
- Read the mean first. This is the headline figure: the sum divided by the count. The calculator shows it to two decimal places, which is plenty for almost every real use.
- Compare the median and the mode. If the median is far from the mean, a few extreme values are pulling the mean away from the typical value, and the median is the fairer summary.
- Check the spread. The range, the standard deviation, and the sorted list tell you whether your numbers cluster tightly around the average or scatter widely, which matters as much as the average itself.
Mean or Median: Which Should You Report?
The choice between the mean and the median depends on the shape of the data. This table gives the rule for the common cases.
| Data | Mean | Median | Report |
|---|---|---|---|
| Class scores 68–91 | 80.9 | 81 | Either; they agree |
| Incomes with one very high earner | 127 | 35 | Median |
| Symmetric measurements | 99.83 | 99.8 | Either; they agree |
| Dice rolls 1, 2, 2, 3, 4, 6 | 3 | 2.5 | Mean, with the mode |
| Shoe sizes 8, 9, 9, 9, 10, 11 | 9.33 | 9 | Mode, for stocking |
Common Mistakes When Calculating an Average
Most wrong averages come from a small list of avoidable errors. Check your work against these before you trust the number.
- Dividing by the wrong count. Forgetting a value, or counting distinct values instead of all values, divides the sum by the wrong number and shifts the mean.
- Mixing units. Averaging 5 miles and 3 kilometres without converting first produces a meaningless number. Convert everything to one unit, then average.
- Averaging averages. The mean of two group means is only correct if the groups are the same size. A class of 10 averaging 90 and a class of 30 averaging 70 average 75 together, not 80, because the larger class carries more weight.
- Using the mean on skewed data. A few very large values drag the mean upward. For salaries, house prices, and waiting times, the median usually describes the typical case better.
- Rounding too early. Keep full precision through the addition and division, and round only the final displayed result, or small errors accumulate.
Where You Will Use an Average
Averages sit behind almost every summary number you meet in daily life, from the weather forecast to your payslip. These are the situations where they earn their keep.
- Test scores and grades. Teachers average quiz and exam marks to summarise a term, and students average their own scores to see where they stand before a final exam.
- Monthly spending. Averaging six months of grocery or fuel bills smooths out one expensive month and shows what you really spend in a typical month.
- Sports and fitness. Average pace per mile, average heart rate, and average lap time turn a pile of workout data into one comparable figure.
- Business reporting. Average order value, average delivery time, and average customer rating are the headline numbers in most weekly business reports.
- Weather and climate. The average temperature for a month is the mean of its daily temperatures, and comparing it with the long-run average shows whether a month was unusually warm or cold.
The Weighted Mean, Worked Out
When values carry different weights, the mean must respect them. A student scoring 90 on a 3-credit course, 80 on a 2-credit course, and 70 on a 1-credit course has a weighted mean of (90 × 3 + 80 × 2 + 70 × 1) ÷ (3 + 2 + 1) = (270 + 160 + 70) ÷ 6 = 500 ÷ 6 = 83.33. The plain mean of 80 understates the result, because it ignores the fact that the best score carried the most weight.
Tips for Accurate Results
A careful average is a trustworthy average. These habits keep your results honest and repeatable.
- Keep the raw list. Save the original numbers alongside the average so you can recheck the sum later; a mean without its source data cannot be audited.
- Report the median too. Two numbers beat one: when they agree, the average is solid, and when they disagree, the gap itself tells you something about the data.
- Watch for outliers. Before averaging, glance at the sorted list. A value ten times the rest is usually a typo, and one genuine extreme deserves a note, not silent inclusion.
- Match the average to the question. Use the mean for totals and per-unit rates, the median for typical cases in skewed data, and the mode for the most common category or value.
- Use the weighted mean for unequal items. When a final exam counts double, or a 4-credit course counts more than a 1-credit course, weights are not optional: they are the correct calculation.
Average Quick Answers
These are the answers people look up most often, each one verified against the calculator above. If your list matches one of these, the answer is already here.
| Question | Answer |
|---|---|
| Mean of 12, 18, 24, 24, 30, 36, 42 | 26.57 |
| Median of 12, 18, 24, 24, 30, 36, 42 | 24 |
| Mode of 12, 18, 24, 24, 30, 36, 42 | 24 |
| Weighted mean of 90, 80, 70 with weights 3, 2, 1 | 83.33 |
| Mean of class scores 68 to 91 | 80.9 |
Related tools on this site: the main average calculator, percentage calculator, fraction calculator, basic calculator, and the average calculator again whenever you need a fresh check.
Frequently Asked Questions
What is the mean of a list of numbers?
The mean is the sum of the numbers divided by how many numbers there are. For 12, 18, 24, 24, 30, 36, and 42, the sum is 186, there are 7 numbers, and the mean is 186 ÷ 7 = 26.57.
How is the mean different from the average?
They are the same thing in everyday language: “average” usually means the arithmetic mean. In statistics, “average” is a wider word that also covers the median and the mode, so it helps to name which one you mean.
What is the mean of 70, 75, 80, 85, 90, and 95?
The sum is 495 and there are 6 numbers, so the mean is 495 ÷ 6 = 82.50. The median is also 82.50 here, because the two middle values are 80 and 85, and their average is 82.50.
Can the mean be a decimal if the inputs are whole numbers?
Yes, often. The mean of 3, 3, 3, 7, and 9 is exactly 5, but the mean of 12, 18, 24, 24, 30, 36, and 42 is 26.57, because 186 does not divide evenly by 7. A decimal mean is normal and correct.
How do I find the mean of negative numbers?
The same way: add them, keeping the signs, and divide by the count. For −5, 0, and 10, the sum is 5 and the mean is 5 ÷ 3 = 1.67. The calculator above accepts negative numbers directly.
Disclaimer: This calculator is for general information only. Averages summarise data; they do not replace professional statistical advice for decisions with financial, medical, or legal consequences.
