Calculate the simple average of a list of numbers or a weighted average such as a grade or GPA, with the sum, count, median, range and full working.
Working
Separate numbers with commas, spaces or new lines. Weights can be percentages, credits, quantities or any positive numbers; they don't need to add up to 100.
An average calculator finds the arithmetic mean of a list of numbers, or a weighted average when some values count more than others. For a simple average it adds the numbers and divides by how many there are, and also shows the median, range, geometric mean and harmonic mean. For a weighted average it multiplies each value by its weight, adds the products and divides by the total weight, showing each value’s share.
For example, the average of the test scores 85, 92, 78, 90 and 88 is 86.6. If 85, 92 and 78 are worth 20%, 30% and 50% of a final grade, the weighted average is 83.6.
Average = sum of the numbers ÷ how many numbers there are
For 85, 92, 78, 90 and 88, the sum is 433 and there are 5 numbers, so the average is 433 ÷ 5 = 86.6. This is the arithmetic mean, the value most people mean when they say “average”. It’s the number each item would be if the total were shared out equally.
Weighted average = Σ(value × weight) ÷ Σ(weight)
A weighted average gives some values more influence than others. Suppose homework (85) is worth 20% of a grade, a project (92) 30% and the final exam (78) 50%. Multiply each score by its weight: 85 × 20 = 1,700, 92 × 30 = 2,760 and 78 × 50 = 3,900. The products add up to 8,360, and the weights add up to 100, so the weighted average is 8,360 ÷ 100 = 83.6. The simple average of the three scores would be 85, but the low exam score pulls the weighted result down because it counts for half the grade.
The weights don’t have to add up to 100 or to 1; the formula divides by their total, whatever it is.
A student earns a 4.0 in a 3-credit course, a 3.0 in a 4-credit course and a 3.7 in a 2-credit course. The credits are the weights: 4 × 3 + 3 × 4 + 3.7 × 2 = 12 + 12 + 7.4 = 31.4 grade points, over 9 credits, giving a GPA of 31.4 ÷ 9 ≈ 3.49. The simple average of the three grades would be 3.57, which overstates the result because the 3.0 was in the biggest course.
You buy 10 litres of fuel at 1.50, 30 litres at 1.40 and 20 litres at 1.60. The average price per litre isn’t the simple average of the three prices (1.50), because you bought different amounts. Weighted by litres, it’s (15 + 42 + 32) ÷ 60 = 89 ÷ 60 ≈ 1.483 per litre. Weighted averages like this are used for average costs of shares, stock and materials.
You can also work backwards from a target average. Suppose your first four test scores are 72, 80, 85 and 79, and you want an average of 80 over five tests. The five scores must add up to 5 × 80 = 400. The first four add up to 316, so you need 400 − 316 = 84 on the last test. For a weighted target, the idea is the same: multiply the target by the total weight, subtract the weighted points you already have, and divide by the weight of the remaining item. If the final exam is worth 50% and you have 41.4 points from the other 50%, you need (80 − 41.4) ÷ 0.5 = 77.2 on the exam for an overall 80.
A moving average smooths out short-term ups and downs by averaging the most recent few values and updating as new data arrives. A 7-day moving average of daily sales, for example, adds the last seven days and divides by 7, then repeats the next day with the oldest value dropped and the newest added. Moving averages are widely used for stock prices, weather data, website traffic and health statistics, because they reveal the underlying trend more clearly than the raw, noisy numbers.
An average summarises a whole set of numbers in a single value, which is very useful for comparisons, but it hides how spread out the data is. Two classes can both average 70 on a test, one with every student scoring between 65 and 75 and the other with scores from 30 to 100. That’s why averages are often reported together with the range or the standard deviation. The calculator shows the smallest and largest values and the range alongside the average, so you can see at a glance how representative the average is.
For positive numbers, the harmonic mean is always less than or equal to the geometric mean, which is less than or equal to the arithmetic mean. They’re all equal only when every value is the same.
If you drive to a town at 60 km/h and back at 40 km/h, your average speed is not 50 km/h. Because you spend longer at the slower speed, the correct average is the harmonic mean: 2 ÷ (1/60 + 1/40) = 48 km/h. Whenever you average rates over equal distances, use the harmonic mean; over equal times, the arithmetic mean is correct.
Be careful when averaging percentages that come from groups of different sizes. If 50% of 10 people and 90% of 90 people agree, the overall rate is not 70%. It’s (5 + 81) ÷ 100 = 86%, a weighted average using the group sizes as weights.
Averages are everywhere: school grades and grade point averages, batting and scoring averages in sport, average speeds on journeys, average monthly spending in a budget, average temperatures in weather reports and average prices when buying shares or materials over time. In each case, deciding whether a simple or weighted average is appropriate is the key step, and the rest is straightforward arithmetic.
You may also find the mean, median, mode, range calculator useful to find the mean, median, mode and range of a list of numbers, while the p-value calculator lets you find the p-value from a test statistic.
Add the numbers and divide by how many there are. The average of 85, 92, 78, 90 and 88 is 433 ÷ 5 = 86.6.
An average where each value is multiplied by a weight showing its importance, and the total is divided by the sum of the weights.
No. The formula divides by the total of the weights, so they can be percentages, credits or any positive numbers.
Multiply each grade point by the course credits, add the results and divide by the total credits. That's a weighted average.
Usually. In everyday use, average means the arithmetic mean. The median and mode are also types of average.
When a few very large or very small values would distort the mean, such as with incomes or house prices.
For equal distances, use the harmonic mean. Going 60 km/h one way and 40 km/h back averages 48 km/h, not 50.
Yes. Negative values are included in the sum as usual. The average of −4, 2 and 5 is 1.
Averaging growth rates or ratios. It's the nth root of the product of n positive values.
An average of the most recent few values that updates as new data arrives, used to show trends in prices, sales or temperatures.
Yes. Enter them as 20%, 30% and 50%, or as 20, 30 and 50. Both give the same weighted average.
Up to 50,000, separated by commas, spaces or new lines.
Multiply the target average by the total number of scores, then subtract the sum of the scores you already have.