How to Use the Weighted Average Calculator
This weighted average calculator computes the weighted mean from any list of values and weights — enter a value and a weight for each row and add as many rows as you need using the + Add Row button — there is no maximum. Weights can be any positive numbers: percentages (20, 30, 50), decimals (0.2, 0.3, 0.5), or raw counts. The calculator normalizes them automatically. You will see the weighted average, the sum of weights, and the simple (unweighted) average side by side, plus a breakdown table showing each row's contribution. Use the Share button to save a link with your data pre-filled.
For finding the middle value in a dataset rather than the mean, use our mean, median, and mode calculator instead.
The Weighted Average Formula
The weighted mean gives each value a different level of influence based on its weight:
Weighted Average = Σ(Value × Weight) / Σ(Weight)
Multiply each value by its weight, sum all those products, then divide by the sum of the weights. When all weights are equal, this reduces to the familiar arithmetic mean.
Worked Example: Grade Calculation
A course has three components: Homework (weight 20%), Midterm (weight 30%), Final Exam (weight 50%). Scores: Homework 90, Midterm 78, Final 85.
- Products: 90 × 20 = 1,800 · 78 × 30 = 2,340 · 85 × 50 = 4,250
- Sum of products: 1,800 + 2,340 + 4,250 = 8,390
- Sum of weights: 20 + 30 + 50 = 100
- Weighted average: 8,390 / 100 = 83.90
- Simple average (for comparison): (90 + 78 + 85) / 3 = 84.33
The difference (83.90 vs 84.33) reflects the fact that the lowest score (78) carries the most weight after the final exam.
When Weights Are Counts
Weights do not need to be percentages. If you are averaging test scores across three classes of different sizes — 25 students scored 80, 30 students scored 75, 45 students scored 88 — use class sizes as weights. Weighted average = (80×25 + 75×30 + 88×45) / (25+30+45) = (2,000 + 2,250 + 3,960) / 100 = 82.10, versus a simple average of (80+75+88)/3 = 81.00.
Weighted Average vs. Simple Average
The simple arithmetic mean treats every value as equally important. The weighted mean accounts for the fact that some data points represent more — more students, more dollars, more time, or more importance to a final score. Here are common scenarios where weighted averages are essential:
- Academic grades — final exams typically count more than daily homework. A weighted grade average reflects this correctly; a simple average would overstate the value of low-stakes work.
- Portfolio returns — if you have $10,000 in one fund returning 8% and $1,000 in another returning 12%, your blended return is not (8%+12%)/2 = 10%, it is (8%×10,000 + 12%×1,000) / 11,000 = 8.36%.
- Supplier quality — if Supplier A ships 500 units at 98% quality and Supplier B ships 100 units at 94%, the weighted quality is (98×500 + 94×100)/600 = 97.33%, not (98+94)/2 = 96%.
- Survey data — when responses represent groups of different sizes, weight by population to get a representative result.
Common Use Cases
The weighted average appears across almost every quantitative field:
- Education — GPA calculations, course grade breakdowns, standardized test composite scores
- Finance — weighted average cost of capital (WACC), blended interest rates, weighted portfolio returns
- Economics — Consumer Price Index (CPI), Producer Price Index (PPI), GDP deflators
- Manufacturing — weighted defect rates, average unit cost across production runs
- Data science — ensemble models, class-imbalanced datasets, importance-weighted features
For more advanced statistical measures, our standard deviation calculator shows how values spread around the mean.
Understanding the Contribution Table
The breakdown table below the result cards shows four columns for each row: the value, the weight, the product (value × weight), and the percentage of total weight that row contributes. The "% of Total Weight" column is especially useful — it reveals at a glance which inputs drive the final result most strongly. Any row contributing more than 50% of total weight dominates the average; errors in that row's value will have an outsized effect on the result.
If your weights are percentages that should sum to 100, check that the "Sum of Weights" result card shows exactly 100.00. If it does not, you have a data entry error — the individual row percentages in the contribution table will help you find it quickly.
Sources & References
- Weighted Average — Statistics Reference — Khan Academy
- Mean, Median, and Weighted Average — National Council of Teachers of Mathematics