How is GPA calculated?
GPA is a credit-weighted average, not an average of your grades, and that one difference explains almost every surprise on a transcript. Here is the arithmetic, the weighted-scale trap, and the formula for what you need next term.