# How to calculate GPA

Grade point average (GPA) calculation.

## GPA calculation

The GPA is calculated as a weighted average of the grades, when the number of credit/hours is the weight and the numeric grade is taken from the GPA table.

The GPA is equal to the sum of the product of the credit hours weight (w) times the grade (g):

*GPA* = *w*_{1}×*g*_{1}+* w*_{2}×*g*_{2}+* w*_{3}×*g*_{3
}+ ... + * w*_{n}×*g*_{n}

The credit hours weight (w_{i}) is equal to the credit hours of the class divided by the sum of the credit hours of all the classes:

*w*_{i}*= c*_{i} / (*c*_{1}*+c*_{2}*+c*_{3}*+...+c _{n}*)

## GPA table

Grade | Percentage Grade |
GPA |
---|---|---|

A | 94-100 | 4.0 |

A- | 90-93 | 3.7 |

B+ | 87-89 | 3.3 |

B | 84-86 | 3.0 |

B- | 80-83 | 2.7 |

C+ | 77-79 | 2.3 |

C | 74-76 | 2.0 |

C- | 70-73 | 1.7 |

D+ | 67-69 | 1.3 |

D | 64-66 | 1.0 |

D- | 60-63 | 0.7 |

F | 0-65 | 0 |

## GPA calculation example

2 credits class with A grade.

1 credits class with C grade.

1 credits class with C grade.

credits sum = 2+1+1 = 4

w1 = 2/4 = 0.5

w2 = 1/4 = 0.25

w3 = 1/4 = 0.25

g1 = 4

g2 = 2

g3 = 2

*GPA* = *w*_{1}×*g*_{1}+* w*_{2}×*g*_{2}+* w*_{3}×*g*_{3}
= 0.5×4+0.25×2+0.25×2 = 3