How to calculate a weighted mean
The weighted mean is computed by multiplying each data value by its corresponding weight and dividing the sum of these products by the total sum of the weights. This method applies when different data points contribute unequally to the final average, such as calculating a course grade from assignments of varying importance.
The setup
Identify the data values and their corresponding weights . Ensure that every value has a defined numerical weight. The formula for the weighted mean is .
The steps
- Multiply each value by its weight to find . 2. Sum these products to find the total weighted value . 3. Sum all the weights to find the total weight . 4. Divide the total weighted value by the total weight.
Checking the result
The calculated weighted mean must strictly fall between the minimum and maximum values of your dataset . If the weights already sum to 1 (or 100%), the denominator is 1 and the formula simplifies to the sum of the products.
Common errors
A frequent error is dividing the sum of the products by the number of data points rather than the sum of the weights . Another error is mixing decimal and percentage representations of weights in the same calculation.
Worked example
Find the final grade for a student with the following scores: Homework is 90 with a weight of 20%, Midterm is 80 with a weight of 30%, and the Final is 95 with a weight of 50%.
First, multiply the scores by their weights: Homework is , Midterm is , and Final is . Second, sum the products: . Third, sum the weights: . Finally, divide the sum of the products by the sum of the weights: . The final grade is 89.5.
FAQ
Run your own problem
References: OpenStax Introductory Statistics, Chapter 2 · Khan Academy: Summarizing quantitative data unit
See also