How to calculate a weighted grade
Multiply each grade by its weight, add the results and divide by the sum of the weights: grade = (g1 × w1 + g2 × w2 + …) ÷ (w1 + w2 + …). Without weights it is a simple average: the sum of the grades divided by how many there are.
Example
Homework 85 (20%), midterm 92 (30%) and project 78 (20%): (85 × 20 + 92 × 30 + 78 × 20) ÷ 70 = 86.0.
What do I need on the final?
The score needed is: (target × total weight − points earned so far) ÷ weight of the final. With the grades above and a final worth 30%, to finish on 80 you need (80 × 100 − 6,020) ÷ 30 = 66.
If the result is above the maximum score, the target is out of reach with that exam alone; if it is zero or negative, you have already secured it.