
One bad semester feels permanent. It isn’t, but the way back is arithmetic, not hope. This guide shows the sums, then the rules that decide how fast your number can change, quoted from real universities.
We are the engineering team at DoMyProgrammingHomework.io. We are not academic advisors. Your own registrar’s rules are the ones that count, so use this to know what to look up and what to ask.
How a GPA is calculated
The University of Florida’s catalog puts it in one line: “Averages are determined by computing the ratio of grade points to semester credits attempted.” In steps, from the same page: “Multiply grade value by the number of credits for total grade points.” Then divide by the credits.
| Grade | Points | Grade | Points |
|---|---|---|---|
| A | 4.00 | C | 2.00 |
| A- | 3.67 | C- | 1.67 |
| B+ | 3.33 | D+ | 1.33 |
| B | 3.00 | D | 1.00 |
| B- | 2.67 | D- | 0.67 |
| C+ | 2.33 | F | 0.00 |
An A+ is also worth 4.00 there. Scales differ. The University of Wisconsin–Madison, for one, says “plus and minus signs are not used.” Check your own registrar’s table before you calculate anything.
Why the number moves slowly
Every new grade is averaged with all the old ones. So the same good semester moves a first-year student’s GPA a long way and a senior’s hardly at all.
| Credits you already have | GPA before | GPA after |
|---|---|---|
| 15 | 2.30 | 2.90 |
| 30 | 2.30 | 2.70 |
| 60 | 2.30 | 2.54 |
| 90 | 2.30 | 2.47 |
This is our own arithmetic. With 30 credits at 2.3 you hold 69 grade points. Fifteen credits at 3.5 add 52.5. That is 121.5 points over 45 credits: 2.70.
Now turn it round. Pick a target and see what it asks of you.
| Credits you still have to take | Average grade needed across them |
|---|---|
| 15 | 4.4, which is not possible |
| 30 | 3.70 |
| 45 | 3.47 |
| 60 | 3.35 |
The formula is short. Multiply your target by your total credits at the end. Subtract the grade points you have now. Divide by the credits still to come.
A target can be out of reach for one term and realistic over four. Work this out before you promise yourself, or anyone else, a number.
Lever 1: retake a course, if the new grade replaces the old
This is the fastest way to move a GPA, where your university allows it. Compare the two kinds of rule on the same student: 30 credits, a 2.3, and an F in one 3-credit course. They retake it and earn a B.
| Rule | The sum | GPA after |
|---|---|---|
| The B replaces the F | 78 points over 30 credits | 2.60 |
| Both grades count | 78 points over 33 credits | 2.36 |
One course, the same work, and the result differs by a quarter of a grade point. So the first thing to find out is which rule you live under.
| University | Old grade in the GPA | Limits | On the transcript |
|---|---|---|---|
| Ohio State | Replaced, under the Grade Forgiveness Rule | “once per course on up to three courses”, by petition | Stays |
| Indiana Bloomington | Replaced: “Only the new grade counts toward your GPA.” | “up to 3 courses or 10 credits total” | Shown as an X |
| Arizona | Highest grade counts | First grade of C, D or E. No more than three attempts | Stays |
| Illinois | Replaced, under Campus Grade Replacement | Up to 4 courses and 10 hours. First grade of C- or lower. A form in the first half of the term | Stays |
| Georgia Tech | Excluded, under Grade Substitution | “up to two GT courses with posted letter grades of D or F” | Stays |
| UC Berkeley, Letters & Science | Replaced, for the first 12 units you repeat | First grade of D+ or lower, or no pass | Stays |
| Arizona State | Removed, if the course is repeated at ASU | A D or E “may be repeated only once” | Not stated |
| Purdue, College of Science | Replaced by the second enrollment | Up to three attempts at a course | Stays |
| Maryland | All attempts count, except a course first taken in your first semester or first 24 credits | “no more than 18 credits” repeated | Stays |
| Wisconsin–Madison | All attempts count | None stated | Stays |
| Texas A&M | “both grades will be used in computing the GPA” | None stated | Stays |
| Florida | Counted “as many times as grades for that course are recorded” | No repeat after a C or higher | Not stated |
Four warnings from these pages.
- The new grade can replace a better one. At Berkeley the second grade goes in “regardless of which grade is higher”. Purdue’s engineering guide says: “If a student fails the course in their most recent attempt, even if they passed it earlier, they will no longer receive credit for that course.”
- It is often not automatic. Ohio State needs a petition, Illinois a form, Georgia Tech an application, each with a deadline. Arizona is the exception: “Undergraduate students do not need to apply.”
- It usually has to be the same university. Ohio State: “both the first and second attempts must be taken at Ohio State”. Georgia Tech says the same of its own courses.
- Other schools may undo it. Ohio State: “Some graduate or professional schools may recalculate your GPA to include the original grade.” Berkeley: “Law schools and medical schools will calculate all attempts of a repeat into your admissions GPA.”
Where every attempt counts, a retake still helps. It adds a good grade and gives you the credit. It just can’t erase the old one. Wisconsin is plain about it: “Repeating a failed course does not remove the earlier failure from the student’s record or from their cumulative GPA.”
Lever 2: new credits with better grades
This is the lever everyone has. Each course you finish with a grade above your current average pulls the average up.
Berkeley’s advisers suggest choosing with care: “Focusing on taking new classes that you feel confident in is another strong strategy to improve your GPA.” That is not the same as hiding from your degree. It means not stacking your three hardest requirements into the term you most need to go well.
What will not raise your GPA
It is tempting to plan around these three. At the universities we read, none of them moves the number up.
Pass/fail courses. A pass earns credit and no grade points. Ohio State says of its pass and no-pass marks: “Neither mark is included in your GPA.” Florida: grades under its S/U option “are not computed in the University of Florida grade point average.” Berkeley: “Pass grades will earn units but the course will not be calculated into your cumulative UC Berkeley GPA.” One trap: at Texas A&M an unsatisfactory grade is counted “as an F”.
Courses at another college. A summer course at a community college can earn the credit. It usually can’t lift the GPA. Georgia Tech: “Georgia Tech transfers credits, not grades. Grades for courses completed at other institutions are not calculated into the Georgia Tech GPA.” Wisconsin: “The UW-Madison GPA is based solely upon credits earned or attempted at UW-Madison.” Not every transcript works that way. Illinois also shows an overall GPA that combines its own courses with transfer courses.
Withdrawing. A W protects your GPA from a bad grade. It doesn’t raise it. Ohio State: “A W is not calculated into your GPA”. We compared the costs in withdraw from a class or fail it.
One more to watch: an unfinished Incomplete. At Berkeley, “the grade will automatically lapse to an F”. At Florida, after 150 days “it will be counted as a failing grade”. If you have one open, finishing it may be the best thing you can do for your GPA this month.
A plan for the next term
- Get the real numbersYour credits, your grade points and your registrar’s grade scale. Then work out the average you need, using the formula above.
- Read your repeat ruleSearch your registrar’s site for “repeat” or “grade replacement”. Note the limit and the deadline.
- See your advisor earlyEast Carolina University’s advising office suggests you “discuss taking a lighter course load, possible grade replacements,” and which courses to schedule.
- Use office hours before the first testThe same page: “Reach out early in the semester (even before your first test).”
- Plan each week on SundayIts advice in full: “EVERY Sunday night, review each syllabus and create a plan for the upcoming week.”
- Go to class“Attend class even if there is not an attendance policy.”
Berkeley adds a point about retakes that applies to the whole term: “it’s valuable to assess what factors led to difficulty in the first attempt and make an action plan for how you’ll approach the course differently in the second attempt”.
If your GPA has dropped below 2.0, there are deadlines attached. See academic probation: what it means and how to get off it. For what a failed course does to aid and to the courses that follow, see what happens if you fail a class in college.
In programming courses
Three habits matter more here than in most subjects. These come from our work with students, not from a study.
- Find where the marks are. Read the syllabus for the weight of each part. A single project can be worth more than several quizzes, and exams often outweigh both. We compared 16 courses in how introductory programming courses are graded.
- Start the day it is released. Programming work takes an unpredictable number of hours. An early start is the difference between a bug you fix on Tuesday and one you meet at 2 am.
- Test the way the grader does. Code that runs on your laptop can still lose marks. See why code works locally but fails the autograder.
If you are short of time on one assignment, ask before the deadline. We wrote the email in how to ask for an extension on an assignment.
When one assignment is in the way
We can’t raise a GPA, and we don’t promise grades. Nobody honestly can. What we can do is help with one assignment that is stuck. Send it to us. A senior engineer writes or fixes it, tests it and explains the code line by line, so you understand what you hand in.
See programming assignment help, data structures homework help and debug my code. Typical prices are in our price guide.
Questions students ask
How can I raise my GPA quickly?
The fastest way is to retake a course with a low grade at a university where the new grade replaces the old one. Ohio State, Indiana, Illinois and Georgia Tech all allow that for a limited number of courses. Otherwise a GPA rises only as you add new credits with better grades, which is slower the more credits you have.
How much can one semester raise my GPA?
It depends on how many credits you already have. By our arithmetic, a 15-credit semester at 3.5 lifts a 2.3 GPA to 2.90 if you had 15 credits before, to 2.70 with 30 credits, to 2.54 with 60 credits and to 2.47 with 90 credits.
Does retaking a class raise your GPA?
Yes, but by how much depends on your university. Where the new grade replaces the old one, as at Ohio State or Illinois, the low grade leaves the calculation. Where every attempt counts, as at Wisconsin–Madison, Texas A&M and Florida, the new grade is averaged in and the old one stays.
Do pass/fail classes raise your GPA?
No. A passed pass/fail course earns credit without grade points. Ohio State says neither its pass nor its no-pass mark is included in the GPA, and UC Berkeley says pass grades earn units but are not calculated into the cumulative GPA.
Do community college classes raise your university GPA?
Usually not. Georgia Tech says it transfers credits, not grades, and that grades from other institutions are not calculated into its GPA. Wisconsin–Madison says its GPA is based solely on credits earned or attempted there. Check your own registrar, because some transcripts also show a combined figure.
Can I raise my GPA from 2.0 to 3.0?
It depends on how far along you are. By our arithmetic, a student with a 2.0 after 30 credits needs to average about 3.33 over the next 90 credits to graduate at 3.0 with 120. A student with a 2.0 after 60 credits would need a 4.0 in every remaining course.
Does a W lower your GPA?
At the universities we read, no. Ohio State says a W is not calculated into the GPA, and Texas A&M lists it as hours not included in the GPA calculation. It does not raise the GPA either, and it still appears on your record.
Sources
- Ohio State: grades and grade forgiveness
- Indiana University Bloomington: X grade replacement
- University of Arizona registrar: repeating a course
- University of Illinois: Student Code 3-309, explanation of grades and calculate your GPA
- Georgia Tech catalog: grade substitution and transfer credit
- UC Berkeley, Letters & Science advising: repeating courses, incomplete grades and options if you are struggling
- Arizona State University registrar: grades
- Purdue: College of Science GPA calculator, its course repeat policy and the electrical and computer engineering student guide
- University of Maryland registrar: course repeats
- University of Wisconsin–Madison: student grading and GPA and retaking a course
- Texas A&M catalog: grading system
- University of Florida catalog: grades and grading policies
- East Carolina University advising: getting back on track
We read these pages in November 2026. Several cover one college inside a university, so check the rule for your own. The University of Michigan’s pages would not load and are not quoted. Every GPA example is our own arithmetic.
Upload the prompt and see a predicted budget in under a minute. A senior engineer confirms the final price.


