Use the weights that define your grading system
Each row contains a score and its weight. Weights may represent course credits, percentages or another positive weighting scheme and do not need to total 100.
Check institutional GPA rules separately
This is a mathematical weighted mean. It does not apply university-specific rounding, pass/fail, grade-point conversion or repeated-course policies automatically.