Weighted Average Calculator

Find the weighted average of any list of values and weights, such as grades with percentage weights or prices with quantities. Compare it with the plain average, or solve for the score you need to reach a target.

Calculator Numbers & Math Updated Oct 3, 2026
How to Use
  1. Type one item per line: an optional name, the value, then the weight. “Exam 90 30%”, “90, 3” and “90 x 3” all work.
  2. Weights can be percentages, credits, quantities or anything else; they don’t need to add up to 100.
  3. Read the weighted average, the plain average and the total weight.
  4. To find a needed score, write ? as one value and set the target average.
  5. The seesaw shows each value as a weight on a beam; the average is where it balances.
Input
one per line
for a ? value
Presets
Balance point
Weighted average
—
Plain average
—
Total weight
—
Items
—

Worked Example

A course grade. Homework 90 (30%), midterm 80 (20%), final 70 (50%): 90 × 0.3 + 80 × 0.2 + 70 × 0.5 = 27 + 16 + 35 = 78.

The score needed on the final. To finish with 85 instead, the three parts must make 85 points. Homework and midterm give 27 + 16 = 43, so the final must supply 42 points at a weight of 0.5: 42 ÷ 0.5 = 84.

The common mistake: averaging the averages. Buying 100 shares at $20 and 50 at $26 does not give an average of $23. The total is $2,000 + $1,300 = $3,300 for 150 shares, which is $22 a share: the cheaper lot counts twice as much.

Show Work

Enter values and weights to see the step-by-step working.

Formulas

Weighted average
x̄ = Σ wᵢxᵢ ÷ Σ wᵢ
With percentage weights
x̄ = Σ (pᵢ/100) xᵢ
when the pᵢ add to 100
Score needed
x = (target × Σw − Σ known wx) ÷ w
Plain mean
all wᵢ equal
Balance point
Σ wᵢ (xᵢ − x̄) = 0

Averages and Levers

A weighted average is the law of the lever in disguise. Archimedes showed in On the Equilibrium of Planes that weights on a beam balance where the sum of each weight times its distance is zero on both sides, the same equation that defines the weighted mean. The centre of mass of any object is a weighted average of the positions of its parts.

The same idea runs price indexes such as the Consumer Price Index, which weights each item by how much households spend on it, stock indexes weighted by company size, and every course grade built from percentages.

About This Calculator

This calculator takes up to 200 lines of values and weights in almost any layout, with optional names and percentage signs, and works exactly. It compares the weighted and plain averages, shows each item’s share, and solves for a missing value to reach a target, such as the score needed on a final exam.

Everything runs in your browser; nothing is sent anywhere.

Related calculators: Statistics Calculator, Percentage Calculator, and GPA Calculator.

Frequently Asked Questions

How do I calculate a weighted average?

Multiply each value by its weight, add the products, and divide by the total of the weights. For 90 (30%), 80 (20%) and 70 (50%): 90 × 30 + 80 × 20 + 70 × 50 = 7,800, and 7,800 ÷ 100 = 78. With weights 3, 2 and 5 the total weight is 10 and the answer is the same, 78.

Why is the weighted average different from the normal average?

The plain average treats every value as equally important: (90 + 80 + 70) ÷ 3 = 80. The weighted average gives the 70, worth half the grade, more pull, so it drops to 78. They are only equal when all the weights are the same.

What score do I need on my final?

Work out the total you need, subtract what you have, and divide by the final’s weight. To average 85 with 90 (30%) and 80 (20%) done and the final worth 50%: 85 × 100 = 8,500 needed, 90 × 30 + 80 × 20 = 4,300 earned, so (8,500 − 4,300) ÷ 50 = 84. Type ? for the final’s value to get this.

Do the weights have to add up to 100%?

No. Dividing by the total weight takes care of any scale: weights of 3, 2 and 5 give the same answer as 30%, 20% and 50%. If percentage weights add up to something other than 100%, for example because one assignment hasn’t been graded yet, the calculator says so and scales them.

How do I work out a GPA?

It is a weighted average with credit hours as the weights. An A (4.0) in a 3-credit course, a B (3.0) in a 4-credit course and an A− (3.7) in a 3-credit course give (4.0 × 3 + 3.0 × 4 + 3.7 × 3) ÷ 10 = 35.1 ÷ 10 = 3.51.

How do I use the Weighted Average Calculator?

Just type your numbers. The answer shows up right away — there is no button to press. Change anything and it updates by itself.

Is it free? Does it work without internet?

Yes to both. It is free with no sign-up, and once the page has loaded it keeps working even with no internet.

Where does my data go?

Nowhere — every calculation runs on your own device. Nothing you enter is uploaded, logged, or stored.

Common Use Cases

Course grades

90 (30%), 80 (20%), 70 (50%) average 78.

Final exam

To reach 85, you need 84 on a final worth 50%.

GPA

4.0 × 3 + 3.0 × 4 + 3.7 × 3 credits = a 3.51 GPA.

Average price

100 shares at $20 and 50 at $26 average $22, not $23.

Surveys

Ratings of 5 (12 votes), 4 (30) and 3 (8) average 4.08.

Last updated: