The grade percentage is calculated by dividing the earned points by the total points possible. The formula is: Points earned / Points Possible, then that percentage is compared to the given scale. I added a custom scale option, and an option for plus and minus grades.