How a midterm differs from a final
The arithmetic is identical, but the situation is not. A final is usually the last component, so "current grade" means everything else. A midterm sits in the middle of the course: work after it — homework, quizzes, the final itself — still has weight. For the cleanest estimate, enter your current grade on the work graded so far and treat the midterm's weight as its share of the whole course. The answer is then the midterm score that keeps you on pace for your target, assuming the remaining work comes in at the same level as your current grade.
If your course drops the lowest test score or lets the final replace the midterm, the picture changes: a weak midterm may cost less than the raw maths suggests. Check your syllabus for the policy, and use this calculator as the no-policy baseline.
Frequently asked questions
My midterm already happened. Can I work out what it did to my grade?
Yes — that is a forward calculation rather than a backwards one. The grade-after-the-exam calculator takes your grade before, the exam's weight and the score you got, and returns your new course grade.
The midterm is worth 20% but half the course is still ungraded. Is the answer exact?
It is exact for the question "what midterm score keeps my weighted average on target if everything else stays at my current level". It is an estimate of the future, not a promise — later work can move you either way.
What if my teacher weights the midterm as part of a test category?
Use the category's numbers instead: your average within the test category as the "current grade", the score you need within that category as the target, and the midterm's share of the category as the weight. The formula works at any level of the grade book.