Calculator: Pooled sample variance

Enter the labelled inputs to calculate: Variance sp²; Standard deviation sp; Count df.

Variance sp²
4
Standard deviation sp
2
Count df
18

How the calculation works

sp²=[(n₁−1)s₁²+(n₂−1)s₂²]/(n₁+n₂−2)

Paired lists must have equal lengths. Variances use sample standard deviations where labelled. Probabilities must be nonnegative and sum to one; information is in bits, with zero-mass terms omitted. Pearson statistics use no continuity correction. Wilson uses the supplied normal critical value z.

Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.

Frequently asked questions

How is the result calculated?

sp²=[(n₁−1)s₁²+(n₂−1)s₂²]/(n₁+n₂−2)

What assumptions apply?

Paired lists must have equal lengths. Variances use sample standard deviations where labelled. Probabilities must be nonnegative and sum to one; information is in bits, with zero-mass terms omitted. Pearson statistics use no continuity correction. Wilson uses the supplied normal critical value z.

How precise are the displayed results?

Numerical results show up to ten significant digits. Rounding does not improve the accuracy of the input measurements or the model. Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.

How we verified this calculator

The calculator is checked against 3 reference cases computed independently of its code. Last passed: .

# Inputs Expected result
1
Count n₁ = 20
Count n₂ = 20
Standard deviation s₁ = 2
Standard deviation s₂ = 2
Variance sp²: 4
Standard deviation sp: 2
Count df: 38
2
Count n₁ = 30
Count n₂ = 25
Standard deviation s₁ = 4.5
Standard deviation s₂ = 5.2
Variance sp²: 23.32471698
Standard deviation sp: 4.829566956
Count df: 53
3
Count n₁ = 12
Count n₂ = 15
Standard deviation s₁ = 1.2
Standard deviation s₂ = 0.8
Variance sp²: 0.992
Standard deviation sp: 0.9959919678
Count df: 25

How we test our calculators →

Also try:

Back to category →