Class Average Calculator Formula

Understand the math behind the class average calculator. Each variable explained with a worked example.

Formulas Used

Class Average

class_average = avg

Highest Score

highest = max(score1, max(score2, max(score3, max(score4, max(score5, score6)))))

Lowest Score

lowest = min(score1, min(score2, min(score3, min(score4, min(score5, score6)))))

Standard Deviation

std_dev = sqrt(variance)

Variables

VariableDescriptionDefault
score1Score 185
score2Score 272
score3Score 391
score4Score 468
score5Score 577
score6Score 688
totalDerived value= score1 + score2 + score3 + score4 + score5 + score6calculated
avgDerived value= total / 6calculated
varianceDerived value= (pow(score1 - avg, 2) + pow(score2 - avg, 2) + pow(score3 - avg, 2) + pow(score4 - avg, 2) + pow(score5 - avg, 2) + pow(score6 - avg, 2)) / 6calculated

How It Works

How to Calculate Class Average

The class average (mean) is the sum of all scores divided by the number of students.

Formula

Average = Sum of Scores / Number of Students

Standard Deviation = sqrt(Sum of (Score - Mean)^2 / N)

The standard deviation tells you how spread out the scores are. A smaller SD means students performed more uniformly.

Worked Example

Six student scores: 85, 72, 91, 68, 77, 88.

score1 = 85score2 = 72score3 = 91score4 = 68score5 = 77score6 = 88
  1. 01Total: 85 + 72 + 91 + 68 + 77 + 88 = 481
  2. 02Average: 481 / 6 = 80.2
  3. 03Highest: 91, Lowest: 68
  4. 04Variance: ((4.8^2 + 8.2^2 + 10.8^2 + 12.2^2 + 3.2^2 + 7.8^2) / 6) = 72.8
  5. 05Standard deviation: sqrt(72.8) = 8.53

Ready to run the numbers?

Open Class Average Calculator