Average Calculator

Enter numbers separated by spaces, commas or new lines and get every common summary statistic.

Average Calculator

Separate with spaces, commas or new lines. Up to 100,000 numbers.

Tip: press Ctrl+Enter (Cmd+Enter on Mac) inside a text box to run.

Your result will appear hereFill in the fields and press “Calculate”.

Formula

  • mean = (x₁ + x₂ + … + xₙ) ÷ n
  • median = middle value of the sorted list (average of the two middle values if n is even)
  • mode — the most frequent value(s)
  • range = largest − smallest

Add everything up and divide by how many numbers there are.

Worked example

Five test scores

Numbers
12, 15, 15, 18, 20

Average (mean)

16

Count: 5

Sum: 80

Median: 15

How it works

The mean adds the numbers and divides by the count. The median is the middle number once sorted, which makes it less sensitive to unusually large or small values. The mode is the value that appears most often; if every value is different there is no mode.

Decimal values are summed exactly, so 0.1 + 0.2 + 0.3 gives 0.6 rather than 0.6000000000000001. If some values should count for more than others, use Weighted Average Calculator. For exam marks across subjects see Marks Percentage Calculator.

Assumptions and limits

  • Thousands separators aren't accepted inside the list (they would be read as list separators).