Average Calculator
Find the mean, median, mode and weighted average of a list of numbers.
Inputs
ExampleSeparate with spaces, commas or new lines. Do not use thousands separators.
Optional. One weight per number, in the same order.
Result
- Mean
- 4.4
- Median
- 4
- Mode
- 4
- Count
- 5
- Sum
- 22
- Range
- 2 to 7
About this tool
Averages summarise a list of numbers in one figure. The mean adds everything up and divides, the median is the middle value and is not pulled by extremes, and the mode is the most common value. Add weights when some values count more than others, such as marks with different credits or prices bought in different quantities.
- Type or paste your numbers.
- Optionally add a weight for each number.
- Read the mean, median, mode and, with weights, the weighted average.
Formula
Mean = sum ÷ count. Median = middle value after sorting, or the mean of the two middle values. Mode = most frequent value(s). Weighted average = Σ(value × weight) ÷ Σ weights.
Worked example
For 2, 4, 4, 5, 7 the mean is 4.4, the median 4 and the mode 4. Scores of 80 and 90 with weights 1 and 3 have a weighted average of 87.5.
Assumptions and limits
- Up to 10,000 numbers.
- Commas separate numbers, so write 1000 rather than 1,000.
- If every value appears once, there is no mode.
Questions
When should I use the median?
When a few very large or small values would distort the mean, such as salaries or house prices.
What is a weighted average used for?
Average purchase cost across batches, grade point averages, or a portfolio's average return.
Can there be more than one mode?
Yes. All values tied for most frequent are listed.