Mathematics
Weighted Average Calculator
Calculate an average when values contribute different amounts. Enter one list of values and a matching list of nonnegative weights.
Let’s calculate.
Usage estimateAverage values that have different weights.
Formula and worked example
Weighted mean = Σ(value × weight) / Σweights
Reference example
Values 10,20,30 with weights 1,2,1 have weighted mean 20.
When this calculation applies
Order matters: the first weight belongs to the first value. Weights need not add to 1 or 100. Zero weights are allowed; negative weights are not.
Background reference: OpenStax. References explain the method or units; they do not certify this calculator.
Source scope: OpenStax demonstrates weighting observations by frequency. Other user-supplied weights need their own meaningful interpretation.
For the derivation, input conventions and numerical limits, open .
Choose the right number-list summary
- See mean, median, sum, count and extremes together
- Find only the middle of a sorted list
- Add all signed entries to find a net total
- Give comparable entries different weights— this calculator
How to use this result
Scores of 80 and 90 with weights 40 and 60 give (80 × 40 + 90 × 60) ÷ (40 + 60) = 86. Weights 0.4 and 0.6 produce the same result because their ratio is unchanged.
Do the weights have to add up to 100?
No. The calculator divides by the sum of the weights. Counts, percentage numbers and proportional weights all work, provided they use a consistent scale. At least one weight must be positive.
How should I enter values and weights?
Use semicolons or new lines in both lists, with the same number of entries. Each weight applies to the value in the same position. For example, enter 80; 90 and 40; 60. A decimal comma belongs inside a number; it is not a list separator.
How is a weighted average different from an ordinary average?
An ordinary mean gives every value equal importance: 80 and 90 average to 85. Giving 90 a larger weight moves the weighted mean towards 90. A zero-weight entry contributes nothing; negative weights are not supported.