A weighted average lets some values count more than others: a final exam worth 50% of the grade, a 4-credit course versus a 1-credit course, or the average price of shares bought at different prices.
How to use the Weighted Average Calculator
- Number of values
- Value 1
- Weight 1
- Value 2
- Weight 2
- Value 3
- Weight 3
- Value 4
- Weight 4
- Value 5
- Weight 5
- Value 6
- Weight 6
- Value 7
- Weight 7
- Value 8
- Weight 8
- Value 9
- Weight 9
- Value 10
- Weight 10
Results update as you type, and everything is calculated in your browser.
How it works
Each value is multiplied by its weight, the products are added and the total is divided by the sum of the weights. Weights need not add up to 1 or 100.
Inputs explained
| Field | What to enter |
|---|---|
| Number of values | Choose one: 2, 3, 4, 5 … |
| Value 1 | A number |
| Weight 1 | A number |
| Value 2 | A number |
| Weight 2 | A number |
| Value 3 | A number |
| Weight 3 | A number |
| Value 4 | A number |
| Weight 4 | A number |
| Value 5 | A number |
| Weight 5 | A number |
| Value 6 | A number |
| Weight 6 | A number |
| Value 7 | A number |
| Weight 7 | A number |
| Value 8 | A number |
| Weight 8 | A number |
| Value 9 | A number |
| Weight 9 | A number |
| Value 10 | A number |
| Weight 10 | A number |
Example values
How the main result changes when Value 1 changes and everything else stays at the example values above:
| Value 1 | Weighted average |
|---|---|
| 42.5 | 72.65 |
| 63.75 | 79.025 |
| 85 | 85.4 |
| 106.25 | 91.775 |
| 127.5 | 98.15 |
| 170 | 110.9 |
Formula
Weighted average = (w₁x₁ + w₂x₂ + … + wₙxₙ) ÷ (w₁ + w₂ + … + wₙ)
Worked example
Inputs: Number of values: 3; Value 1: 85; Weight 1: 30; Value 2: 72; Weight 2: 20; Value 3: 91; Weight 3: 50.
Results: Weighted average = 85.4; Sum of weights = 100; Simple average (for comparison) = 82.666667.
Key terms
- Weight
- How much a value counts towards the average.
Frequently asked questions
How do I calculate a weighted grade?
Multiply each score by its weight, add them and divide by the total weight.
Do the weights have to add up to 100?
No. The calculator divides by their sum.
Is a weighted average always between the smallest and largest values?
Yes, as long as the weights are non-negative.
When does it equal the simple average?
When all the weights are equal.
Sources
Guides on this topic
- How to Calculate GPA: Weighted, Unweighted and Cumulative (With Examples): The credit-weighted formula behind every GPA, worked through a real 15-credit semester, plus weighted vs unweighted scales and how fast a cumulative GPA can actually rise.