Suppose homework is 92% at weight 20%, quizzes 84% at 15%, a midterm 78% at 25%, and a project 90% at 10%. The entered weights total 70%, so the example must report both points earned toward the full course and a normalized average for graded work. Keeping those outputs separate prevents an unfinished course from looking like a failing 59.5% grade.

Calculate each row

The contributions are 92 × 0.20 = 18.4, 84 × 0.15 = 12.6, 78 × 0.25 = 19.5, and 90 × 0.10 = 9.0. Their sum is 59.5 course points. Because the input uses exact decimal arithmetic, every displayed row can be checked directly and no hidden binary rounding changes the sum.

Normalize over the 70% completed weight

Divide 59.5 by the entered weight as a decimal: 59.5 ÷ 0.70 = 85, displayed as 85%. The remaining weight is 30%. The normalized number describes performance on graded items; 59.5 describes points already earned toward the final course total. Future work changes the final course grade but does not retroactively change these row contributions.