Average Calculator

The average, or mean, of a set of numbers is their total divided by how many numbers there are. This average calculator adds your values, divides by the count, and shows each step. Add optional weights to find a weighted average, which is useful for grades, prices and survey results.

For a weighted average, enter one weight per number.
Try:

How to use the average calculator

  1. Type or paste your numbers, separated by commas, spaces or new lines.
  2. Optionally, enter one weight per number for a weighted average.
  3. Press Calculate to see the average, the sum and the count.

Formula

xˉ=∑xin\bar{x} = \frac{\sum x_i}{n}
xˉw=∑wixi∑wi\bar{x}_w = \frac{\sum w_i x_i}{\sum w_i}

Worked example: 4, 8, 15, 16, 23, 42

  • Numbers: 4, 8, 15, 16, 23, 42

✓ Answer checked

1818
Sum
108108
Count
6
Step-by-step working (2 steps)
  1. Add the numbers

    Add all 6 values.

    4+8+15+16+23+42=1084 + 8 + 15 + 16 + 23 + 42 = 108
  2. Divide by how many there are Mean = sum ÷ count

    There are 6 values.

    1086=18\frac{108}{6} = 18
Formulas used
xˉ=∑xin\bar{x} = \frac{\sum x_i}{n}
How this was checked
  • ✓ Mean × count equals the sum.
  • ✓ Floating-point arithmetic gives the same mean.

Frequently asked questions

How do I calculate the average of numbers?

Add all the numbers and divide by how many there are. The average of 4, 8 and 12 is 24 ÷ 3 = 8.

What is a weighted average?

A weighted average gives some values more importance than others. Multiply each value by its weight, add the results, and divide by the total weight.

Is the average the same as the median?

Not always. The mean adds and divides, while the median is the middle value when the data is sorted. Use the mean, median and mode calculator to see both.

Related calculators

Related guides