Calculate GPA from grades and credits
GPA is a weighted average of grade points. Courses with more credit hours affect the final GPA more than small-credit courses, so a proper GPA calculator multiplies every course grade by its credit value before averaging.
GPA = sum(grade points x credits) / sum(credits)
How to calculate GPA
Multiply each course grade point by its credit hours. Add those weighted grade points together. Then divide by the total credit hours attempted.