Weighted Average Calculator
Enter each value alongside the weight that applies to it, such as a grade and the percentage it counts for, and the calculator returns the weighted mean. It also shows the weighted sum and the total weight so you can check the arithmetic. Add or remove rows freely, and weights can be any non-negative numbers because the result divides by their total.
How to calculate a weighted average
- Type your first number in the Value column and its weight in the Weight column.
- Click + Add row to create another value and weight pair.
- Repeat until every item you want to average is listed.
- Read the Weighted mean card for the answer, with weighted sum and total weight beside it.
- Use Remove to drop a row, or Copy result to save all three figures.
Examples
Two grades weighted 30 and 70 percent
90 at weight 30, 80 at weight 70
Weighted mean 83, weighted sum 8300, total weight 100
A three-course grade point average
4 at weight 3, 3 at weight 4, 3.7 at weight 3
Weighted mean 3.51, weighted sum 35.1, total weight 10
A survey score with unequal samples
85 at weight 2, 95 at weight 1
Weighted mean 88.333333, weighted sum 265, total weight 3
Frequently asked questions
How do I calculate a weighted average?
Multiply each value by its weight, add those products to get the weighted sum, then divide by the total of the weights. For 90 at weight 30 and 80 at weight 70 the weighted sum is 8300, the total weight is 100, and the weighted mean is 83.
How is it different from a normal average?
A plain average treats every value equally. A weighted average lets some values count more, so a final exam worth 70 percent moves the result far more than a quiz worth 30 percent. When all the weights are equal, the weighted mean matches the plain average.
Do the weights need to add up to 100?
No. Weights can be any non-negative numbers because the tool divides by their total. Weights of 30 and 70 give the same answer as 3 and 7, and credit hours of 4 and 3 work just as well as percentages.
Can I use it for a course grade or GPA?
Yes. Enter each grade or grade point as the value and its category weight or credit hours as the weight, then read the weighted mean. Homework, a midterm and a final with different weights combine into your overall course result.
What happens if a weight is zero?
A row with a weight of zero contributes nothing to the weighted sum and nothing to the total weight, so it is effectively ignored. That is a handy way to keep an item on screen while excluding it from the average.
What if the total weight is zero?
A weighted average needs a positive total weight, so if every weight is zero the tool cannot compute a result and shows nothing. Give at least one item a weight above zero to see an answer.
Can values or weights be decimals or negatives?
Values can be any finite number, including decimals and negatives. Weights must be zero or positive, since a negative weight has no meaning as a share of the total and is rejected by the calculator.
How precise is the result?
The weighted mean, weighted sum and total weight are each rounded to six decimal places, which is enough for grades, finance and survey work while keeping the display readable.
Is my data private?
Yes. Every calculation runs locally in your browser, so the numbers you type are never uploaded or stored on a server.
Learn more
- Weighted average versus simple average
When to weight your numbers and when a plain mean will do, with grade, finance and survey examples that show how weighting changes the answer.
Related tools
Average Calculator
Find the mean, median, mode, range, sum, count, min and max of a list of numbers. Paste values separated by commas, spaces or new lines.
Final Grade Calculator
Find the score you need on your final exam to reach a target grade. Enter your current grade, your goal and how much the final is worth.
Annulus Area Calculator
Calculate the area of an annulus, the ring between two concentric circles, from its outer and inner radius. Returns both circumferences and width too. Free.
Area Calculator
Find the area of a circle, square, rectangle, triangle, trapezoid, parallelogram, ellipse, sector or rhombus. Free and runs in your browser.
Arithmetic Sequence Calculator
Find the nth term, the sum of n terms and the full term list for any arithmetic or geometric sequence. Enter the first term, step or ratio, and n.
Benford's Law Calculator
Analyze any data set for Benford's Law conformity. Paste numbers to get the first-digit distribution, chi-square test, MAD score and per-digit z-stats.