utilduck
Home · Calculators · Average Calculator

Average Calculator

Enter a list of numbers separated by commas, spaces, or new lines to see the statistics.

Count-
Sum-
Mean (Average)-
Median-
Minimum-
Maximum-

About these statistics

The mean is the sum of all values divided by the count. The median is the middle value when the list is sorted — for an even count, it is the average of the two middle values. The minimum and maximum are simply the smallest and largest numbers in the list.

How do I calculate the average of a list of numbers?

To calculate the average (mean), add all the numbers together and divide by how many numbers there are. Example: for 4, 8, 15, 16, 23, 42, the sum is 108 and there are 6 numbers, so the mean is 108 ÷ 6 = 18.

Steps to calculate mean, median, min, and max

  1. List every number you want to include, separated by commas, spaces, or line breaks.
  2. Add all the numbers together to get the sum (4+8+15+16+23+42 = 108).
  3. Divide the sum by the count of numbers to get the mean (108 ÷ 6 = 18).
  4. Sort the numbers from smallest to largest, then take the middle value — or average the two middle values if the count is even — to get the median.
  5. Identify the smallest and largest values in the sorted list to get the minimum and maximum.

Average formula

Mean = Sum of values ÷ Count of values
  • Sum = total of all numbers added together
  • Count = how many numbers are in the list
  • Median = the middle value of the sorted list (average of the two middle values for an even count)

Example statistics for different number lists

NumbersCountSumMeanMedian
4, 8, 15, 16, 23, 42610818.0015.50
10, 20, 3036020.0020.00
5, 5, 5, 54205.005.00
1, 2, 3, 4, 5, 6, 77284.004.00
100, 200, 50, 754425106.2587.50

Frequently asked questions

What is the difference between mean and median?

The mean is the sum divided by the count, so a few very large or very small numbers can pull it up or down. The median is the middle value after sorting, so it is not affected by extreme outliers in the same way. For skewed data, the median often better represents a typical value.

Why is the median the average of two numbers sometimes?

When the list has an even count, there is no single middle value — instead there are two middle values, and the median is defined as their average. For an odd count, the median is simply the single middle value after sorting.

Does the order I enter numbers matter?

No. The calculator sorts the numbers internally to find the median, minimum, and maximum, so entering them in any order gives the same result. Only the set of values and how many there are affects the output.

What happens if I include text or invalid entries?

The calculator skips any entry that cannot be parsed as a number and shows a notice that some values were ignored. Only valid numeric entries are included in the count, sum, mean, median, minimum, and maximum.

This calculator treats every entered value as equally weighted with no outlier removal or rounding beyond display precision. For large datasets or statistics like standard deviation and mode, use dedicated statistical software.