Saved

Press the star next to a tool's name to save it.

All my tools

Weighted Average Calculator

Use this weighted average calculator to find the average of values with different weights, such as grades by percentage, courses by credits or ratings by votes.

Restored your last values ·

Type each value and its weight on one line, such as 80 20. If a line has only a value, its weight is 1. The weights can be percentages, credits, hours, counts or any other numbers. To find what you need in a final part, add the target average and the weight of that final part.

Everything is worked out in your browser. Nothing you type is sent anywhere.

–

–

Type your values and weights, one pair per line, then press Calculate.

A weighted average calculator finds the average of values that do not all count equally. Type each value with its weight, such as a test score and its percentage of the grade, a price and a quantity, or a rating and the number of votes, and you get the weighted average, the total weight and the ordinary average for comparison. You can also enter a target to see what score you need in the last part. It runs in your browser.

How to use the weighted average calculator

  1. Type each value and its weight on one line, separated by a space or a comma.
  2. For a target, enter the average that you want and the weight of the last part.
  3. Press Calculate.

The weighted average formula

The Wikipedia article on the weighted arithmetic mean says that the weighted mean of data x₁, x₂, …, xₙ with non-negative weights w₁, w₂, …, wₙ is the sum of each value times its weight, divided by the sum of the weights, Σwᵢxᵢ ÷ Σwᵢ.[1] It adds that data elements with a high weight contribute more to the weighted mean than elements with a low weight.[1] The formulas are simplified when the weights are normalized so that they add up to 1, with each weight divided by the total, and then the mean is just the sum of the values times the normalized weights.[1] The calculator shows the normalized weights, as shares of the total.

The example from the article

The page compares two classes, one with 20 students and one with 30. The morning class has a mean of 80, and the afternoon class has a mean of 90. The simple average of the two means is 85, but it does not account for the difference in the number of students. The mean over all 50 students is 86, which is ((20 × 80) + (30 × 90)) ÷ (20 + 30). With weights of 20 ÷ 50 = 0.4 and 30 ÷ 50 = 0.6, the result is (0.4 × 80) + (0.6 × 90) = 86.[1] Enter 80 20 and 90 30 on two lines, and the calculator gives 86, with 85 as the ordinary average.

Equal weights

The page states that if all the weights are equal, then the weighted mean is the same as the arithmetic mean, and that the ordinary mean is a special case of the weighted mean in which all the data have equal weights.[1] If you enter values with no weights, the calculator gives each a weight of 1, and so the weighted average and the ordinary average are the same. The two differ only when the weights differ, and the row that shows the ordinary average lets you see the effect of the weights.

Grades and credits

Weighted averages are used for grades. If homework counts for 20 percent, a midterm for 30 percent and a final exam for 50 percent, and your scores are 90, 80 and 85, enter 90 20, 80 30 and 85 50. The result is (1,800 + 2,400 + 4,250) ÷ 100 = 84.5. The same method gives a general weighted average for courses with different credits, such as a score of 88 in a 4-credit course and 92 in a 3-credit course, which is (352 + 276) ÷ 7 = 89.7. The weights here are the credits. If your school uses its own scale of letter grades, convert them to points first.

Ratings and votes

For product ratings, the weights are the number of votes for each star rating. With 120 votes for 5 stars, 45 for 4, 20 for 3, 10 for 2 and 5 for 1, enter 5 120, 4 45, 3 20, 2 10 and 1 5, and the weighted average is 4.325 from 200 votes. This is a more honest figure than the ordinary average of the five ratings, which is 3. It is the same as the average rating shown for a product, and it works for any kind of survey in which people choose from a scale.

What score do you need?

To plan for a target, enter the weighted values you already have, the average that you want and the weight of the part that is still to come. The calculator solves (target × (total weight + new weight) − sum so far) ÷ new weight. With scores of 80 for a weight of 20 and 90 for a weight of 30, and a final worth 50, a target of 90 needs a final score of 94. If the number needed is above the maximum possible score, the target cannot be reached, and you will want a lower target.

Weights as percentages or counts

It does not matter whether the weights are written as percentages, as fractions or as counts. The weights 20 and 30 give the same result as 2 and 3, or 0.4 and 0.6, because the calculator divides by their total. This makes it easy to paste figures from a syllabus, a table of quantities or a list of votes without changing them first. The row of normalized weights shows the share of each line in the end result.

When the weighted average is not enough

The weighted average tells you the center of the data, but not how spread out the values are. Two sets with the same weighted average can have very different values. If you need the spread, compute the standard deviation as well. For grades, the weighted average is the number that decides the result, which is why it is the one that the calculator puts first.

Common mistakes

  • Averaging the averages. Groups of different sizes need weights.
  • Weights that do not match the values. Each line pairs one value with its own weight.
  • Using percentages as values and weights together. A weight of 20 percent is entered as 20.
  • Forgetting a part. If the weights are meant to total 100, check that they do.

What next

Use this often? Add Weighted Ave to your Home screen.

Frequently asked questions

What is a weighted average calculator?

A tool that finds the average of values that count unequally, by multiplying each by its weight and dividing the total by the sum of the weights.

What is the weighted average formula?

Σ(weight × value) ÷ Σ(weights). For 80 with weight 20 and 90 with weight 30, it is 4,300 ÷ 50 = 86.

Do the weights have to add up to 100?

No. They can be any non-negative numbers, such as credits, hours or vote counts. The calculator divides by their total.

How is a weighted average different from a simple average?

A simple average treats every value alike. In a weighted average, values with larger weights pull the result toward them.

How do I find the score I need on a final exam?

Enter your current scores with their weights, your target average and the weight of the final. The calculator solves for the final score.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Math Tools