Student & Exam Tools

Weighted Average Calculator

Calculate a weighted average from values and weights as percentages or plain numbers, with each row’s contribution and the steps.

  • Free
  • No sign-up
  • Runs in your browser

Weighted Average

Weights are
Weighted average
--
Each row's share of the total weight and contribution to the average
RowValueWeightShareAdds
Step by step

    Runs in your browser. Your inputs never leave your device.

    Quick Answer

    A weighted average multiplies each value by its weight, adds the products, and divides by the total weight. Scores of 90 (30%), 80 (50%) and 70 (20%) give 27 + 40 + 14 = 81. With plain-number weights the method is the same: 90 with weight 2 and 80 with weight 3 give (180 + 240) ÷ 5 = 84.

    How to Use

    1. Choose the weight type. Pick percentages if the weights are % of a total, or plain numbers for credit hours, quantities and so on.
    2. Enter values and weights. Fill in a value and weight on each row, adding rows as needed. A name for each row is optional.
    3. Read the result. See the weighted average, total weight, each row's contribution and every step of the calculation.

    Simple vs Weighted Average

    A simple average treats every number the same. A weighted average lets each number count according to how important it is, which is how most course grades, GPAs and price averages are worked out.

    Simple and weighted averages of the same scores
    AssessmentScoreWeightContribution
    Assignments9030%27
    Midterm8050%40
    Quizzes7020%14
    TotalSimple average 80100%Weighted 81

    The weighted result is higher because the strongest score (90) carries more weight than the weakest (70).

    Where Weighted Averages Are Used

    • Grades: coursework, midterm and final exam weights from a syllabus. For grades by letter, the grade calculator and GPA calculator do this with credit hours.
    • Average cost: if you buy 10 units at 5 and 30 units at 6, the average price is (50 + 180) ÷ 40 = 5.75, not 5.50.
    • Admissions: merit and aggregate formulas weight school results and entry tests; the merit calculator handles marks out of different totals.
    • Statistics: price indexes such as the Consumer Price Index weight each category by its share of household spending.

    All calculations run in your browser. You can share a link that reopens your exact rows.

    Weighted Average Formula

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

    Each value counts in proportion to its weight. When the weights are percentages that add up to 100, dividing by the total weight is the same as dividing by 100, so each row's contribution is simply value × weight%. If percentage weights add up to something other than 100, the calculator divides by their actual total instead (normalises them) and tells you, which is the same as scaling every weight so that they add up to 100.

    • Value: The score, grade, price or measurement for each item.
    • Weight: How much each value counts: a percentage, credit hours, a quantity or any other positive number.
    • Contribution: value × weight ÷ total weight: how many points of the final average come from that row.

    Worked Examples

    Course grade from percentage weights

    Assignments: 90, weight 30% · Midterm: 80, weight 50% · Quizzes: 70, weight 20%

    1. 90 × 30 = 2,700; 80 × 50 = 4,000; 70 × 20 = 1,400
    2. Sum of products: 8,100; sum of weights: 100
    3. 8,100 ÷ 100 = 81

    Result: Weighted average 81

    Plain-number weights

    90 with weight 2 · 80 with weight 3

    1. 90 × 2 = 180; 80 × 3 = 240
    2. (180 + 240) ÷ (2 + 3) = 420 ÷ 5

    Result: Weighted average 84

    Percentage weights that do not add up to 100

    90 with weight 30% · 80 with weight 50%

    1. The weights total 80%, so they are normalised
    2. (90 × 30 + 80 × 50) ÷ 80 = 6,700 ÷ 80

    Result: Weighted average 83.75 (equivalent to weights of 37.5% and 62.5%)

    Common Mistakes to Avoid

    • Taking a simple average instead: The plain average of 90, 80 and 70 is 80, but if the 90 counts for 30% and the 70 for only 20%, the weighted average is 81. Use the plain average only when every item counts equally.
    • Dividing by the number of items: A weighted average divides by the total weight, not by how many values there are. Dividing 420 by 2 items instead of 5 weight units gives 210, which is meaningless.
    • Forgetting missing weight: If assessments worth 20% have not happened yet, your weights add up to 80%. The normalised result shows your average so far; it is not your final grade until the remaining 20% is added.
    • Mixing weight types: Use one kind of weight for every row: all percentages, or all credit hours, or all quantities. Mixing a 30% weight with a 3-credit weight gives a wrong answer.
    • Using weights on different scales of values: Make sure every value is on the same scale, for example all percentages. A score of 18/20 should be entered as 90, not 18, if the others are out of 100.

    Frequently Asked Questions

    How do you calculate a weighted average?

    Multiply each value by its weight, add all the products, then divide by the sum of the weights. For 90 (30%), 80 (50%) and 70 (20%): (2,700 + 4,000 + 1,400) ÷ 100 = 81.

    What is the difference between a weighted average and a normal average?

    A normal (arithmetic) average gives every value the same importance. A weighted average lets some values count more than others according to their weights.

    Do weights have to add up to 100?

    No. Any positive weights work because the formula divides by their total. If you choose percentage weights that do not add up to 100, the calculator normalises them and tells you.

    How do I calculate my grade with weighted categories?

    Enter each category's average as a value and its percentage of the course as the weight. The result is your overall grade; the contribution column shows how many points each category adds.

    How do I calculate a weighted average in Excel?

    Use =SUMPRODUCT(values, weights)/SUM(weights). For values in A2:A4 and weights in B2:B4: =SUMPRODUCT(A2:A4,B2:B4)/SUM(B2:B4).

    Can a weight be zero?

    Yes. A row with weight 0 has no effect on the result. If every weight is zero there is nothing to average, so the calculator shows an error.

    What is a weighted average used for?

    Course grades, GPA by credit hours, average purchase price across orders of different sizes, portfolio returns, survey results and index numbers all use weighted averages.

    Sources & References