Weighted Values Calculator
Use this when some values count for more than others, such as a test worth three times a quiz. Enter value:weight pairs to get the weighted mean.
New to this format?
Calculator
Results
Enter your numbers, then press Calculate.
Your mean, median and mode appear here, together with the working, the frequency table and the advanced statistics.
Frequency table
Advanced statistics
Step by step
Saved calculations
History is stored only in this browser. Nothing is sent to our server, and Clear history removes it.
Results are for educational purposes. Please verify important calculations. Read the disclaimer, the privacy policy and the guide to how to use the calculator.
What is a weighted mean?
A weighted mean is an average where some values count for more than others. Each value is multiplied by its weight, the results are added, and the total is divided by the sum of the weights. Teachers use it when a test is worth more than a quiz.
Weighted mean = Σ(w × x) / Σw
Here x is a value, w is its weight and Σ means add up.
How do I work out a weighted mean example?
Say a quiz score is 80 with weight 3, a test score is 70 with weight 2 and an exam score is 95 with weight 5. Multiply each score by its weight and add the results. Then divide by the total weight, which is 10.
| Score x | Weight w | w × x |
|---|---|---|
| 80 | 3 | 240 |
| 70 | 2 | 140 |
| 95 | 5 | 475 |
| Total | 10 | 855 |
Weighted mean = 855 / 10 = 85.5. The ordinary mean of 80, 70 and 95 is only 81.67, because it ignores the weights. The exam counts the most, so the weighted mean is higher.
How do I use this weighted mean calculator?
Type each pair as value:weight and separate the pairs with commas, for example 80:3, 70:2, 95:5. Weights can be whole numbers or decimals, but each weight must be greater than zero. Press calculate to see the weighted mean and the working. The sample button above the calculator fills in this example for you.
Before you calculate, match each value with its own weight. Multiply each pair, add the products, and divide by the sum of all weights. A larger weight gives its value more influence. Do not confuse the weighted mean with the most common value.
Frequently asked questions about weighted values
Do the weights have to add up to 100?
No. The calculator divides by the total weight, so any positive weights work. Weights of 3, 2 and 5 give the same answer as weights of 30, 20 and 50.
Is a weighted mean the same as a normal mean?
Only when every weight is the same. When the weights differ, values with bigger weights pull the answer towards them.
Can I use decimal weights?
Yes. Weights of 0.3, 0.2 and 0.5 give the same answer as 30, 20 and 50, because only the sizes of the weights compared with each other matter.
What if a weight is zero?
The calculator does not accept it. It shows the message “Weights must be numbers greater than zero.” A value with a weight of zero would add nothing to the answer, so remove that pair and calculate again.
Can a weight be negative?
Not in this calculator. A negative weight gets the same message, “Weights must be numbers greater than zero.” School problems normally use positive weights, such as credit hours or the percentage of a grade.
What happens if a pair is missing its weight or has a letter in it?
The calculator shows a friendly message instead of a result. A pair with no weight is asked to be written like 85 3, and a pair with a letter is asked for valid numbers. Fix the pair named in the message and calculate again.
Need a plain average? Use the mean, median, mode and range calculator. Have counts instead of weights? Try the frequency table calculator. The weighted mean guide has more examples.
Last updated:
Other calculators
How are these results calculated?
The calculator uses the median-of-halves method for quartiles. For an odd number of values, the middle value is included in both halves. Percentiles use linear interpolation with position (p ÷ 100) × (n − 1). Other tools may use different rules.
Method and references
For an independent explanation of statistical methods, see the NIST/SEMATECH e-Handbook of Statistical Methods. This is a reference for general methods, not a claim of endorsement or external review. Check the calculator’s displayed steps for the exact operation used.