Enter Values & Weights

Weighted Average Formula

Weighted Average Formula

Weighted Average = Σ(value × weight) ÷ Σ(weight)

Where Σ means "sum of" across all value-weight pairs.

Worked Example: Course Grade

Homework: 85, weight 20%
Midterm: 78, weight 30%
Final Exam: 92, weight 50%

Weighted Avg = (85×0.20 + 78×0.30 + 92×0.50) ÷ (0.20+0.30+0.50)
= (17 + 23.4 + 46) ÷ 1.0 = 86.4

Weights Don't Need to Sum to 100%

Using raw weights 2, 3, 5 (sum = 10) instead of 20%, 30%, 50% (sum = 1)
gives the exact same result, since the formula divides by the total weight either way.

Common Scenarios

Course grade: HW 20%, Midterm 30%, Final 50%
Weighted Avg = 86.4
Portfolio return: Stock A (8%, 40% alloc), Stock B (5%, 60% alloc)
Weighted Avg = 6.2%
Rating: 4 stars ×3 reviews, 5 stars ×7 reviews
Weighted Avg = 4.7
Equal weights (same as simple average)
Weighted Avg = 90

Frequently Asked Questions

A simple average treats every value equally, adding them up and dividing by the count. A weighted average gives each value its own importance (weight) before combining them, so values with higher weights influence the final result more than values with lower weights. Course grades, investment portfolios, and survey results commonly use weighted averages because not every component deserves equal influence.
No, not necessarily. The weighted average formula automatically normalizes by dividing by the total sum of weights, so weights of 2, 3, and 5 (summing to 10) will give the same result as weights of 20%, 30%, and 50% (summing to 100%) - what matters is the proportion between the weights, not their absolute total.
If a course grades homework at 20%, midterms at 30%, and a final exam at 50%, your overall grade is the weighted average of your scores in each category using those percentages as weights. A high final exam score has a much bigger impact on your overall grade than a high homework score, exactly reflecting the weight distribution set by the instructor.
A weight of zero simply removes that value from influencing the result entirely, which is valid (for example, excluding an assignment that was dropped). Negative weights are unusual and generally not meaningful in typical weighted average contexts like grades, portfolios, or ratings, since a "negative importance" doesn't have a natural real-world interpretation in most applications.
A weighted sum simply multiplies each value by its weight and adds the results, without dividing by the total weight - the result depends on the scale of the weights used. A weighted average divides by the total weight, producing a result that stays on the same scale as the original values, which is why weighted averages are used when you want a representative "typical" value rather than a total.

Weighted Average Calculator - When Not Every Number Counts the Same

A weighted average is used whenever some values deserve more influence over the final result than others - a final exam typically counts more toward a course grade than a single homework assignment, a large stock holding contributes more to portfolio performance than a small one, and a review from ten customers should carry more weight than a review from just one. This calculator lets you add any number of value-weight pairs and instantly computes the properly weighted result.

Quick reference: Weighted Average = Σ(value × weight) ÷ Σ(weight) - multiply each value by its weight, sum those products, then divide by the sum of all the weights.

How Weighted Averages Differ From Simple Averages

A simple average - adding up a set of numbers and dividing by how many there are - implicitly assumes every value is equally important. That assumption breaks down constantly in real life: a student's final exam almost always counts more than a single quiz, a company's largest customer segment matters more to overall revenue than its smallest, and a fund manager's biggest position drives portfolio performance more than a marginal one. A weighted average corrects for this by explicitly assigning an importance (weight) to each value before combining them, so the final result properly reflects how much each component actually matters.

Why Weights Don't Need to Add Up to 100%

A common point of confusion is thinking that weights must be percentages summing to exactly 100, or fractions summing to 1. In reality, the weighted average formula divides by the total sum of the weights used, which automatically normalizes the result regardless of the weights' absolute scale. This means weights of 2, 3, and 5 produce the exact same weighted average as weights of 20%, 30%, and 50% - what actually matters is the relative proportion between the weights, not their total sum. This flexibility is why weighted averages work naturally whether you're weighting by percentage allocation, number of reviews, credit hours, or any other meaningful count.

Common Real-World Uses of Weighted Averages

  • Course grades: Combining homework, quizzes, midterms, and final exams according to their assigned percentage weights to compute a final course grade.
  • GPA calculations: Weighting each course grade by its credit hours, so a 4-credit course influences your GPA more than a 1-credit course with the same letter grade.
  • Investment portfolio returns: Weighting each holding's return by its share of the total portfolio value, since a 50% allocation should influence overall performance far more than a 2% allocation.
  • Product or service ratings: Weighting star ratings by the number of reviews at each rating level, avoiding the distortion of treating a single 5-star review the same as a thousand 4-star reviews.
  • Statistical sampling: Adjusting survey results to properly represent an underlying population where certain groups were oversampled or undersampled relative to their true proportions.

A Worked Example That Shows the Difference

Consider a student who scores 85 on homework (worth 20% of the grade), 78 on the midterm (worth 30%), and 92 on the final exam (worth 50%). A simple average of these three scores would be (85+78+92)/3 = 85.0. But the properly weighted average - which reflects that the final exam counts for half the grade - comes out to 86.4, noticeably higher because the strongest score (the final exam) carries the most weight. This difference between the simple and weighted average illustrates exactly why weighted calculations matter whenever the components genuinely aren't equally important.

Tips for Using This Calculator Effectively

  • Use whatever weight units are natural for your situation - percentages, credit hours, dollar amounts, or review counts all work correctly without any conversion needed.
  • Double-check that your weights reflect true relative importance - a common error is accidentally weighting by the wrong factor (like alphabetical order instead of actual significance).
  • Remember that setting all weights equal to the same number produces the same result as a simple average, which is a useful way to verify your weighted average setup is working as expected.

How this calculator works, and where the numbers come from

The Weighted Average applies the standard formula for this calculation to the values you enter and updates the result as you type. The calculation itself happens in your browser, and the page explains the method so you can check any result by hand.

Please note: Results are provided for general information and are calculated from the values you enter.

Sources and further reading

Last reviewed: by the CalcQube Editorial Team. See our editorial policy for how we build and check calculators, or report an error.