How to Calculate Average
Learning how to calculate average means learning one formula and three habits: add carefully, count correctly, and divide once. The formula is mean = sum of values ÷ number of values, and it works for test scores, monthly bills, race times, and any other list of numbers. The average calculator above does the arithmetic instantly, but this page teaches the method so you can check any result by hand.
The most common error is not the division but the addition: a slipped sum corrupts everything after it, and a miscounted list divides by the wrong number. This page walks through the addition with a running total, shows how to count a list that contains repeats, and explains what to do when one value is far from the rest. By the end you will be able to average any list with confidence, with or without a calculator.
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: Calculating the Mean by Hand
Work through these examples with a pen before checking them in the calculator. Each one shows the sum, the count, and the division, so you can find exactly where a hand calculation would go wrong.
| 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 |
| 68, 72, 75, 78, 80, 82, 85, 88, 90, 91 | 809 | 10 | 80.9 |
The class-scores row is the longest: the running total is 68, 140, 215, 293, 373, 455, 540, 628, 718, and finally 809, so the mean is 809 ÷ 10 = 80.9. Adding in pairs from the ends helps: 68 + 91 = 159, 72 + 90 = 162, 75 + 88 = 163, 78 + 85 = 163, and 80 + 82 = 162, which sums to 809 as well. Two different addition orders giving the same total is a good check.
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.
Averages in Everyday Life
These are the averages most people meet in a normal week, and the figure each one is really reporting.
| Situation | What is averaged | Typical value |
|---|---|---|
| Monthly grocery spending | Six monthly bills | Varies by household |
| Test scores in a class | Ten exam marks | 80.9 in the example above |
| Daily commute | Five daily drive times | Minutes per trip |
| Running pace | Lap or mile times | Minutes per mile |
| Customer ratings | Star ratings out of 5 | 4.2 out of 5, for example |
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.
Averaging Monthly Bills by Hand
A six-month grocery run of $420, $380, $450, $410, $390, and $430 sums to $2,480, so the average month is $2,480 ÷ 6 = $413.33. One expensive month of $450 does not change the picture much, because the mean spreads it across all six months. That smoothing is exactly why budgets are built on averages rather than on any single month.
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, grade calculator, GPA calculator, salary calculator, and the average calculator again whenever you need a fresh check.
Frequently Asked Questions
How do I calculate the average of numbers?
Add all the numbers together, count how many numbers there are, and divide the sum by the count. For 12, 18, 24, 24, 30, 36, and 42, the sum is 186 and there are 7 numbers, so the average is 186 ÷ 7 = 26.57.
What is the average of 5, 8, 12, 15, and 20?
The sum is 60 and there are 5 numbers, so the average is 60 ÷ 5 = 12. The median is also 12 here, because 12 is the middle value of the sorted list, which is a sign of symmetric data.
Do I count repeated numbers twice?
Yes. Every occurrence counts, including repeats. In 3, 3, 3, 7, 9 there are 5 numbers, not 3, and the sum is 25, so the mean is 5. Counting distinct values instead is one of the most common averaging errors.
How do I average numbers with decimals?
Exactly the same way: add the decimals, count the values, and divide. For 98.5, 101.2, and 99.8, the sum is 299.5 and the average is 299.5 ÷ 3 = 99.83. Keep two extra decimal places during the work and round only at the end.
When should I use the median instead of the mean?
Use the median when a few extreme values would drag the mean away from the typical value, as with salaries or house prices. If the mean and median are close, either is fine; if they differ by a lot, the median describes the typical case better.
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.
