Grade (%) = (Total Points Earned / Total Possible Points) * 100
For example:
* Total Points Earned: 85
* Total Possible Points: 100
Grade (%) = (85 / 100) * 100 = 85%
Different courses will weigh assignments differently. For example, a course might have:
* Homework (20% of grade)
* Midterm Exam (30% of grade)
* Final Exam (50% of grade)
In this case, you'd need to calculate the weighted average:
(Homework Score * 0.20) + (Midterm Score * 0.30) + (Final Score * 0.50) = Final Grade (%)
So the "formula" is adaptable to the specific weighting scheme of the course. You always need the points earned and the total possible points, but how those points are combined depends on the course's grading system.