Weighted Average

A weighted average gives more importance to certain values over others. Unlike a simple average where each value counts the same, a weighted average multiplies each value by a specific weight before calculating the mean. This makes it essential for grading systems, investment portfolios, and any situation where data points have different significance.

How to Calculate Weighted Average

The weighted average formula is straightforward:

Weighted Average = (v₁ × w₁ + v₂ × w₂ + … + vₙ × wₙ) ÷ (w₁ + w₂ + … + wₙ)

Where:

  • v = values (the numbers you’re averaging)
  • w = weights (the importance or frequency of each value)
  • n = number of values

The process has three steps:

  1. Multiply each value by its weight
  2. Sum all the products
  3. Divide the sum by the total of all weights

Weighted Average Calculator

Quick Templates
Values & WeightsWeights can be any numbers: credit hours, shares, or percentages. The calculator automatically divides by the total weight.
This tool is for educational purposes. For academic grading, investment analysis, or professional applications, consult your institution's specific formulas and methodology.

Weighted Average vs. Simple Average: What’s the Difference?

A simple average (arithmetic mean) treats all values equally. If you have test scores of 70, 80, and 90, the simple average is (70 + 80 + 90) ÷ 3 = 80.

With a weighted average, the same scores might have different weights. If the first test counts 20%, the second 30%, and the third 50%, the weighted average is:

(70 × 0.20) + (80 × 0.30) + (90 × 0.50) = 14 + 24 + 45 = 83

The higher weight on the 90 pulls the average up to 83 instead of 80. This reflects that some values matter more than others in your final result.

When to use each:

  • Simple average – when all data points have equal importance (e.g., average daily temperature over a week)
  • Weighted average – when data points have different significance (e.g., course grades with different credit hours)

Real-World Examples of Weighted Average

Example 1: Grade Point Average (GPA)

A student takes four courses with these grades and credit hours:

CourseGradeCredit HoursProduct
Math3.8415.2
English3.5310.5
History4.028.0
Art3.913.9
Total1037.6

Weighted GPA = 37.6 ÷ 10 = 3.76

The Math and English courses (higher credit hours) have more impact on the final GPA than History and Art.

Example 2: Investment Portfolio Average Cost

An investor buys the same stock at different prices:

PurchaseSharesPrice per ShareTotal Cost
Buy 1100$50$5,000
Buy 2150$60$9,000
Buy 350$55$2,750
Total300$16,750

Average cost per share = $16,750 ÷ 300 = **$55.83**

This weighted average shows the investor’s true break-even price, not the simple average of $50, $60, and $55 (which would be $55).

Example 3: Student’s Course Grade

A course has these components:

AssessmentScoreWeight
Homework9220%
Midterm8530%
Final Exam8850%

Weighted grade = (92 × 0.20) + (85 × 0.30) + (88 × 0.50) = 18.4 + 25.5 + 44 = 87.9

Even though the student scored 92 on homework, the final exam (50% weight) has the largest influence.

When to Use Weighted Average

Use a weighted average when:

  • Values have different importance levels – such as exam scores where finals count more than quizzes
  • Data points occur with different frequencies – like stock purchases at various prices or inventory items at different costs
  • Categories contribute unequally to a result – such as portfolio allocations where some assets represent a larger share
  • You need to reflect real-world significance – rather than treating all inputs equally

Weighted averages appear in quality control (defect rates by batch size), climate analysis (average temperature by number of days), and salary surveys (average pay by number of employees in each role).

Key Advantages

  1. Reflects reality – acknowledges that some values matter more than others
  2. More accurate – produces results closer to actual conditions in your data
  3. Flexible – weights can be percentages, frequencies, or any proportional values
  4. Widely applicable – used across education, finance, science, and business

Understanding weighted averages prevents mistakes in decision-making. Many people calculate simple averages when weighted averages would be more appropriate, leading to incorrect conclusions about performance, cost, or progress.

This explanation is for educational purposes. For academic grading, investment analysis, or professional applications, consult your institution’s specific formulas and methodology.

Frequently Asked Questions

What is the difference between weighted average and simple average?
A simple average treats all values equally, while a weighted average assigns different importance (weights) to each value. For example, if test scores are weighted 60% for the final grade, that score counts more than others weighted at 20%.
How do I calculate weighted average by hand?
Multiply each value by its weight, add all results together, then divide by the sum of all weights. Formula: (v₁ × w₁ + v₂ × w₂ + … + vₙ × wₙ) ÷ (w₁ + w₂ + … + wₙ).
Can weights add up to something other than 100%?
Yes. Weights can be any numbers. The calculator divides by the sum of weights automatically, so 50% and 50% give the same result as weights of 1 and 1, or 2 and 2.
Is weighted average used for stock portfolios?
Yes, extensively. Investors use it to find average purchase price, portfolio return, and performance metrics when holdings vary in size.
How does GPA use weighted average?
Schools assign credit hours (weights) to each course. A 4.0 in a 4-credit course counts more toward GPA than a 4.0 in a 1-credit course.
What if all weights are equal?
When all weights are the same, the weighted average equals the simple average. This is because equal weights cancel out in the calculation.
  1. Calculate Weighted Average, Online Calculator
  2. Median Calculator
  3. 5 Number Summary Calculator
  4. Calculate Standard Deviation on Calculator
  5. Calculator Percentile
  6. Interquartile Range Calculator