ZapKit

Weighted Average Calculator

Work out an average where some values count more than others, such as exam components, credit-weighted grades or prices bought in different quantities.

What is a weighted average?

A weighted average is a mean in which each value contributes according to how important or how large it is. Simple averages assume every item counts equally, which is often wrong: a 4-credit course should affect your GPA more than a 1-credit one, and 100 shares bought at one price matter more than 10 bought at another.

This calculator takes value and weight pairs, shows each one's share of the total weight, and gives the weighted result next to the simple average so you can see how much the weights change it. It's used for course grades, GPA, inventory costs, survey results and portfolio returns.

How to use the Weighted Average Calculator

  1. 1.Enter value and weight pairs

    One pair per line, like 82 30 for a score of 82 worth 30%.

  2. 2.Use any kind of weight

    Percentages, credits, hours or quantities all work; they don't need to total 100.

  3. 3.Compare the averages

    See the weighted result next to the simple average and each item's share.

Example: a course grade

Coursework 82 worth 30%, midterm 74 worth 30% and final exam 91 worth 40%:

Σ value × weight
8,320
Total weight
100
Weighted average
83.2
Simple average
82.3333

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

The strong final exam lifts the grade almost a point above the simple average.

Why weights change the answer

A weighted average multiplies each value by its weight, adds those products and divides by the total weight. A final exam worth 40% therefore moves the result twice as much as a quiz worth 20%.

The weights only matter relative to each other, so 30, 30, 40 gives the same result as 3, 3, 4. Investors use the same method for an average purchase price, adding up price × shares bought and dividing by total shares.

Frequently asked questions

Do the weights have to add up to 100?

No. The calculator divides by whatever they add up to.

How do I work out my course grade?

Enter each component's score and its percentage weight, one per line.

How is this different from a normal average?

A normal average gives every value the same weight. Here each value counts in proportion to its weight.

Can I use it for an average share price?

Yes. Enter each purchase price and the number of shares as the weight.

More Utilities tools