Weighted Grade Calculator
Calculate your overall course grade from assignments, quizzes, and midterm weights, plus find the exact score needed on your final exam.
Every weighted average calculation runs inside the browser. No dataset is uploaded, stored on a server, or shared.
A weighted average calculator multiplies every individual value by its weight, adds the products into a weighted sum, then divides that weighted sum by the total of weights. The output is the weighted average, named the weighted mean or the weighted arithmetic mean in statistics.
This weighted average calculator delivers 4 benefits: a weighted average calculation that updates on every keystroke, a step-by-step breakdown of each value-weight pair, a direct comparison against the standard arithmetic mean, and control over decimal places and the rounded result.
Students, teachers, and analysts use the weighted average calculator for 5 tasks: course grades, grade point average (GPA), portfolio returns, average selling price, and discrete probability distributions.
The calculator holds 5 parts: value fields, weight fields, a preset selector for grade and GPA and portfolio work, a decimal places control, and a result panel that reports the weighted average, the sum of weighted values, the sum of weights, and the count of selected rows.
To use the weighted average calculator, enter each value with the weight that value carries, then read the weighted average from the result panel. The calculation runs on every keystroke, so no Calculate button is needed.
Enter each individual value in the Value field and the matching weight in the Weight field. One row holds one value-weight pair, and the calculator accepts an unlimited number of rows.
Weights accept decimals, whole numbers, percentages, and credits. The calculator will ignore blanks, include zeros in the count of selected rows, and flag invalid tokens such as letters or stray symbols under the entry area.
View your weighted average at the top of the result panel, printed in the decimal places you selected. Four supporting figures sit below the result:
A mini visualization under those figures splits one bar by weight, so the share held by each individual value stays visible. Copy result copies the number alone. Copy step-by-step breakdown copies every multiplication, the weighted sum, the total of weights, and both averages as plain text.
A weighted average is an average in which each value carries a weight that sets how much that value affects the result. The weighted average equals the weighted sum divided by the total of weights.
The weighted average definition covers 3 names for one statistical measure: weighted average, weighted mean, and weighted arithmetic mean. A normal mean treats every value as equal, so every weight equals 1. A weighted average replaces those equal weights with numbers that describe importance, frequency, quantity, or size.
A dataset of 3 exam scores shows the difference. Scores of 90, 75, and 60 produce an arithmetic mean of 75. Attach weights of 3, 2, and 5 to those same numerical grades, and the weighted average drops to 72, because the score of 60 holds half of the total of weights.
To calculate a weighted average, multiply each value by its weight, add the products, add the weights, then divide the weighted sum by the sum of weights. The weighted average method needs 4 steps and works on any dataset of value-weight pairs.
Calculate the weighted average of 3 modules scored 88, 74, and 91, carrying 4 credits, 2 credits, and 6 credits:
The weighted average of those 3 modules is 87.17. The simple average of the same 3 values reaches 84.33, so the 6-credit module lifts the semester average by 2.83 points.
| Module | Value | Weight (credits) | Weighted value |
|---|---|---|---|
| Module A | 88 | 4 | 352 |
| Module B | 74 | 2 | 148 |
| Module C | 91 | 6 | 546 |
| Total | — | 12 | 1,046 |
| Weighted average | — | — | 87.17 |
The weighted average formula is x̄w = ∑(wi × xi) ÷ ∑wi, the sum of weighted values divided by the sum of weights.
The weighted average formula holds 3 terms. Each individual value takes the symbol xi, each weight takes the symbol wi, and the weighted arithmetic mean takes the symbol x̄w. Multiplying every value-weight pair produces the weighted sum in the numerator, and adding every weight produces the total of weights in the denominator.
Weights carry any consistent unit: percentages, credits, dollars, shares, counts, or probabilities. The division by the total of weights cancels the scale, so weights of 2, 3, and 5 return the same weighted average as weights of 20%, 30%, and 50%.
A course grade built from 3 assessments shows the weighted average formula in use. Homework scores 92 at a 20% grade weight, the midterm scores 78 at 30%, and the final exam score reaches 85 at 50%.
| Assignment | Grade value | Percentage weight | Weighted grade value |
|---|---|---|---|
| Homework | 92 | 20% | 1,840 |
| Midterm exam | 78 | 30% | 2,340 |
| Final exam | 85 | 50% | 4,250 |
| Total | — | 100% | 8,430 |
| Final grade | — | — | 84.30 |
The final grade lands at 84.30, while the simple average of 92, 78, and 85 reaches 85.00. The 30% midterm weight pulls the course grade down by 0.70 points.
The weighted average assigns a different weight to each value, and the simple average assigns the same weight to every value. The difference between mean and weighted average appears whenever the weights stop matching each other.
| Attribute | Weighted average | Simple average |
|---|---|---|
| Weighting | Each value carries its own weight | Every value carries a weight of 1 |
| Formula | Sum of weighted values ÷ sum of weights | Sum of values ÷ number of values |
| Inputs | Value-weight pairs | Values only |
| Use | Course grades, GPA, portfolio returns, probability | Datasets of equal importance |
| Result on 92, 78, 85 | 84.30 at weights of 20%, 30%, 50% | 85.00 |
The weighted average equals the arithmetic mean when every weight in the dataset holds the same number. Equal weights cancel in the division, which reduces the weighted average formula to the sum of values divided by the count of values.
Three values weighted 5, 5, and 5 return the same result as the same 3 values weighted 1, 1, and 1. The weighted average calculator prints a note whenever the weighted average and the standard arithmetic mean match, so equal weighting stays obvious.
Use a weighted average when values in the dataset carry different importance, frequency, quantity, or size. Six situations call for the weighted average method.
Choose weights by measuring the quantity that makes one value count more than another value. Three weighting schemes cover most datasets:
Keep one unit across the full dataset. Mixing credits with percentages inside a single weighted average calculation distorts the total of weights and the result.
Weights do not need to add up to 100%. The weighted average formula divides by the sum of weights, which auto-normalizes any scale, so weights of 4, 3, and 5 credits return a valid weighted average without conversion.
Two cases still need attention. A strict sum-to-1 scheme, used in probability distributions, requires weights that total exactly 1.0 for the result to read as an expected value. A total of weights equal to 0 makes the division impossible, so the calculator returns no result and prints a warning instead.
Academic grading runs on 2 weighted averages: the course grade, weighted by assignment weight, and the grade point average (GPA), weighted by credits.
Calculate a weighted grade by multiplying each grade value by its percentage weight, then dividing the total by 100. A grading scheme of 40% coursework and 60% final exam turns a coursework mark of 72 and a final exam grade of 65 into a final grade of 67.80.
Final grade planning reverses the same weighted average calculation. Enter the marks already earned, add a row for the final exam score, then adjust that row until the weighted average reaches the target mark percentage. A student holding 72 in coursework worth 40% needs 85.33 on a final exam worth 60% to finish the course at 80.
Calculate GPA by multiplying each course grade point by the credits attached to that course, then dividing by the total credits. The 4.0 GPA scale, also written as the 4-point grading scale, converts every letter grade into a grade point.
| Letter grade | Grade point | Letter grade | Grade point |
|---|---|---|---|
| A | 4.0 | C+ | 2.3 |
| A− | 3.7 | C | 2.0 |
| B+ | 3.3 | C− | 1.7 |
| B | 3.0 | D | 1.0 |
| B− | 2.7 | F | 0.0 |
A semester of 4 courses — 4.0 across 4 credits, 3.0 across 3 credits, 3.7 across 5 credits, and 2.7 across 2 credits — produces 48.9 weighted grade points across 14 credits, so the semester GPA reaches 3.49.
Unweighted GPA caps every course at 4.0 and ignores course difficulty. A high school GPA of 4.0 unweighted means straight A grades across College Prep classes and Advanced Placement (AP) courses alike.
Weighted GPA adds points for course difficulty, which lifts the scale above 4.0. Most high school grading schemes add 1.0 for AP courses and International Baccalaureate (IB) courses and 0.5 for Honors courses.
The weighted average appears across statistics, finance, academic grading, and mathematics, wherever proportions and ratios differ between the values of a data set.
Statistics uses the weighted average to compute the expected value of a discrete probability distribution. Each outcome takes its probability as the weight, and the weights sum to 1.0, so the weighted sum alone returns the expected value.
A fair 6-sided die carries 6 outcomes at a probability of 0.1667 each, which produces an expected value of 3.5. Weighted averages also combine survey segments by sample size, so a group of 900 respondents counts 3 times a group of 300 respondents.
Finance uses the weighted average in 4 calculations: portfolio returns, stock market indices, average selling price, and interest rates.
Mathematics defines 4 averages for a data set: the weighted average, the arithmetic average, the geometric average, and the harmonic average. Each average answers a different question about the same values.
| Average | Method | Result |
|---|---|---|
| Weighted average | Sum of weighted values ÷ sum of weights, at weights of 1, 2, 7 | 10.60 |
| Arithmetic average | Sum of values ÷ number of values | 8.33 |
| Geometric average | Cube root of the product of the 3 values | 7.56 |
| Harmonic average | Count ÷ sum of the reciprocals | 6.75 |
The arithmetic average adds every value and divides by the number of values. The standard arithmetic mean fits datasets of equal importance, such as 30 daily temperature readings taken by one station.
The geometric average multiplies n values and takes the nth root of that product. Compounding figures use the geometric average, such as an annual growth rate measured across 5 years.
The harmonic average divides the count of values by the sum of their reciprocals. Rates measured over a fixed distance or a fixed cost use the harmonic average, such as an average speed across 2 legs of one journey.
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.
Yes, the weighted mean is the same as the weighted average. Statistics prefers the term weighted arithmetic mean, academic grading prefers weighted average, and both terms name the sum of weighted values divided by the sum of weights.
Yes, weights can be decimals. Probabilities of 0.25 and 0.75, credits of 1.5, and allocations of 33.33% all work inside the weighted average formula, because the total of weights normalizes any scale.
No, weights do not have to add up to 100%. Credits of 4, 3, and 5 total 12 and still produce a correct weighted average, since the division by the sum of weights rescales the weighted sum automatically.
Yes, a weighted average handles negative numbers. Negative values, such as a −4.2% return, calculate normally. Negative weights push the result outside the range of the values, so the calculator flags any negative weight in the entry area.
Calculate a weighted average in Excel with =SUMPRODUCT(A2:A10,B2:B10)/SUM(B2:B10), where column A holds the values and column B holds the weights. SUMPRODUCT builds the weighted sum, and SUM builds the total of weights.
Calculate a weighted average in Google Sheets with =AVERAGE.WEIGHTED(A2:A10,B2:B10), where A2:A10 holds the values and B2:B10 holds the weights. The SUMPRODUCT formula from Excel works in Google Sheets too.
Calculate a weighted average for grades by multiplying each grade value by its grade weight, adding those weighted grade values, then dividing by the total weights. Scores of 92, 78, and 85 at weights of 20%, 30%, and 50% produce a final grade of 84.30.
Multiply the coursework mark by 40, multiply the exam mark by 60, add both weighted grade values, then divide by 100. Coursework of 72 and an exam of 65 produce a course grade of 67.80.
Weighted GPA counts course difficulty and unweighted GPA ignores it. Unweighted GPA caps at 4.0 on the 4-point grading scale, while weighted GPA adds 1.0 for AP courses and IB courses and 0.5 for Honors courses, which lifts a high school GPA above 4.0.
Calculate a weighted average interest rate by weighting each rate by its loan balance. Balances of $20,000 at 6% and $5,000 at 3% produce (120,000 + 15,000) ÷ 25,000, a weighted average interest rate of 5.4%.
Yes, you can average averages, on the condition that each average carries the count behind it as its weight. Averaging averages without weights treats a group of 900 students and a group of 30 students as equals.
No, the average of averages is not accurate at unequal group sizes. Class averages of 90 across 10 students and 60 across 90 students return 75 unweighted, while the weighted average returns 63 — a 12-point error.
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