Skip to content
Free math tool

Weighted average calculator

Combine numbers that do not count equally, such as test scores worth different shares of a grade or prices paid for different amounts. Each value is multiplied by its weight, so heavier items pull the result more.

  • Runs in your browser
  • Free, no account needed
  • Copy or download the result

Your input

Result

Weighted average82.5
Total weight
100
Pairs
3
Simple average, ignoring weights
84.3333333333

The short answer

A weighted average multiplies each value by its weight, adds those products, and divides by the total weight. Values with larger weights count for more, which is how many course grades are calculated.

FormulaWeighted average = (v1 x w1 + v2 x w2 + ...) / (w1 + w2 + ...)

Worked exampleScores of 90, 85 and 78 with weights 20, 30 and 50 give (1800 + 2550 + 3900) / 100 = 82.5, compared with a simple average of 84.3333333333.

Example

Input
90:20
85:30
78:50
Result
Weighted average82.5
Total weight
100
Pairs
3
Simple average, ignoring weights
84.3333333333

How to use the weighted average calculator

  1. Enter each value and its weight on its own row, such as 90 with weight 20.
  2. Press Add value for more rows, or Edit as text to paste value:weight pairs, one per line.
  3. The result updates as you type, or press Run. Use Copy result or Download to keep it.

How it works

Weighted average = sum of (value x weight) / sum of weights. For values 80, 90 and 100 with weights 2, 3 and 1 that is 530 / 6, shown as 88.3333333333. The simple average is shown too, for comparison.

Weights can be any nonnegative numbers, such as credit hours, percentages or counts. They do not need to add up to 1 or 100.

A negative weight is rejected, and at least one weight must be greater than zero.

Accepts up to 5,000 pairs. Values may be negative. Results use floating point math, shown to 12 significant digits.

Everything runs in your browser. Your input is not uploaded or stored. If you use Copy link, what you entered is placed in the link.

Questions and answers

How do you calculate a weighted average?

Multiply each value by its weight, add the products, then divide by the total of the weights.

How do I calculate my grade with weighted categories?

Enter each category score with its weight, such as 85 with weight 40 for tests and 92 with weight 60 for homework. The result is 89.2.

Do the weights have to add up to 100?

No. The tool divides by whatever the weights add up to, so weights of 2, 3 and 1 give the same answer as 20, 30 and 10.

What happens if a weight is zero?

That value has no effect on the result, though it still counts as a pair. At least one weight must be positive.

Last updated November 1, 2026. Maintained by SnowRock. How our tools work

All 220 SnowRock tools