Mean Calculator Formula

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

Formulas Used

Mean

mean = (a + b + c + d) / 4

Sum

sum = a + b + c + d

Range

range = max(max(a, b), max(c, d)) - min(min(a, b), min(c, d))

Variables

VariableDescriptionDefault
aValue 112
bValue 218
cValue 324
dValue 430
mean_valDerived value= (a + b + c + d) / 4calculated

How It Works

How to Calculate the Mean

Formula

Mean = (x₁ + x₂ + x₃ + ... + xₙ) / n

The arithmetic mean is the most common type of average. Add all values together and divide by the number of values.

Worked Example

Find the mean of 12, 18, 24, and 30.

a = 12b = 18c = 24d = 30
  1. 01Sum = 12 + 18 + 24 + 30 = 84
  2. 02Count = 4
  3. 03Mean = 84 / 4 = 21

Ready to run the numbers?

Open Mean Calculator