Grades & Stats

Weighted mean calculator

Enter your values and their weights in the same order. The weighted mean gives each value influence in proportion to its weight.

For example scores, prices or ratings.
Same number of weights, in the same order. They do not need to add up to 100.

Enter your values and their weights in the same order.

The formula

Weighted mean = Σ(w × x) ÷ Σw

Multiply each value by its weight, add the products, and divide by the sum of the weights. A plain mean is the special case where every weight is 1.

Example: a course grade

Homework 90 (weight 20), quizzes 80 (weight 30), tests 70 (weight 50).

(90 × 20 + 80 × 30 + 70 × 50) ÷ (20 + 30 + 50) = 7,700 ÷ 100 = 77.

The plain mean of 90, 80 and 70 is 80. The weighted mean is lower because the lowest score carries half the weight.

Where weighted means are used

  • Grades: categories such as tests and homework count for different shares. Our grade calculator is built for this, with letter grades and points mode.
  • Averages from grouped data: the value of each group weighted by how many items it holds.
  • Prices and indexes: an average price weighted by quantity bought.
  • Survey results: responses weighted so the sample matches the population.

Weights as percentages or counts

Weights can be percentages, counts or any positive numbers; only their proportions matter. Weights of 20, 30 and 50 give the same answer as 2, 3 and 5. A weight of 0 leaves a value out completely.

Frequently asked questions

How do you calculate a weighted mean?

Multiply each value by its weight, add the results, and divide by the sum of the weights. For 90, 80, 70 with weights 20, 30, 50, the weighted mean is 7,700 ÷ 100 = 77.

Do the weights need to add up to 100?

No. The formula divides by the total weight, so any positive weights work. Only their proportions affect the result.

What is the difference between mean and weighted mean?

A mean treats every value equally. A weighted mean gives some values more influence than others, based on their weights.

Can a weight be zero?

Yes. A zero weight removes that value from the calculation. At least one weight must be above zero.

Last checked: 2026-12-03. How we test our calculators.