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

Mean (average)
6.4
Median
8
Mode
8
appears 2 times
Range
6
3 to 9
Count
5
Sum
32

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

  1. Choose mean, median, mode or weighted average.
  2. Type or paste your numbers, separated by commas, spaces or new lines.
  3. For a weighted average, add one weight for each value.
  4. 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

Frequently Asked Questions (FAQ)

How do I calculate an average?

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.

What is the difference between mean, median and mode?

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.

How do I find the median of an even number of values?

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.

What is a weighted average?

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.

Do the weights have to add up to 100?

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.

What does it mean if there is no mode?

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.

Can I use average hours or pay figures?

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.