Weighted Grade Calculator
Calculate your overall course grade from assignments, quizzes, and midterm weights, plus find the exact score needed on your final exam.
Enter your values with the weight each one carries. The weighted mean, the normalized weights, and the regular mean update as you type — and the solver works backwards to find a missing value or weight.
Solve for the missing entry
Leave one value blank, keep its weight, and enter the mean you want.
Every calculation runs in this browser. No dataset is uploaded, stored on a server, or shared.
A weighted mean is an average in which each observation carries its own multiplier, so values backed by more evidence or importance influence the result more.
Statistics calls it the weighted arithmetic mean, written x̄w. It sums every value multiplied by its weight, then divides by the total weight. A regular mean is the special case where every weight is 1. See the general weighted average calculator for the same method applied to grades, GPA, and finance.
Weights carry meaning from the data itself. In a lab, the weight is the number of measurements behind each reading. In a survey, it is the size of the group. In a price index, it is the quantity purchased. The unit does not matter, because the division by total weight removes the scale.
One property matters more than any other: with non-negative weights, the weighted mean always lands between the smallest and largest value in the set. A result outside that range means a weight went negative.
To calculate a weighted mean, multiply every value by its weight, add the products, and divide by the sum of the weights.
Weights that already sum to 1 simplify the formula: the denominator disappears and the weighted sum alone is the mean. That is why probability weights are convenient — they are normalized in advance.
Three laboratories report the same measurement, each from a different number of trials. The trial counts are the weights, because a reading from 30 trials carries more evidence than one from 8.
| Laboratory | Reading | Trials (weight) | w × x | Share of weight |
|---|---|---|---|---|
| Lab A | 4.10 | 12 | 49.2 | 24% |
| Lab B | 4.35 | 30 | 130.5 | 60% |
| Lab C | 4.20 | 8 | 33.6 | 16% |
| Total | — | 50 | 213.3 | 100% |
The weighted mean is 4.27 against a regular mean of 4.22. Lab B holds 60% of the trials, so its higher reading pulls the combined result upward — which is the point of weighting by evidence.
Type one value-weight pair per row and the weighted mean appears immediately, beside the regular mean and the normalized weights.
Put each observation in the value column. Values accept decimals, negatives, percentages, and both separator styles, so 1,250.5 and 1.250,5 both read as the same number.
Put the multiplier for each observation in the weight column: trial counts, sample sizes, quantities, probabilities, or percentages. Keep one unit across the whole dataset.
The share column shows each weight rescaled to a percentage of the total, so an unnormalized set of weights becomes readable without any conversion on your part.
No button is needed. The result panel reports 4 supporting figures beside the mean:
The mode selector at the top switches from calculating to solving. Solve for a value and solve for a weight both work backwards from a target mean, which is covered further down this page.
Use a weighted mean when the observations are not equally informative — different sample sizes, quantities, probabilities, or importance.
Choose the quantity that makes one observation count more than another, then apply it consistently. Four schemes cover most datasets:
| Scheme | Weight used | Typical setting |
|---|---|---|
| Frequency weighting | How many times the value occurred | Grouped data, repeated readings |
| Sample-size weighting | Number of observations behind each value | Combining studies or segments |
| Probability weighting | Chance of each outcome, summing to 1 | Expected value |
| Importance weighting | A judgement of relative significance | Composite scores and indices |
Two rules keep the result honest. Weights must come from outside the values themselves — deriving weights from the values you are averaging builds in circularity. And a weight of 0 is a deliberate exclusion, not a missing entry.
A regular mean gives every value the same weight of 1. A weighted mean lets those weights differ, so the two agree only under one condition.
| Method | Calculation | Result |
|---|---|---|
| Weighted mean | 213.3 ÷ 50 trials | 4.27 |
| Regular mean | 12.65 ÷ 3 readings | 4.22 |
The regular mean answers what the typical reading was. The weighted mean answers what the combined evidence says. Neither is a better formula; they answer different questions about the same numbers.
The two are identical when every weight is equal, whatever that shared value is. Weights of 7, 7, and 7 give the same answer as weights of 1, 1, and 1, because the common factor cancels in the division.
The calculator prints a note whenever the two coincide, so equal weighting never passes unnoticed.
Nothing breaks. The division by the total weight normalizes any scale, so weights of 2, 3, and 5 give exactly the same mean as 20%, 30%, and 50%.
Weights only need to be proportional to each other. Multiply every weight by 10 and the numerator and denominator both grow by 10, leaving the mean unchanged.
| Weights entered | Sum of weights | Weighted mean |
|---|---|---|
| 2, 3, 5 | 10 | 78.50 |
| 20, 30, 50 | 100 | 78.50 |
| 0.2, 0.3, 0.5 | 1 | 78.50 |
The share column in the calculator shows the normalized version of whatever you typed, so you can read proportions without rescaling anything by hand.
Only one total is fatal: weights summing to 0 make the division undefined, and the calculator reports that instead of printing a number. Probability weights are the one case where the total genuinely must be 1, since the result is only an expected value under that condition.
Negative values are ordinary and calculate normally. Negative weights are the risky case, because they break the guarantee that the mean sits inside the value range.
Values below zero are common: temperature readings, investment losses, or deviations from a baseline. Returns of −4% and +10% with weights of 3 and 2 give (−12 + 20) ÷ 5, a weighted mean of 1.60.
Negative weights behave differently. Values of 10 and 20 with weights of 3 and −1 produce (30 − 20) ÷ 2 = 5.00, which sits below both values. The result is arithmetically correct and statistically meaningless as an average.
Negative weights appear legitimately in offsetting positions, such as a short holding in a portfolio. Outside those cases, a negative weight is usually a typed minus sign. The calculator flags every negative weight and says so explicitly when the mean falls outside the value range.
The formula rearranges in both directions, so a target mean plus everything else determines the one missing term. Switch modes at the top of the calculator.
Leave one value blank, keep its weight, and enter the mean you are aiming for. The unknown value equals the target multiplied by the total weight, minus the weighted sum of the known rows, divided by the unknown weight.
Values of 78 and 85 carrying weights of 2 and 3, with a third row weighted 5 and a target mean of 84, need that third value to be 85.80. The known rows contribute 411 of the 840 required, leaving 429 to be earned across a weight of 5.
Leave one weight blank, keep its value, and enter the target mean. The unknown weight equals the target times the known weight, minus the known weighted sum, divided by the difference between the unknown value and the target.
A value of 90 weighted 3, plus a value of 70 with an unknown weight, reaches a mean of 82 when that weight is 2. Checking it: (270 + 140) ÷ 5 = 82.
Two cases have no answer, and the calculator names both. A value equal to the target can never move the mean, so no weight solves it. A target outside the range of your values would require a negative weight, which the solver reports rather than returning quietly.
Six mistakes account for most incorrect weighted means, and four of them are visible in the calculator's own output.
The calculator surfaces the visible ones: it prints ∑ w · x and ∑ w separately so a wrong denominator stands out, flags entries that are not numbers, marks rows missing one half of the pair, and warns when negative weights push the mean outside the value range.
CALCULATOR SUITE
Explore our dedicated calculation tools tailored for academic grading, GPA, statistical datasets, inventory costing, and finance.
Calculate your overall course grade from assignments, quizzes, and midterm weights, plus find the exact score needed on your final exam.
Compute semester and cumulative GPA with standard AP (+1.0), Honors (+0.5), and IB grade point weighting on 4.0 and 5.0 scales.
Calculate weighted percentage totals from percentage or raw score components, and calculate exact percentage contribution per item.
Compute the arithmetic weighted mean for any dataset or frequency distribution, and solve for any missing value or weight.
Work out your university WAM across course units with credit-point and year-level weighting schemes and Honours classifications.
Determine the weighted unit cost across multiple inventory batches, wholesale lots, or tiered purchase price orders.
Calculate ending inventory valuation and Cost of Goods Sold (COGS) using periodic and perpetual moving average costing methods.
Calculate the effective blended interest rate and annual/monthly finance charges across mortgages, student loans, or credit cards.
Calculate intraday VWAP, typical price bars (H+L+C)/3, running session volume, and anchored price benchmark deviations.
Use a weighted mean when the observations are not equally informative — different sample sizes, trial counts, quantities, or probabilities. Use a regular mean when every observation carries the same evidence and importance.
Choose the quantity that makes one observation count more than another: frequency, sample size, probability, or a stated importance. Apply one unit across the whole dataset, and take the weights from outside the values being averaged.
Yes, weights can be decimals. Probabilities of 0.25 and 0.75, credit values of 1.5, and shares of 33.33% all work, because dividing by the total weight normalizes any scale.
Yes for negative values, which calculate normally — readings of −4 and 10 at weights 3 and 2 give 1.60. Negative weights are different: they can push the mean outside the range of your values, so the calculator flags them.
The weighted mean equals the regular mean. Weights of 7, 7, and 7 give the same result as weights of 1, 1, and 1, because the shared factor cancels in the division.
No. Weights of 2, 3, and 5 give the same mean as 20%, 30%, and 50%, since only their ratio matters. The one exception is probability weighting, where the total must equal 1 for the result to read as an expected value.
Yes, they name the same calculation. Statistics prefers weighted mean or weighted arithmetic mean, everyday use prefers weighted average, and both equal the sum of weighted values divided by the total weight.
Multiply every value by its weight, add the products, then divide by the sum of the weights. Readings of 4.10, 4.35, and 4.20 weighted 12, 30, and 8 give 213.3 ÷ 50, a weighted mean of 4.27.
Calculate Weighted Average Online
The weighted average calculator multiplies each value by its weight, adds the weighted sum, divides by the total of weights, and prints the weighted average beside the standard arithmetic mean. Course grades, GPA, portfolio returns, and probability distributions all run through the same 4 steps.
Open the Weighted Average Calculator