MyCalCute
Install
Science

Weighted averages when group sizes are different

Combine group averages using the number of observations instead of giving every group equal influence.

Method

A simple average gives each listed value the same weight. When the listed values are themselves group averages, that can give a small group as much influence as a large one. Multiply each group average by its size, add the products, and divide by the total size. The groups must describe the same quantity and measurement period. For grades, an explicit course weighting can replace group size, but it answers a different question.

Calculation path: Weighted course gradeCalculation path: Weighted course grade1InputsAssessment 1 grade(%) · Assessment 1weight · Assessment2 grade (%)2MethodWeighted grade =(a*wa+b*wb)/(wa+wb)3ResultWeighted grade
Calculation path: Weighted course gradeExample only; replace these assumptions with your own values. Concept diagram; not to scale.Calculation path: Weightedcourse grade1InputsAssessment 1 grade (%) ·Assessment 1 weight ·…2MethodWeighted grade =(a*wa+b*wb)/(wa+wb)3ResultWeighted gradeMyCalCute.com
Calculation path: Weighted course grade

Example only; replace these assumptions with your own values.

View data
Inputs
Assessment 1 grade (%) · Assessment 1 weight · Assessment 2 grade (%)
Method
Weighted grade = (a*wa+b*wb)/(wa+wb)
Result
Weighted grade

Worked example

Ten observations average 80 and thirty observations average 90. Their combined mean is (80 × 10 + 90 × 30) ÷ (10 + 30) = 3,500 ÷ 40 = 87.5. Simply averaging 80 and 90 gives 85 and ignores that the second group contains three times as many observations. In Weighted grade, use the two averages as values and 10 and 30 as their weights.

Unequal group sizesUnequal group sizes1Mean of 2 values102Mean of 8 values203Combined mean18
Unequal group sizes(2 × 10 + 8 × 20) ÷ 10 = 18. Concept diagram; not to scale.Unequal group sizes1Mean of 2 values102Mean of 8 values203Combined mean18MyCalCute.com
Unequal group sizes

(2 × 10 + 8 × 20) ÷ 10 = 18.

View data
Mean of 2 values
10
Mean of 8 values
20
Combined mean
18

What to check

Check that no observation belongs to both groups. A rounded group average can make the reconstructed total approximate, so retain unrounded totals when available. Weights must be non-negative with a positive combined weight. If both groups have the same size, the weighted and simple means agree. Do not combine averages with different units or definitions merely because both are numbers.