education
What Do I Need on My Final? The Formula, Plus Weighted GPA Math
The final exam formula is (target − current × (1 − w)) ÷ w. Worked examples, why weights must add to 100, how dropped scores shift it, and how GPA points work.
It’s the week before finals. You have an 87 in the class, the final is worth 25%, and you want to know whether an A− is still possible. The score you need on a final is one line of algebra: needed = (target − current × (1 − w)) ÷ w, where w is the final’s weight as a fraction. Everything else (a result over 100%, a negative result, weights that don’t add up, dropped quizzes) comes from what goes into that line. Below we derive it, work through real numbers, and then do the same for GPA: letter points, the weighted bonus, cumulative GPA, and the “what do I need next semester” solver.
Every number in this post comes from running the code behind our grade calculator and GPA calculator. Both run entirely in your browser.
Deriving the final exam formula
Your end-of-term grade is a weighted average of two parts: everything before the final, and the final itself. If the final is worth w (25% means w = 0.25), everything else is worth 1 − w:
course grade = current × (1 − w) + final × w
Set the course grade to the target and solve for the final:
final needed = (target − current × (1 − w)) / w
Our tool uses exactly this line in finalNeeded().
Worked example 1. Current 87, final worth 25%, target 90:
(90 − 87 × 0.75) / 0.25 = (90 − 65.25) / 0.25 = 24.75 / 0.25 = 99
You need a 99. Possible, but only just.
Worked example 2. Same 87 and the same 90 target, but the final is worth 40%:
(90 − 87 × 0.60) / 0.40 = (90 − 52.2) / 0.40 = 94.5
A heavier final means you need less on it, because your 87 is below the target and a bigger final gives you more room to pull the average up. If you were above your target, a heavier final gives you more room to lose it.
Your floor and your ceiling
Before solving for any target, it helps to plug in the two extremes. With an 87 and a 25% final:
| Final score | Course grade |
|---|---|
| 0 | 87 × 0.75 = 65.25 |
| 100 | 65.25 + 25 = 90.25 |
Every outcome lies between those two numbers. A target above 90.25 needs more than 100%, and one at or below 65.25 is already safe. Those are the two edge cases the formula produces:
- Needed > 100%: the target is out of reach unless the final offers extra credit. Our calculator shows the number anyway and adds “above 100%, so not reachable without extra credit.”
- Needed ≤ 0%: even a zero on the final keeps you at the target. The tool says “You’ve already locked in…”. It’s the same division, just with a negative result.
Our grade calculator builds this table for every letter on its scale; here’s part of it for the 87 / 25% case:
| For a… | Need on final |
|---|---|
| A+ (97%) | 127% (not reachable) |
| A (93%) | 111% (not reachable) |
| A− (90%) | 99% |
| B+ (87%) | 87% |
| B (83%) | 71% |
| B− (80%) | 59% |
| C (73%) | 31% |
| D (63%) | Locked in |
Note the B+ row: to keep the grade you have, you need that same score on the final, at any weight.
The default cut-offs (97/93/90/87/83/80…) are a 10-point plus/minus scale. If your syllabus uses different ones, edit the scale in our tool and the table updates.
Where “current” comes from: weighted categories vs total points
The formula is only as good as the current you give it. Syllabi compute that number in one of two ways, and they can give different answers for the same scores.
Total points. Add up every point you’ve earned and divide by every point possible. Miami University’s teaching center describes the Canvas version: 879 earned out of 1,019 possible is 86.26%. Here, a category’s influence depends on how many points are assigned to it.
Weighted categories. Each category gets a fixed share of the grade (“Discussions 25%, Labs 15%, Papers 35%, and Exams 25%” in the same Miami example). Within each category you compute a percentage, then weight it.
Same student, both methods. Homework is 180/200 (90%) and exams are 140/200 (70%):
| Method | Calculation | Grade |
|---|---|---|
| Total points | 320 / 400 | 80% |
| Weighted, homework 20% / exams 80% | 0.2 × 90 + 0.8 × 70 | 74% |
Six points apart, from identical scores, so check which method your syllabus uses.
Our grade calculator does weighted categories. Within each category it pools points (total earned ÷ total possible), which is how the Miami page says Canvas computes a group’s percentage. You type scores as 18/20, 45/50, or a bare 92 / 92%, and a bare number counts as 92 out of 100. That matters when you mix formats. 18/20, 92 pools to 110/120 = 91.67%, not the 91% you’d get by averaging 90 and 92, because the 92 carries five times the points of the 18/20. If every item in a category is out of 20, type them all as fractions. If your course uses a single category with no weights, enter one row with weight 100 and every score in it, and you get plain total points.
Mid-semester grades and empty categories
Before the final, the final exam category has no scores. If it counted as zero, your “current grade” would be terrible and meaningless. So our tool, like most gradebooks, averages only over the categories that have scores and rescales their weights to fill the whole. Here’s the calculator’s own default example, which lists three categories and puts the final’s 30% in the separate final-exam box (an empty “Final” category row with weight 30 gives the same result):
| Category | Weight | Scores | Category % | Adds |
|---|---|---|---|---|
| Homework | 20 | 18/20, 19/20, 15/20 | 86.67 | 17.33 pts |
| Quizzes | 20 | 85%, 78%, 92% | 85.00 | 17.00 pts |
| Midterm | 30 | 74/100 | 74.00 | 22.20 pts |
That’s 56.53 points out of the 70% that has been graded, so the current grade is 56.53 ÷ 0.70 = 80.76%. This is the number the final-exam section uses as current, which is correct, because the formula’s (1 − w) term is exactly that 70%.
Miami’s page notes the flip side: under weighted grading, “final grades are inaccurate until all the items in the category are graded.”
The weights-don’t-add-to-100 trap
A typo in the weights quietly changes everything. Type the quizzes as 25 instead of 20, and the syllabus now totals 105 (75 across the categories plus the final’s 30). The current grade becomes 81.04% instead of 80.76%, and nothing looks wrong unless something tells you.
Our calculator does. When the category weights don’t total 100%, and the category weights plus the final exam weight don’t either, it shows “Category weights add to 75% (105% with the final) — they should total 100%.” It accepts both ways of setting up a syllabus: list the final as its own (empty) category, or leave it out and give its weight only in the final-exam box. It warns only when neither adds up.
How dropping the lowest score changes the math
Many courses drop your lowest quiz or homework. Canvas has this built in as an assignment-group rule, drop_lowest, the “Number of lowest scores to be dropped for each user”. Our grade calculator does not have a drop-lowest option. To model it, delete the score you expect to be dropped from that category’s list.
The effect can be big. Five quizzes out of 10, scored 6, 9, 10, 8, 3:
all five: 36 / 50 = 72.0%
drop the 3: 33 / 40 = 82.5%
With pooled points there’s a subtlety: the lowest percentage isn’t always the score whose removal helps most. Take a category with 45/50 (90%), 1/2 (50%), and 30/50 (60%):
keep all three: 76 / 102 = 74.51%
drop 1/2 (50%): 75 / 100 = 75.00%
drop 30/50 (60%): 46 / 52 = 88.46%
The 2-point item has the lowest percentage but barely moves the total. Whether your gradebook drops by percentage, by points, or whichever helps you most is a question for your syllabus, so run both versions.
GPA: letters become points
A course grade becomes a GPA by converting each letter to grade points, multiplying by the course’s credits to get “quality points,” and dividing total quality points by total credits. Indiana University’s registrar publishes the plus/minus table our GPA calculator uses:
| Letter | A+ | A | A− | B+ | B | B− | C+ | C | C− | D+ | D | D− | F |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Points | 4.0 | 4.0 | 3.7 | 3.3 | 3.0 | 2.7 | 2.3 | 2.0 | 1.7 | 1.3 | 1.0 | 0.7 | 0.0 |
Not every school rounds like this. Portland State, for one, uses 3.67 for an A− and 3.33 for a B+, and says its GPA is “truncated at two decimal points (i.e. rounding up is not used).” College Board’s BigFuture page on converting to a 4.0 scale shows only whole letters (A 4.0, B 3.0, C 2.0, D 1.0) and divides by the number of classes rather than credits. If your transcript is off from our number by a few hundredths, the table is usually why.
A+ = 4.3. Some schools give an A+ more than an A. Arizona State values an A+ at 4.33, but its registrar adds: “the cumulative GPA is capped at 4.00.” Our tool has a “My school counts A+ as 4.3” checkbox, which uses 4.3 (not 4.33) and doesn’t apply any cap. For A+ (3 credits), A− (4 credits), and B (3 credits), the unweighted GPA is 3.58 on the default scale and 3.67 with the box ticked.
Percent grades. You can type 92 instead of a letter, and the tool converts it with the same 10-point plus/minus scale. It does not round: 92.99 is an A− and 89.9 is a B+. If your school rounds 89.5 up to an A−, type the letter instead.
Weighted GPA: +0.5 honors, +1.0 AP/IB (usually)
A weighted GPA adds a bonus for harder courses. BigFuture only says that “some schools also use a weighted GPA system, where courses like AP and honors classes are assigned higher GPA points,” and warns that colleges may “adjust or remove weighting assigned to AP or honors to standardize GPAs across applicants.” There’s no national standard. Our calculator uses the most common convention: +0.5 for honors, +1.0 for AP/IB, which makes 5.0 the weighted maximum.
The University of California shows how much schools differ. Its GPA rules give “an extra point for each semester of a UC honors-level course, with a maximum of 8 points between 10th and 11th grades,” say “pluses and minuses don’t count,” and say “grades of D or F in an honors course do not earn an extra point.” Our tool doesn’t add the bonus to an F, but it does add it to a D, so a D− in an AP class counts as 1.7 weighted. That’s the common high-school convention, but it isn’t UC’s.
The calculator’s starting example shows unweighted and weighted side by side:
| Course | Grade | Credits | Level | Unweighted | Weighted |
|---|---|---|---|---|---|
| English | A | 3 | Regular | 4.0 | 4.0 |
| Chemistry | B+ | 4 | Honors | 3.3 | 3.8 |
| History | 88 → B+ | 3 | AP | 3.3 | 4.3 |
| GPA | 10 | 3.51 | 4.01 |
(35.1 quality points ÷ 10 credits, and 40.1 ÷ 10.) Grades like P, W, I, NC, S, and U carry no points and are skipped; Indiana likewise leaves P and S grades out of GPA hours.
Cumulative GPA and the target solver
To fold a new term into an existing GPA, turn the old GPA back into quality points. A 3.2 over 60 credits is 192 points. Add a 3.8 term over 15 credits (57 points):
(192 + 57) / (60 + 15) = 249 / 75 = 3.32
A strong semester moved it by only 0.12, because 60 old credits outweigh 15 new ones. The target solver runs the same arithmetic in reverse:
needed = (target × (credits so far + credits left) − quality points so far) / credits left
Starting from 3.2 over 60 credits, aiming for a 3.5:
| Credits left | GPA needed | Verdict |
|---|---|---|
| 15 | 4.70 | Not reachable on a 4.0 scale |
| 30 | 4.10 | Not reachable on a 4.0 scale |
| 60 | 3.80 | Doable |
This is the GPA version of the ”> 100%” result. When the answer goes above the scale maximum (4.0, 4.3 with the A+ box, or one point higher on the weighted scale), our tool says the target isn’t reachable in that many credits. An answer of zero or below means you’ll stay above the target with no grade points at all.
One input quirk to know about
In the grade calculator, the scores box treats commas as separators. So 92,5 (92.5 written with a decimal comma) is read as two scores, 92 and 5, and the category average drops sharply. The weight boxes do accept 12,5 as 12.5. In the GPA calculator, 92,5 in the grade box is rejected with “Use a letter (A-, B+) or a percent (92).” In both tools, use a period for decimals in scores and grades.
Doing it for your own class
Enter your syllabus categories, weights, and scores in the grade calculator, fix any weight warning first, then read the needed-on-final score for every letter at once (remove a score to model a drop). When grades post, the GPA calculator turns them into semester and cumulative GPA. For a one-off “what percent is 43 out of 55,” the percentage calculator is quicker, and percentage points vs percent change explains why going from 80% to 88% is up 8 points but up 10 percent.