Weighted Average Calculator: Values With Different Weights
List your values and how much each one counts. The weighted average, the full working and each line’s contribution appear as you type, and a target box shows what the last value must be.
| Line | Value | Weight | Share of weight | Value × weight | Adds to average |
|---|
This tool runs in your browser. Nothing you type is uploaded or saved, and there is nothing to install or sign up for.
What a weighted average tells you
A plain average treats every number as equally important. A weighted average lets some numbers count more than others. You need it any time the items are different sizes: a final exam worth half a course, a 4-credit class next to a 1-credit lab, 300 units bought at one price and 50 at another, or survey results from groups of unequal size.
This calculator takes a list of values, each with its own weight, and returns the weighted average together with the totals behind it, a line-by-line table and, if you want it, the value still needed to land on a target.
How to enter your values and weights
- In Values and weights, type one pair per line: the value first, then its weight. A comma, a space, a colon or the letter x between them all work, so
85, 20%and85 x 20mean the same thing. - Use whatever weights you have. Percents, credit hours, quantities and point totals are all fine, and they do not have to add up to 100.
- Read the answer in the navy panel. The four tiles under it show the sum of the weights, the sum of value × weight, the plain average and how many lines were used.
- Optional: type a number in Target average to find out what the last line would have to be.
- Copy result copies a one-line summary. Reset brings back the starting example.
Worked example: three scores with weights of 20%, 30% and 50%
The page opens with homework at 85 (20%), a midterm at 78 (30%) and a final at 92 (50%).
- Multiply each value by its weight: 85 × 20 = 1,700, then 78 × 30 = 2,340, then 92 × 50 = 4,600.
- Add the products: 1,700 + 2,340 + 4,600 = 8,640.
- Add the weights: 20 + 30 + 50 = 100.
- Divide: 8,640 ÷ 100 = 86.4.
The plain average of 85, 78 and 92 is 85, so the weighting lifts the result by 1.4. That happens because the highest score, 92, also carries the biggest weight. The table shows the same story from another side: the final alone adds 46 of the 86.4, the midterm 23.4 and the homework 17.
The formula in plain words
weighted average = (v1 x w1 + v2 x w2 + ... + vn x wn) / (w1 + w2 + ... + wn)
Multiply every value by its weight, add those products, and divide by the total weight. Two things follow from that formula:
- Only the proportions of the weights matter. Weights of 20, 30 and 50 give the same answer as 2, 3 and 5 or 0.2, 0.3 and 0.5.
- The result always sits between the smallest and largest value, pulled toward the values with the heaviest weights.
If every weight is the same, the weighted average equals the ordinary mean. For a list with no weights at all, the average calculator is quicker and also reports the median and mode.
When percent weights do not reach 100
Suppose only two parts of a course are graded so far: 90 worth 40% and 80 worth 40%. The products add to 6,800 and the weights add to 80, so the result is 6,800 ÷ 80 = 85. The calculator shows a note that the weights total 80% and explains that dividing by the real total rescales them. In other words, 85 is your average on the work counted so far, not a prediction for the missing 20%.
Finding the value you still need
Type a target and the calculator solves the formula backward for the last line:
needed value = (target x total weight - products of the other lines) / last weight
With the starting example and a target of 90, the other two lines contribute 1,700 + 2,340 = 4,040. The needed value is (90 × 100 − 4,040) ÷ 50 = 99.2. You can also write the last line as ?, 50%: the question mark tells the tool the value is unknown, and the headline becomes the needed value itself.
If the needed value is higher than the maximum possible score, the target cannot be reached with that last item alone. The tool does not know your scale, so that judgment is yours.
Everyday uses beyond grades
| Situation | Value | Weight |
|---|---|---|
| Course grade | Score in each category | Percent of the grade |
| Grade point average | Grade points per class | Credit hours |
| Average price paid | Price per unit | Units bought |
| Combined class result | Each class average | Students in the class |
| Product rating | Star level (1 to 5) | Number of reviews at that level |
Take grade points of 4, 3 and 2 in classes worth 3, 4 and 1 credits. Entered as 4, 3, 3, 4 and 2, 1, the products add to 26, the credits to 8, and the weighted average is 3.25. A full transcript with letter grades is easier in the GPA calculator, and a syllabus with categories, dropped scores and a letter scale belongs in the grade calculator. This page is the general-purpose version for any numbers and any weights.
Mistakes that change the answer
- Averaging averages. Two classes with averages of 70 and 90 do not combine to 80 unless they have the same number of students. Weight each average by its class size.
- Swapping the two columns. The value comes first and the weight second. Typing
20, 85instead of85, 20gives a very different result. - Mixing weight units. Keep all weights in one unit. A list with one weight written as 0.2 and another as 30 treats the second as 150 times heavier.
- Using scores on different scales. A 45 out of 50 and an 80 out of 100 should both be turned into percents first. The percentage calculator does that conversion.
- Negative weights. A weight says how much something counts, so it cannot be below zero. Negative values are allowed.
Tips for students and teachers
Before a big exam, list your finished categories, put the exam on the last line and try a few targets to see which final marks are realistic. Teachers can paste class averages with class sizes to get a fair year-group average, or show students why a 10% quiz barely moves a grade while a 40% project moves it a lot: change one value and watch the Adds to average column.
When the question is specifically about the last exam of a course, the final grade calculator asks for exactly those inputs. You will find it with the other math calculators and study helpers in our collection of free online tools.
Frequently asked questions
How do you calculate a weighted average?
Multiply each value by its weight, add the products, then divide by the sum of the weights. For 85, 78 and 92 with weights of 20, 30 and 50 the products total 8,640 and the weights total 100, so the weighted average is 86.4.
Do the weights have to add up to 100?
No. The formula divides by whatever the weights add up to, so credits, counts or partial percents all work. Scores of 90 and 80 that each carry 40 percent give 6,800 divided by 80, which is 85.
What is the difference between a weighted average and a regular average?
A regular average gives every number the same importance. A weighted average lets some count more. For 85, 78 and 92 the regular average is 85, but with weights of 20, 30 and 50 percent the weighted average is 86.4.
How do I find the score I need to reach a target average?
Multiply the target by the total weight, subtract the products of the finished items and divide by the weight of the missing item. With 85 at 20 percent and 78 at 30 percent done, a target of 90 needs 99.2 on the remaining 50 percent.
Can a weighted average be higher than every value in the list?
No. With weights that are zero or positive, the result always falls between the smallest and the largest value. It moves toward whichever values carry the most weight.
How do I work out a weighted average with credit hours?
Use the credit hours as the weights. Grade points of 4, 3 and 2 in classes worth 3, 4 and 1 credits give products that total 26 over 8 credits, a weighted average of 3.25.
