How to Calculate an Average
To calculate the average, add all the numbers together and divide the total by the number of values. This is the arithmetic mean, which is what people usually mean when they say “average.”
- Add all values.
- Count the values.
- Divide the sum by the count.
Average Formula
Average = Sum of all values ÷ Number of values
x̄ = (x₁ + x₂ + ... + xₙ) / n
x̄ is the arithmetic mean, each x is a value, and n is the number of values.
Average Calculation Example
Suppose the values are 12, 18, 20, 25 and 30.
Sum = 12 + 18 + 20 + 25 + 30 = 105
Count = 5
Average = 105 ÷ 5 = 21
The average is 21.
Average vs. Weighted Average
A simple average gives every value equal importance. A weighted average gives some values greater influence based on their assigned weights.
If your values have different weights, use the Weighted Average Calculator.
When the Average Can Be Misleading
Extreme values can pull the arithmetic mean away from what looks typical. For example, the values 10, 11, 12, 13 and 100 have a mean of 29.2, even though four of the five values are 13 or lower.
For a skewed dataset like this, the median can sometimes represent the middle more clearly. The best measure depends on what you need the numbers to describe.
Frequently Asked Questions
Is average the same as mean?
In everyday arithmetic, average usually means arithmetic mean: add the values and divide by the number of values.
Can I average negative numbers?
Yes. Negative values are included with their signs. For example, -10, 20 and 30 have an average of approximately 13.333333.
Can I average decimal numbers?
Yes. Decimal values use exactly the same arithmetic-mean calculation.
Does zero count when calculating an average?
Yes. If zero is part of the dataset, it contributes to both the sum and the number of values. The values 0, 10 and 20 average to 10.
What is the difference between average and weighted average?
A simple average treats all values equally; a weighted average assigns different importance to values. Use the Weighted Average Calculator when your values have different weights.
