Weighted Average Calculator
A weighted average gives some values more influence than others: Σ(value × weight) ÷ Σ(weights). For scores 90, 80, 70 with weights 50%, 30%, 20%, the weighted average is 83, compared with a simple average of 80.
Last updated · By S. Dilshan · Runs in your browser, nothing is uploaded
Step-by-Step Solution
What Is a Weighted Average?
An ordinary average treats every number as equally important. A weighted average does not. Each value is multiplied by a weight that reflects how much it should count, and the total is divided by the sum of the weights. It is the right tool whenever some items matter more than others: a final exam worth more than a quiz, a large course worth more credits than a small one, a big investment contributing more to a portfolio than a small one.
The key idea is that the weights say how much each value should count. They can be percentages, credit hours, quantities or any positive numbers. If the weights are all equal, the weighted average is the same as the ordinary average.
Simple vs Weighted Average
| Simple average | Weighted average | |
|---|---|---|
| Every value counts | Equally | According to its weight |
| Formula | Σx ÷ n | Σ(w × x) ÷ Σw |
| Scores 90, 80, 70 with weights 50, 30, 20 | 80 | 83 |
| Best for | Equally important items | Items of different importance or size |
Weighted Average Formula
x₁ … xₙare the values, such as scores, prices or returns.w₁ … wₙare the matching weights, in the same order.- The numerator multiplies each value by its weight and adds the products.
- The denominator adds the weights, so the result stays on the same scale as the values.
The weights do not have to add up to 100 or to 1. Weights of 2, 3 and 5 give exactly the same answer as 20, 30 and 50, because only their proportions matter. Compare with the simple average calculator.
How Is It Calculated? Worked Examples
1. Course Grade
Coursework scores 90 (weight 50%), a midterm scores 80 (weight 30%) and a quiz scores 70 (weight 20%).
- Multiply each score by its weight: 90 × 50 = 4,500; 80 × 30 = 2,400; 70 × 20 = 1,400.
- Add the products: 4,500 + 2,400 + 1,400 = 8,300.
- Add the weights: 50 + 30 + 20 = 100.
- Divide: 8,300 ÷ 100 = 83.
The simple average of the three scores is only 80, because it ignores the fact that the best score counts the most.
2. Grade Point Average
Grades of 4.0, 3.0 and 3.7 earn 3, 4 and 2 credit hours. The weighted sum is 12 + 12 + 7.4 = 31.4 over 9 credits, a GPA of 3.489. The simple average, 3.567, overstates it because the lowest grade belongs to the largest course.
3. What Do I Need on the Final?
Coursework (70% of the grade) stands at 82. To finish with 85 overall, you need (85 − 0.70 × 82) ÷ 0.30 = (85 − 57.4) ÷ 0.30 = 92 on the final.
4. Average Price Paid
You buy 10 shares at $20 and 30 shares at $30. The average cost per share is (10 × 20 + 30 × 30) ÷ 40 = 1,100 ÷ 40 = $27.50, not $25.
5. Portfolio Return
With 60% in stocks returning 8% and 40% in bonds returning 3%, the portfolio return is 0.6 × 8 + 0.4 × 3 = 6.0%.
How to Use This Weighted Average Calculator
- Enter the values (scores, prices, returns) in the first box, separated by commas or spaces.
- Enter the weights in the second box, in the same order and the same number.
- Read the weighted average, the sum of the weights, the sum of value × weight and the simple average for comparison.
- Open the steps to see each product.
For three-way splits such as 3 courses, enter three values and three weights. Weights can be percentages or any positive numbers.
Where Weighted Averages Are Used
- Education: course grades, GPAs and standardised test scoring.
- Finance: portfolio returns, average cost of purchases and weighted average cost of capital.
- Business: average selling price, weighted pipeline value and customer-satisfaction scores weighted by revenue.
- Statistics and economics: price indices such as the consumer price index weight items by spending.
- Sport and games: weighted scoring systems and rankings.
- Science: average atomic mass, weighted by isotope abundance.
What Are the Most Common Mistakes With the Weighted Average Calculator?
- Using the simple average. If importance differs, a plain average gives the wrong answer.
- Mismatched order. Each weight must line up with its value. A swapped pair changes the result.
- Dividing by the number of items. Divide by the sum of the weights, not by n.
- Weights that do not reflect importance. Weights based on guesses make the answer only as good as the guess.
- Negative or zero total weight. The sum of the weights must be positive.
- Averaging percentages without weights. If two groups have different sizes, weight each percentage by group size. See the mean, median and mode calculator for the unweighted case.
Where Can You Verify These Formulas?
The definitions and formulas on this page follow standard references. Check them against these sources:
Built and maintained by S. Dilshan. Found a mistake? Email [email protected] with the page address.
Frequently Asked Questions
How do you calculate a weighted average?
Multiply each value by its weight, add the products, and divide by the sum of the weights. For 90, 80, 70 with weights 50, 30, 20 the result is 8,300 ÷ 100 = 83.
Do the weights have to add up to 100%?
No. Only their proportions matter. Weights of 2, 3 and 5 give the same result as 20, 30 and 50. The calculator divides by whatever total you enter.
What is the difference between a weighted average and a simple average?
A simple average treats all values equally. A weighted average lets each value count in proportion to its weight.
How do I find the score I need on a final exam?
Subtract the contribution of your existing grade from your target, then divide by the weight of the final. (target − current × current weight) ÷ final weight.
How is GPA a weighted average?
Each course grade is weighted by its credit hours, so a 4-credit course influences the GPA more than a 1-credit course.
Can weights be decimals?
Yes. Weights such as 0.5, 0.3 and 0.2 work exactly like 50, 30 and 20.