Average calculator (and weighted average)
Type your numbers separated by semicolons or one per line. Add weights if you need them.
Result
13.25Average
- Median
- 13.5
- How many values
- 4
- Sum
- 53
- Smallest
- 9
- Largest
- 17
Inputs
- Your numbers
- 12; 15; 9; 17
- Weights (optional)
- —
How it is calculated
Average = sum of the numbers ÷ how many there are.
Result
Average
- Median
- 13.5
- How many values
- 4
- Sum
- 53
How it is calculated
- Average = sum of the numbers ÷ how many there are.
- Weighted average = Σ(value × weight) ÷ Σ weights.
- Median = the middle value once the numbers are sorted.
Example
12, 15, 9 and 17: sum 53, average 13.25, median 13.5.
Good to know
- Separate numbers with “;” or a new line, because commas can be part of a number.
When to use it
- Find a school average when subjects have different coefficients, using weights.
- Average prices, times or scores from a list pasted from a spreadsheet.
- Compare the mean with the median to see if one extreme value pulls the result.
- For the spread of the values as well, use the Standard deviation and variance calculator.
Frequently asked questions
How do weights work in a grade average?
Each mark counts as many times as its weight. Marks 12 (weight 3) and 16 (weight 1) give (36 + 16) ÷ 4 = 13, not 14.
When is the median better than the mean?
When a few values are far from the others, such as salaries or house prices. One very high value moves the mean a lot but the median barely.
What happens if I leave the weights empty?
Every value then counts the same, and the weighted average equals the plain average.