Text & Developer tool

Average Calculator: Find the Mean with Formula

Find the simple or weighted average of up to 8 values.

  • Instant results
  • Working shown
  • No sign-up
  • Runs in your browser
ToolUpdates as you type
78.75
average (mean)
  • Sum of value × weight315
  • Sum of weights4
  • Average315 ÷ 4 = 78.75
  • Median of the values78.5

Keep every weight at 1 for a normal average. Set a weight to 0 to skip that value.

Formula Average = Sum of (Value × Weight) ÷ Sum of weights

How it works

This average calculator multiplies each value by its weight, adds the results, and divides by the total weight. Keep every weight at 1 for a simple average. Use a weight of 0 to leave a value out.

This average calculator finds the mean of up to 8 values. Keep all weights at 1 for a normal average, or change the weights when some values matter more.

How to find an average with this calculator online

  1. Enter your values.
  2. Leave each weight at 1 for a simple mean.
  3. Set a weight of 0 for any row you want to ignore.
  4. Read the average.

Average calculator formula

Simple average = sum of values ÷ number of values

For marks of 72, 85, 64 and 79:

  • Sum = 72 + 85 + 64 + 79 = 300.
  • Count = 4.
  • Average = 300 ÷ 4 = 75.

A quick check: the average must lie between the smallest and the largest value. Here 75 is between 64 and 85, so it makes sense.

Weighted average calculator online

Weighted average = sum of (value × weight) ÷ sum of weights

Suppose a project counts 3 times, a test 2 times and a quiz once:

Item Score Weight Score × weight
Project 80 3 240
Test 70 2 140
Quiz 90 1 90
Total 6 470

Weighted average = 470 ÷ 6 = 78.33. The simple average would be 80. The weighted one is lower because the 70 counts more than the 90.

Weights do not have to add up to 1 or 100. Dividing by the total weight takes care of that.

Common mistake: A common mistake beginners make is dividing a weighted sum by the number of values. In this example, 470 ÷ 3 is 156.67, which is impossible because the highest score is 90.

Zero value or zero weight?

These two are different:

Entry Meaning Effect
Value 0, weight 1 You scored zero Pulls the average down
Any value, weight 0 Ignore this row No effect

If you were absent and the test does not count, use weight 0. If the absence counts as zero marks, use value 0 and weight 1.

Mean, median and mode

Average normally means the mean. Two other "middle" values are useful:

  • Median: the middle number after sorting.
  • Mode: the number that appears most often.

Take the monthly pay 20,000, 22,000, 24,000, 25,000 and 1,09,000. The mean is 2,00,000 ÷ 5 = 40,000. The median is 24,000. Four of the five people earn well below the mean, so the median describes the group better. This tool gives the mean only.

Pro tip: When one value is far from the rest, report the median next to the mean. Readers then see the full picture.

Averaging percentages safely

You score 18 out of 20 (90%) and 60 out of 100 (60%). The simple average is 75%. But your true total is 78 out of 120, which is 65%.

To get 65% here, enter 90 with weight 20 and 60 with weight 100. The sum is (1,800 + 6,000) ÷ 120 = 65.

When to use another tool

This average value calculator works online for general numbers. Some sums have their own page:

Have more than 8 values? Add them in groups, note each group's sum and count, and divide the total sum by the total count. In a spreadsheet, use the AVERAGE function. In a database, use AVG, covered in our SQL commands guide. Averages are also where statistics begins for anyone reading data science interview questions.

Frequently asked questions

What is the formula for an average?
Average = sum of values ÷ number of values. For 10, 20 and 30, it is 60 ÷ 3 = 20.
What is a weighted average?
It is an average where some values count more. Multiply each value by its weight, add the results, and divide by the total weight.
What does a weight of 0 do?
It removes that value from the sum. A value of 0 with a weight of 1 is different, because it still counts.
Is the mean the same as the median?
No. The mean uses the sum, and the median is the middle value after sorting. One very large value can pull the mean up.
Can I average percentages?
Only if each one covers the same total. If the totals differ, use the totals as weights.

Try another tool

See all free tools
Chat with us