Using the Weighted Average Calculator
This page multiplies each value by the weight in the same position, adds those products, and divides by the sum of the weights. Values 1, 2, 3 and weights 1, 1, 2 produce products 1, 2, and 6. Those products total 9. The weights total 4. The headline is 2.25, because 9 divided by 4 is 2.25.
The two lists must be the same length, from 1 to 50 numbers. Each weight must be greater than 0. Values may be negative. Commas or spaces separate the numbers. The page does not treat a lone multiplication, such as 6 times 15, as this average.
Products 1, 2, and 6, Then 9 Divided by 4
The values field starts at 1, 2, 3. The weights field starts at 1, 1, 2. The button says Calculate the average. The headline label is Weighted average, and the sample headline is 2.25. The lines under it are weighted sum 9, weight total 4, average 2.25, and count 3. The count is how many pairs were multiplied, not the weight total. On the sample the count is 3 and the weight total is 4, because the third weight is 2.
The copy sentence reads: the weighted products add to 9. Divided by the weight total 4, the average is 2.25. A note that keeps only 2.25 can be checked only if the lists are still attached. The products are the audit. 1 times 1 is 1. 2 times 1 is 2. 3 times 2 is 6. Add 1, 2, and 6 to get 9. Add 1, 1, and 2 to get 4. Divide.
The steps on the result say the same thing: multiply each value by its weight, add those products and add the weights, then divide the product total by the weight total. Nothing in that sequence divides by the count. Dividing 9 by 3 would be 3, and that is not the headline.
How the Third Weight Changes the Result
An unweighted mean of 1, 2, and 3 is 2, because each value is counted once and the sum 6 is divided by 3. This page gives the third value a weight of 2, so the products are 1, 2, and 6 rather than 1, 2, and 3. The extra 3 in the last product is why the numerator is 9 instead of 6, and why the denominator is 4 instead of 3. The average moves from 2 to 2.25. Typing the value 3 twice on an unweighted list is a different way to give it more influence, and it would also change a mode. Here the weight is a second list, and the value 3 appears once.
Equal weights are a different summary of one list. The Mean Median Mode Calculator finds the mean, the median, and the mode. The list 1, 2, 2, 4 has mean 2.25, median 2, and mode 2. That page has no weight field. Every typed value counts once. Use it when you want those three summaries. Use this page when the second list is weights, and when 1, 1, 2 should leave the headline at 2.25 rather than the unweighted mean of 2.
Pairing, Halves, and a Negative Value
Position matters. Values 3, 2, 1 with weights 1, 1, 2 are not the sample. The products are 3, 2, and 2, the weighted sum is 7, the weight total is still 4, and the average is 1.75. The order inside a list is part of the pairing. Moving 3 from the last place to the first place, and leaving the weights as 1, 1, 2, changes the headline from 2.25 to 1.75.
Swapping the two fields is a different question as well. Values 1, 1, 2 and weights 1, 2, 3 multiply as 1 times 1, 1 times 2, and 2 times 3. The products are 1, 2, and 6, so the weighted sum is still 9, but the weights now total 6. The average is 1.5, not 2.25. The products can match the sample and the headline can still move, because the denominator is the weight list, not the value list.
Weights do not have to sum to 1. The sample sums to 4, and the page divides by 4. Weights 0.5, 0.5, and 1 are half of 1, 1, and 2. The products are 0.5, 1, and 3, the weighted sum is 4.5, the weight total is 2, and the average is still 2.25. Scaling every weight by the same positive number does not change the headline.
Writing 2.25 Next to Both Lists
A complete note says: values 1, 2, 3; weights 1, 1, 2; products 1, 2, and 6; weighted sum 9; weight total 4; average 2.25. A reader can add 1, 2, and 6. "The average is 2.25" without the lists cannot be told apart from the unweighted mean of 1, 2, 2, 4, which is also 2.25 and is a different calculation. The weight total of 4 is the clue that this one was weighted.
The sum of the products, before the division, is a different headline. The Dot Product Calculator adds the products of matching components and stops there. The lists 1, 2, 3 and 4, 5, 6 return 32, because 1 times 4 plus 2 times 5 plus 3 times 6 is 32. The same page on 1, 2, 3 and 1, 1, 2 would stop at 9. It does not divide by the weight total, so it will not return 2.25. Use it when the question is the sum of products. Use this page when that sum still has to be divided by the sum of the weights.
What the Division Leaves Out
The page does not drop a value. A large number stays in its product. If you remove it, you are editing the list, and the note should say so. The page will not label an outlier.
Lists that Miss 2.25
A letter in either list is rejected. Values 1, two fails with "Values must be numbers separated by commas or spaces." The same wording, with the label Weights, applies to the weight field. A weight of 0 fails with "Each weight must be greater than 0." A negative weight fails the same way. Dividing the weighted sum by the count, 9 divided by 3, produces 3 and answers a different question. Forgetting the last weight's extra copy is how 2.25 becomes the unweighted 2.
A point on a straight line is not this average. The Interpolation Calculator fills a y between two known points. From (0, 0) to (10, 100), an x of 4 returns y of 40. The same line at x of 12 is marked as extrapolation and returns 120. That page does not take a list of weights, and 40 is not the weighted average of 1, 2, and 3. Use it when you have two points and a target x. Use this page when you have a row of values and a row of weights.
Commas, Spaces, and the Same Pairs
Commas and spaces are the separators. Values 1, 2, 3 and values 1 2 3 are the same list. Weights 1, 1, 2 and weights 1 1 2 are the same list. The headline stays 2.25. A double comma does not insert a zero. The empty piece is skipped. A semicolon is not a separator. It fails as part of a number.
Both Lists, the Sum, and 2.25
One block holds the run. The values, the weights, the weighted sum, the weight total, the count, and the average. "Values 1, 2, 3; weights 1, 1, 2; sum 9; weight total 4; count 3; average 2.25" can be multiplied again by someone who was not at the screen. A rounded average belongs in a second sentence. "Page average 2.25; report uses 2.3" is a clear edit. Replacing 2.25 with no note makes the next check look like a different pair of lists.
A least common multiple is not a weighted average. The Least Common Multiple Calculator finds the least common multiple of 2 to 12 whole numbers. 4 and 6 give 12. Zero is rejected, and a negative sign is ignored. That page does not multiply values by weights or divide by a weight total. 12 is not 2.25. Use it for a common multiple. Use this page for the sum of products divided by the sum of weights.
What the Two Lists Accept
Values accept from 1 to 50 numbers, separated by commas or spaces. Negatives are allowed. Decimals are allowed. The sample is 1, 2, 3. A blank values field is rejected with "Values must contain from 1 to 50 numbers." A letter is rejected with "Values must be numbers separated by commas or spaces."
6 Times 15 Is a Different Product
The sample's third product is 6, from 3 times 2. That 6 is one term in a sum. It is then added to 1 and 2, and the sum is divided by 4. Stopping at 6 answers neither the weighted sum nor the average. Multiplying two unrelated numbers is a further step away. 6 times 15 is 90. Ninety is one product. It is not 9 divided by 4, and it is not this operation.
One multiplication at a time belongs on a plain calculator. The 4 Function Calculator multiplies the numbers you enter. It can confirm that 3 times 2 is 6, that 1 plus 2 plus 6 is 9, and that 9 divided by 4 is 2.25, if you type those steps yourself. It will not hold both lists, it will not reject a weight of 0, and it will not label 2.25 as a weighted average. Use it to audit the products. Use this page when the pairs have to stay aligned.
Checking the Calculator
Enter values 1, 2, 3 and weights 1, 1, 2. Confirm the headline is 2.25, the weighted sum is 9, the weight total is 4, and the count is 3. Enter the same numbers with spaces instead of commas. Confirm 2.25 again. Enter values -1, 2 and weights 1, 1. Confirm the average is 0.5. Enter values 1, 2 and weights 1. Confirm the rejection for unequal lists. Enter a weight of 0. Confirm the rejection.