Average of a List

Calculate the average (arithmetic mean) of a list of numbers, plus the count, sum and median. Paste numbers separated by commas, spaces or new lines.

  • 100% free
  • No signup
  • Runs in your browser

Overview

Enter numbers to compute their arithmetic mean (sum divided by count).

Count—
Sum—
Median—

How to use

  1. Type or paste your numbers into the box, one per line or separated by commas or spaces.
  2. The average appears as you type, together with the count, the sum and the median.

How the average is calculated

The average adds up all the numbers and divides the sum by how many numbers there are. For 4, 8 and 15: (4 + 8 + 15) / 3 = 27 / 3 = 9.

The median is the middle value of the sorted list. When a few values are much larger or smaller than the rest, the median often describes a typical value better than the average.

Weighted average

If some values count more than others, multiply each value by its weight, add the results and divide by the sum of the weights. Grades of 80 (weight 2) and 90 (weight 1) give (80 × 2 + 90) / 3 ≈ 83.33.

Examples

Example Result
4, 8, 15 27 / 3 = 9
2.5, 3.5, 4 10 / 3 ≈ 3.33
10, 20, 30, 1000 Average 265, median 25
Tips: Works with decimals and any number of values.

FAQ

Yes. The average is the sum of all numbers divided by how many numbers there are.

Add all the numbers and divide the sum by how many numbers there are. For 4, 8 and 15 the sum is 27 and the average is 27 / 3 = 9.

The average uses every value, so extreme values pull it up or down. The median is the middle value and ignores how far away the extremes are. For 10, 20, 30 and 1000 the average is 265 but the median is 25.

Yes. Copy a column or a row from Excel or Google Sheets and paste it; tabs, spaces and line breaks all work as separators.

Multiply each value by its weight, add the products and divide by the sum of the weights. This tool calculates the simple average, in which every value has the same weight.

Need another tool?

Explore all 61 free tools: calculators, converters, date and time tools, random generators and text utilities.

Browse all tools