Problems / Weighted Average / Editorial
SUM(grade * credits)
SUM(credits)
A simple AVG() treats all values equally. A weighted average gives more influence to values with higher weights. This pattern appears in GPA calculations, portfolio returns, and blended metrics.
AVG()
weighted_avg = Σ(grade_i × credits_i) / Σ(credits_i)
Solve Weighted Average yourself →