To figure a grade-point average (GPA), the grade received in each course is subject to weighting, by multiplying it by the number of credit hours. Thus, a "B" (three grade points) in a four-credit class yields 12 "quality points". It is these which are added together, then divided by the total number of credits a student has taken, to get the GPA.