ok here goes: A's are worth 4 points, B's 3 points, C's 2 points and D's 1 point. Now take what you got and add it together, then divide that number by the number of classes you have.
Example:
Class1: B
Class2: C
Class3: A
Class4: D
TOTAL: 10 points/4 classes=2.5GPA