Weighted Average Calculator

Find the weighted average (weighted mean) of a list of values and their weights, with the sum of weights, sum of products and the plain average for comparison.

2 to 100 numbers. Use a point for decimals (1.5), no thousands separators, and separate numbers with spaces or a comma and a space.
One weight per value, in the same order. Weights can be percentages, points, quantities or any non-negative numbers; they do not need to add up to 100. Use a point for decimals (1.5), no thousands separators, and separate numbers with spaces or a comma and a space.

Results

Weighted average
83.00
Sum of weights
100.00
Sum of value × weight
8,300.00
Plain average (all weights equal)
80.00
Number of values
3

How it’s calculated

A weighted average gives some values more influence than others. Multiply each value by its weight, add the products, and divide by the sum of the weights. When every weight is the same this is the ordinary average.

weighted average = (w₁x₁ + w₂x₂ + … + wₙxₙ) ÷ (w₁ + w₂ + … + wₙ)

Example: scores of 90, 80 and 70 with weights 50, 30 and 20. Sum of products = 90×50 + 80×30 + 70×20 = 4500 + 2400 + 1400 = 8300. Sum of weights = 100. Weighted average = 8300 ÷ 100 = 83, while the plain average (90 + 80 + 70) ÷ 3 is 80, because the 90 counts for more.

The same formula gives the mean of grouped data, where each weight is a frequency, and it is how course grades, portfolio returns and average prices are calculated. Weights are only relative: 50, 30, 20 and 5, 3, 2 give the same answer.

Frequently asked questions

Do the weights have to add up to 100?

No. The calculator divides by the sum of the weights, so 5, 3, 2 and 50, 30, 20 give the same result.

What is the difference between a weighted average and a regular average?

A regular average treats every value equally. A weighted average multiplies each value by its importance first, so heavier-weighted values pull the result toward them.

How do I calculate a weighted grade?

Enter each category’s score as a value and its percentage of the course as the weight, for example scores 92, 85, 78 with weights 20, 30, 50.

Can a weight be zero?

Yes, that value is ignored. At least one weight must be above zero, and no weight can be negative.

Embed this calculator

Add this free calculator to your own website. Copy the code below into your page’s HTML:

Need this calculator branded, changed or built around your own prices?See custom business solutions →

Sources

Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.

Added · Last updated · How we check our calculators

Spotted a mistake or missing option? Report a problem· Suggest a calculator