Skip to content

Average Calculator

Find a simple average, a weighted average, or the correct overall figure when you average percentages or grades.

MathUpdated Free · No sign-up

How to use the Average Calculator

  1. Pick what you want to work out using the tabs: Average, Weighted average or Average of percentages.
  2. Type or paste Numbers (Separate numbers with commas, spaces or new lines).
  3. Read your answer in the results panel. It updates as you type, and the breakdown, step-by-step working and any charts or tables appear below it.
  4. Use Share link to save or send the exact calculation, or Copy to paste the results elsewhere.

The simple average

The everyday average is the arithmetic mean: add the numbers and divide by how many there are.

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

For 10, 20, 35, 40 and 55 the sum is 160 and there are 5 numbers, so the average is 160 ÷ 5 = 32. The calculator also gives the median, which is a better “typical value” when one or two numbers are far from the rest.

Weighted average

Sometimes values should not count equally. A course grade might weight homework at 20%, a midterm at 30% and the final exam at 50%. Multiply each value by its weight, add the products and divide by the total weight:

weighted average = Σ(value × weight) ÷ Σ(weight)

With scores of 90, 80 and 70 and weights 20, 30 and 50: (90 × 20 + 80 × 30 + 70 × 50) ÷ 100 = (1,800 + 2,400 + 3,500) ÷ 100 = 77. The simple average of the three scores would be 80, which overstates the result because the lowest score carries the most weight.

Weights do not have to add up to 100. Credit hours (3, 4, 1), quantities bought or numbers of people all work, because the formula divides by their total. Weighted averages are also how you find the average price paid when buying shares in several lots, or a GPA from grades with different credit hours.

Averaging percentages: a common trap

Suppose 80% of a class of 50 passed and 90% of a class of 150 passed. The simple average of the two percentages is 85%, but that is not the overall pass rate. Count the people instead:

  • Class 1: 80% × 50 = 40 passed
  • Class 2: 90% × 150 = 135 passed
  • Overall: 175 ÷ 200 = 87.5%

The bigger class has the higher rate, so it pulls the true figure up. Averaging percentages directly is only correct when every group is the same size. The “Average of percentages” tab shows both figures side by side, and the same logic applies to averaging grades from tests with different numbers of points.

Tips

  • Check for typing errors: one misplaced decimal point can shift an average a long way.
  • Averages of rates and speeds need care. Driving 60 km/h out and 40 km/h back over the same distance averages 48 km/h, not 50, because more time is spent at the slower speed. That is a harmonic mean, shown in the statistics calculator.

Frequently asked questions

How do I calculate an average?

Add all the numbers together and divide by how many numbers there are. For 4, 8 and 9 the average is 21 ÷ 3 = 7.

How do I calculate a weighted average?

Multiply each value by its weight, add up those products, and divide by the sum of the weights.

Can I average percentages?

Only if every percentage comes from a group of the same size. Otherwise convert each percentage to a count, add the counts and divide by the total size.

What is the difference between average and median?

The average (mean) is the sum divided by the count. The median is the middle value when the numbers are sorted, and it is less affected by extreme values.