Calculate the arithmetic mean (average) of a data set.
Example answer3
This is the worked example that ships with the calculator. Replace the values above with your own and press Calculate.
Data Set
1, 2, 3, 4, 5
1FormulaFormulax̄ = Σxᵢ / n
n = 5
2Sum all valuesSubstituteΣxᵢ = [1.0000, 2.0000, 3.0000, 4.0000, 5.0000]
15.0000
3Divide by nSubstitute15.0000 / 5
3.0000
Free reference
Descriptive Statistics: the formulas
Descriptive statistics summarise a data set with a few numbers: where the values center, how far they spread, and how they are positioned. These are the formulas the calculators on this page apply.
Mean:xbar = sum(x_i) / n - The arithmetic average of a data set.
Sample Variance:s^2 = sum((x_i - xbar)^2) / (n - 1) - Average squared distance from the sample mean with Bessel correction.
Sample Standard Deviation:s = sqrt(s^2) - The square root of the sample variance, back in the original units of the data.
Sum of squared deviations.Σ(xᵢ - 5.5000)² gives 17.5000
Divide by n - 1 = 5.17.5000 / 5 gives 3.5000
Sample variance. gives s² = 3.5000
Take the square root.s = √s²√3.5000 gives 1.8708
Answer: 1.8708
A typical score sits about 1.87 points from the mean of 5.5, so the quiz results are moderately spread out.
Frequently asked questions
What is the difference between sample and population standard deviation?
The sample version divides the sum of squared deviations by n - 1 (the Bessel correction), while the population version divides by n. Use the sample formula whenever your data are a sample drawn from a larger population, which is the usual case in coursework.
When should I use the median instead of the mean?
Use the median when the data are skewed or contain outliers. The mean uses every value, so one extreme observation can pull it far from the bulk of the data, while the median only depends on the middle of the ordered list.
What does the standard deviation actually tell you?
It is the typical distance of an observation from the mean, expressed in the same units as the data. In the worked example above, scores typically fall about 1.87 points from the mean quiz score of 5.5.