Statistics & Probability

Sample Variance

Variance of a sample (n−1).

Formula

Formula
s2 = Σ (xi − x̄)2n−1

Variables

SymbolDefinitionType & rangeUnitsRole
sample mean computed result result
n sample size computed result result

Try it yourself

Interactive calculator
comma or space separated numbers
Result

Worked examples

Example 1
Givendata = 4, 8, 15, 16, 23, 42
Result182
Example 2
Givendata = 2, 4, 6
Result4