Class rank may be based on an unweighted GPA, which calculates a student's average grade out of a 4.0 scale, or a weighted GPA, which uses a 5.0 scale to take coursework difficulty into account.