1. Home
  2. Statistics
  3. Weighted Average Calculator
Statistics

Weighted Average Calculator

Average values with unequal importance or quantities.

Your numbers

Results update as you type. Nothing you enter is sent anywhere.

Result

87.5

2 values · total weight 4. Zero-weight entries contribute nothing.

Formula used

Weighted mean = Σ(value × weight) ÷ Σ weights

A weighted average gives some values more influence than others. Use it to work out a course grade from assignments worth different percentages, a GPA from courses with different credit hours, the average cost of shares bought at different prices, or an average price per unit across mixed orders. Enter the values and their weights as two matching lists.

How to use the Weighted Average calculator

  1. Type the values in Values, comma separated, for example three exam scores: 88, 92, 79.
  2. Type the matching weights in Weights, comma separated and in the same order, such as 20, 30, 50 for exams worth 20%, 30% and 50%.
  3. Make sure both lists have the same number of entries. Weights must be zero or positive, and they do not have to add up to 100.
  4. Read the weighted mean, and check the total weight shown in the detail line.

How the weighted average calculation works

FormulaWeighted mean = Σ(value × weight) ÷ Σ weights

Choosing the weights

The weight should be whatever makes one value count more than another. In a grade, it is the percentage of the course each item is worth. For a GPA, it is the credit hours. For an average purchase price, it is the number of shares or units bought at each price. For an average speed over legs of a trip, it is the time spent on each leg, not the distance.

Only the proportions between weights matter. Entering 20, 30, 50 gives the same answer as 0.2, 0.3, 0.5 or 2, 3, 5, because the calculator divides by the total weight. A zero weight drops that value from the calculation, which is useful for an assignment that has not been graded yet.

Projecting a grade with work still to come

If only part of the course is graded, enter just the completed items and their weights. Because the calculator divides by the total weight entered, the result is your current average on graded work, not your final grade. Scores of 88 on a 20% quiz block and 92 on a 30% midterm give (88 × 20 + 92 × 30) ÷ 50 = 90.4 so far.

To see what you need on a 50% final to finish with an 85, solve 0.5 × 90.4 + 0.5 × x = 85, which gives x = 79.6. Try candidate final scores in the calculator to confirm. Instructors sometimes drop the lowest score or curve results, so check the syllabus.

Worked example

Course grade with exams worth 20%, 30% and 50%

Values, comma separated: 88,92,79 · Weights, comma separated: 20,30,50

  1. Multiply each score by its weight: 88 × 20 = 1,760; 92 × 30 = 2,760; 79 × 50 = 3,950.
  2. Add the products: 1,760 + 2,760 + 3,950 = 8,470.
  3. Add the weights: 20 + 30 + 50 = 100.
  4. Divide: 8,470 ÷ 100 = 84.7. The simple average of the three scores would be about 86.33, higher because the weakest score carries the most weight.

Result: 84.7

Assumptions and limits

Weights need not sum to 100; all-zero or negative weights are invalid.

Formula and worked examples last checked November 20, 2026. Spotted a problem? Report an error.

Frequently asked questions

How do you calculate a weighted average?

Multiply each value by its weight, add up those products, and divide by the sum of the weights. For values 70 and 90 with weights 1 and 3, that is (70 + 270) ÷ 4 = 85.

Do the weights have to add up to 100%?

No. The calculator divides by the total weight, so 1, 1, 2 works the same as 25%, 25%, 50%. If your weights do sum to 100, the division simply removes the percent scaling.

How do I calculate an average stock price across several purchases?

Use the price per share as the values and the number of shares as the weights. Buying 10 shares at $50 and 30 shares at $40 gives (500 + 1,200) ÷ 40 = $42.50 per share. Fees are not included unless you add them to the prices.

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

A regular average gives every value a weight of 1. A weighted average lets you set how much each value counts. If all your weights are equal, the two give the same answer.