total points of the semester you can earn 170 but i scored 140 what is my grade

140 / 170 = 0.82 = 82%

In some schools 82% is a B-; in others it's a C+.