Average Calculator
Paste a list of numbers to get the mean, median, mode, range, count and sum, with the working shown. Switch to weighted mode when some values count more than others. It runs in your browser.
Numbers
Separate with commas, spaces or new lines. Do not use thousands separators (write 1000, not 1,000).
Result
Working
- Mean: 32 ÷ 5 = 6.4
- Sorted: 3, 4, 8, 8, 9
- Median: the middle value, number 3 = 8
- Range: 9 − 3 = 6
How to use the average calculator
- Choose mean, median, mode or weighted average.
- Type or paste your numbers, separated by commas, spaces or new lines.
- For a weighted average, add one weight for each value.
- Read the results and the working underneath.
Formulas and worked example
Mean = sum ÷ count. For 4, 8, 9, 3 and 8 the sum is 32 and the count is 5, so the mean is 6.4. Sorted, the list is 3, 4, 8, 8, 9, so the median is 8 and the mode is 8. The range is 9 − 3 = 6.
Weighted average = Σ(value × weight) ÷ Σ(weights). Scores of 80, 90 and 70 with weights 30, 50 and 20 give (2400 + 4500 + 1400) ÷ 100 = 83. The result is arithmetic only. For pay or leave, check your contract or local rules.
Related tools
Compare two values with the percentage change calculator, or tidy the result with the rounding calculator.
See also
- Compare two values with the percentage change calculator.
- Tidy up the result with the rounding calculator.
Frequently Asked Questions (FAQ)
Add up all the numbers and divide by how many there are. For 4, 8 and 9 the sum is 21, and 21 divided by 3 gives an average of 7.
The mean is the sum divided by the count. The median is the middle value once the list is sorted. The mode is the value that appears most often. A list can have one mode, several, or none.
Sort the list and take the two middle values, then find their mean. For 1, 3, 5 and 9 the middle two are 3 and 5, so the median is 4.
A weighted average counts some values more than others. Multiply each value by its weight, add the results, then divide by the total of the weights. It is used for course grades, where an exam may count for more than homework.
No. Weights can be percentages, points or hours. The calculator divides by whatever the weights add up to, so 1 and 3 give the same result as 25 and 75.
When every number appears only once, no value is the most common, so the calculator shows no mode. If two or more values tie for most common, all of them are listed.
Yes, it works on any numbers, such as hours worked or daily amounts. For pay or leave, the result is only arithmetic, so check your contract or local rules for how averages are applied.