Skip to content

Average Calculator

Find the average of a list of numbers. The calculator gives you the mean, which adds the values and divides by how many there are, plus the sum, count, median and mode.

Separate the numbers with commas or spaces.

Mean (average)

22.142857

Sum 155 ÷ 7 numbers = 22.142857.

Count
7
Sum
155
Median
23
Mode
23 and 38

How to use this calculator

  1. 1 Type your numbers into the box, separated by commas or spaces. Negative numbers are fine.
  2. 2 Read the mean. It is the average, and the count and sum show how it was worked out.
  3. 3 Check the median and mode if you want the middle value or the most common value.
  4. 4 Change one number to see how the average moves, which is a quick way to test an idea.

What is an average?

An average is a single number that describes a whole list. It gives you a typical value, so you don’t need to read every number to get the big picture.

The most common average is the mean, also called the arithmetic mean. Say you score 70, 80 and 90 on three tests. You add the scores to get 240, then divide by 3. Your mean score is 80.

Averages appear everywhere. Teachers use them for grades, and analysts use them for prices, sales and temperatures.

How the mean is calculated

To find the mean, add all the numbers together. Then divide the total by how many numbers you added. The mean always falls somewhere between the smallest and largest number in the list.

Take the example in the calculator, 10, 2, 38, 23, 38, 23 and 21. The sum is 155. There are 7 numbers, so the mean is 155 ÷ 7 = 22.142857. The calculator shows this to six decimal places.

A mean is often a fraction. That is normal, and it doesn’t mean the calculator is wrong. Round it only at the end, when you need a neat answer.

Median and mode in short

The median is the middle value after you sort the list from smallest to largest. If there is an even count, the median is the mean of the two middle values. The mode is the value that appears most often.

In the example, the sorted list is 2, 10, 21, 23, 23, 38, 38. The median is 23, and both 23 and 38 appear twice, so they are both modes. For more detail, use the mean, median, mode and range calculator.

When an average can mislead

A single very large or very small value, called an outlier, can pull the mean a long way. Imagine five people earn $30,000, $32,000, $35,000, $38,000 and $1,000,000 a year. The mean is $227,000, which doesn’t describe most of the group.

In that case, the median is more useful. It is $35,000, the middle earner. So when a list has an outlier, look at both numbers before you decide what the average says.

The standard deviation calculator goes further. It measures how spread out the numbers are around the mean.

Averages of averages

You can’t average two averages and get the right answer, unless both groups are the same size. Instead, use a weighted average. Multiply each average by its group size, add the results, and divide by the total number of items.

For example, one class of 10 students averages 80, and another class of 30 averages 70. The average of the two averages is 75, but that is wrong. The right answer is (80 × 10 + 70 × 30) ÷ 40 = 72.5, because the second class is bigger.

  • Use the mean for values that are fairly even, such as test scores in one class.
  • Use the median when a few very large or small values could mislead you.
  • To see one value as a share of a total, use the percentage calculator.

The formula

Mean (average)

Mean = (x₁ + x₂ + … + xₙ) ÷ n

xᵢ
each number in the list
n
how many numbers there are

Median

Sort the numbers. For an odd count, take the middle one. For an even count, take the mean of the two middle ones.

Mode

The value that occurs most often. If every value occurs once, there is no mode.

Worked example

Average of 10, 2, 38, 23, 38, 23, 21

  1. 1.Sum: 10 + 2 + 38 + 23 + 38 + 23 + 21 = 155
  2. 2.Count: 7 numbers
  3. 3.Mean: 155 ÷ 7 = 22.142857
  4. 4.Median: sorted list 2, 10, 21, 23, 23, 38, 38, so the middle value is 23

The mean is 22.142857, the median is 23 and the modes are 23 and 38.

Frequently asked questions

What is the difference between mean, median and mode?

The mean is the arithmetic average: add everything and divide by the count. The median is the middle value when the numbers are sorted. The mode is the value that appears most often.

Can a list have more than one mode?

Yes. If two or more values tie for the most occurrences, they are all modes. A list where every value appears once has no mode.

Why is my mean not a whole number?

The mean is often a fraction of the list total. For example, 155 divided by 7 is 22.142857…, so the calculator shows six decimal places.

Can I average negative numbers?

Yes. Add them as normal, including the negative values, and divide by the count. For example, the mean of −5, 5 and 10 is 10 ÷ 3 = 3.333333.

How do I calculate a weighted average?

Multiply each value by its weight, such as the number of students in a class. Add those results and divide by the total weight. Use the mean only when every value counts the same.

Sources

Last reviewed by the GridCalculators team.