Weighted Mean Calculator

Quick answer

The weighted mean calculator averages values that count for different amounts (course grades with different weights, credits or survey weights) from two matching lists. It gives the weighted mean, total weight, weighted variance and standard deviation, each item's contribution, and the grade needed on remaining work.

Leave 0 if everything is already graded.

Weighted mean
88.75
Total weight
80
Sum of value × weight
7,100
Unweighted mean (for comparison)
88.5
Weighted variance
36.9375
Weighted standard deviation
6.0776
Lowest value
79
Highest value
95
Score needed on the remaining work
95
What you need
To finish with an average of 90 you need 95 on the remaining work (weight 20).
Contribution table
# Value Weight Share Value × weight Contribution ─────────────────────────────────────────────────────────── 1 88 15 18.75% 1,320 16.5 2 92 25 31.25% 2,300 28.75 3 79 20 25% 1,580 19.75 4 95 20 25% 1,900 23.75 Σ 80 100% 7,100 88.75
Contribution of each item

An ordinary mean treats every value equally. A weighted mean lets some values count more than others: a final exam worth 40% of the course should influence the overall grade more than a quiz worth 5%, a course of 5 credits more than one of 2, and a survey response from an under-represented group more than one from an over-represented group. Each value is multiplied by its weight, the products are added and the total is divided by the sum of the weights.

The weights do not have to add up to 100 or to 1, because the calculator divides by whatever they add up to, so percentages, credit hours or counts all work. If every weight is the same, the weighted mean equals the ordinary mean. The table shows each item’s share of the total weight and how many points it contributes, which makes it easy to see which assessment drives the result.

For grades there is one more useful question: what do I need on the remaining work to reach my target? Enter the weight of the work still to come and your target average, and the calculator solves for the score required.

How to use the Weighted Mean Calculator

  1. Values (e.g. grades)
  2. Weights (same order, e.g. % of the course or credits)
  3. Weight of remaining work (optional): Leave 0 if everything is already graded.
  4. Target overall average

Everything is calculated in your browser, so results appear instantly and nothing you type is sent to a server.

How it works

Multiply each value by its weight, sum the products and divide by the total weight. The weighted variance averages the squared deviations from the weighted mean with the same weights. For the target grade, the required score s solves (Σwx + w_rest·s) ÷ (W + w_rest) = target.

Worked example

A student has four graded assessments: 88 (weight 15%), 92 (25%), 79 (20%) and 95 (20%); the final exam (20%) is still to come. Σwx = 1,320 + 2,300 + 1,580 + 1,900 = 7,100 and Σw = 80, so the current weighted mean is 7,100 ÷ 80 = 88.75 (the unweighted mean is 88.5). To finish with 90 overall the student needs (90 × 100 − 7,100) ÷ 20 = 95 on the final. The weighted standard deviation of the four grades is 6.08.

Common uses of weighted means

Use Values Weights
Course grade assessment scores % of the course
GPA grade points credit hours
Portfolio return asset returns amount invested
Price index price changes spending shares
Survey estimate responses sampling weights

Formula

x̄_w = Σwᵢxᵢ ÷ Σwᵢ · weighted variance = Σwᵢ(xᵢ − x̄_w)² ÷ Σwᵢ · needed = (target × (W + w_rest) − Σwx) ÷ w_rest

Worked example

Inputs: Values (e.g. grades): 88, 92, 79, 95; Weights (same order, e.g. % of the course or credits): 15, 25, 20, 20; Weight of remaining work (optional): 20; Target overall average: 90.
Results: Weighted mean = 88.75; Total weight = 80; Sum of value × weight = 7,100; Unweighted mean (for comparison) = 88.5; Weighted variance = 36.9375; Weighted standard deviation = 6.0776.

Key terms

Weighted mean
Σwx ÷ Σw, an average in which values count in proportion to their weights.
Weight
The importance assigned to a value (percentage, credits, count).
Contribution
w·x ÷ Σw, the points an item adds to the weighted mean.
Weighted variance
Σw(x − x̄_w)² ÷ Σw.

Frequently asked questions

How do I calculate a weighted mean?

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

What is the weighted average of grades 88, 92, 79, 95 with weights 15, 25, 20, 20?

(88·15 + 92·25 + 79·20 + 95·20) ÷ 80 = 7,100 ÷ 80 = 88.75.

Do the weights have to add up to 100%?

No. The calculator divides by their actual total, so 15, 25, 20, 20 (total 80) works as well as percentages that add up to 100.

Is a weighted mean the same as a weighted average?

Yes, the two terms mean the same thing.

What if all weights are equal?

The weighted mean reduces to the ordinary mean.

How do I find the grade I need on the final?

Enter the final's weight as "remaining work" and your target. With the example, a 90 overall needs (90 × 100 − 7,100) ÷ 20 = 95 on the final.

How is GPA a weighted mean?

Each course's grade points are weighted by its credit hours: GPA = Σ(credits × points) ÷ Σcredits.

How do I compute a weighted mean in Excel?

=SUMPRODUCT(values, weights)/SUM(weights).

Sources

  1. Wolfram MathWorld: Weighted mean
  2. OpenStax: Introductory Statistics 2e
  3. Khan Academy: Statistics and probability

Cite this calculator

Speedy Calculator. (2026). Weighted Mean Calculator. Speedy Calculator. https://speedycalculator.com/calculators/statistics/weighted-mean-grades/