How to Add Grade Formula to Gradebook
Back
 1. Go to the course page

2. Click the Grades button on the side bar.

3. Click the Setup tab.

4. Click the Edit dropdown of the Course Total.

5. Click Edit Calculation.

6. Add the IDs for the activities first so that you can use them in your calculation.
IMPORTANT NOTE: You cannot change the IDs you have given your activities once you have submitted them!

5. Click Add ID numbers to submit your activity IDs.

6. You can then use those IDs in your formula by enclosing them with double square brackets. The formula must also start with an equal sign ( = ). Here is a sample formula:
For more calculation functions, see Grade calculation in Moodle.

7. Click Save changes