Pooled standard deviation combines the sample variances of independent groups into one estimate of within-group spread. This pooled standard deviation calculator takes raw observations, each group's sample size and standard deviation, or the within-group sum of squares and degrees of freedom from an ANOVA table. It accepts two or more independent groups of different sizes, and the pooled SD calculator reports pooled variance, degrees of freedom and every calculation step alongside the result.
Pooled standard deviation formula
For k independent groups, pooled variance adds every group's sum of squared deviations and divides by the total degrees of freedom. The pooled standard deviation is the square root of that value.
Pooled variance formula
sp² = Σ[(ni − 1)si²] / (N − k)
Pooled SD formula
sp = √{ Σ[(ni − 1)si²] / (N − k) }
Here ni is the sample size of group i, si is its sample standard deviation (n − 1 divisor), N is the total sample size across all groups, k is the number of groups and N − k is the pooled degrees of freedom.
Pooled standard deviation for two samples
With two groups the formula becomes:
sp = √{ [(n1 − 1)s1² + (n2 − 1)s2²] / (n1 + n2 − 2) }
This is the general formula with k = 2, so the degrees of freedom are n1 + n2 − 2.
Why variances are weighted by degrees of freedom
Multiplying a group's variance by ni − 1 undoes the division in the variance formula and returns that group's sum of squared deviations from its own mean. Pooling adds those sums and divides by the total degrees of freedom, so every squared deviation counts once. A group of 20 observations adds 19 degrees of freedom and a group of 4 adds 3, so the larger group has more influence on the result. Averaging the standard deviations directly would give every group the same weight whatever its size.
How to calculate pooled standard deviation
This example uses the calculator's demo data. Group 1 is 12, 15, 14, 13, 16 and Group 2 is 18, 20, 19, 22, 17, 21, so the sample sizes are 5 and 6.
- Identify each group's sample size and sample standard deviation. Group 1 has n1 = 5 and mean 14, and its squared deviations add up to 10, so s1 = √(10 / 4) = 1.5811. Group 2 has n2 = 6 and mean 19.5, and its squared deviations add up to 17.5, so s2 = √(17.5 / 5) = 1.8708. To calculate sample standard deviation for your own groups, divide by n − 1.
- Square each standard deviation to get the variances: s1² = 2.5 and s2² = 3.5.
- Multiply each variance by its degrees of freedom: 4 × 2.5 = 10 and 5 × 3.5 = 17.5.
- Add the weighted variances: 10 + 17.5 = 27.5.
- Find the total degrees of freedom: N − k = 11 − 2 = 9.
- Divide to get the pooled variance: 27.5 / 9 = 3.0556.
- Take the square root: sp = √3.0556 = 1.7480.
Entering the same two groups in the calculator returns sp = 1.748, sp² = 3.0556 and 9 degrees of freedom. It shows 1.748 because it drops trailing zeros. Averaging the two standard deviations gives 1.7260, which is lower because it ignores that Group 2 has more observations and the larger variance.
Understanding pooled standard deviation
The pooled standard deviation estimates the spread inside the groups, on the assumption that all of them share one population variance. It uses each group's deviations from its own mean, so differences between the group means do not enter it. That is why it differs from the standard deviation of all values stacked into one list. For the demo data, the stacked list of 11 values has a standard deviation of 3.3166, nearly twice the pooled 1.7480, because the stacked list includes the 5.5-point gap between the two group means.
Sample sizes matter because each variance is weighted by ni − 1. When every group has the same size, the pooled variance is the plain average of the group variances. With unequal sizes it leans toward the larger groups, and the pooled SD always lands between the smallest and the largest group SD.
Pooling is useful when the groups are independent samples that plausibly share the same variability and you want one estimate of it with more degrees of freedom behind it than any single group has. It does not suit every dataset. Paired or otherwise dependent observations break the independence requirement, and groups with clearly different variances should not be forced into one estimate.
When to use pooled standard deviation
- Comparing two independent groups with an equal-variance t-test. The standard error of the mean difference is sp × √(1/n1 + 1/n2), which is the value this calculator reports for two groups. The t-test calculator runs the full test.
- Cohen's d and Hedges' g. Both divide the difference between two means by sp. The effect size calculator covers more effect-size measures.
- One-way ANOVA. The within-group mean square, MSwithin, is the pooled variance, so its square root is the pooled SD. You can run the test with the one-way ANOVA calculator.
- Experiments and research studies with several conditions. A pooled SD summarizes within-group variability in one figure when the conditions can reasonably be assumed to vary equally.
Equal variance assumption
Pooling treats every group as a sample from a population with the same variance, so each si² estimates one shared σ². When the true variances differ a lot, the pooled value describes none of the groups well, and an equal-variance t-test or ANOVA built on it can mislead.
The calculator lists the smallest and largest group variance and their ratio as a descriptive check. No ratio works as a universal cutoff, so read it together with the group sizes, the study design and what you know about the measurements.
Levene's test is a formal check that compares absolute deviations from each group's center. The Brown-Forsythe version uses group medians and is less sensitive to skewed data. A non-significant result does not prove the variances are equal, particularly with small samples, where these tests have little power. When the variances look different or the equal-variance assumption is hard to defend, Welch's t-test and Welch's ANOVA are the usual alternatives because they do not pool the variances. Some analysts skip the pre-test and use Welch's method directly.
Related statistical measures
Pooled standard deviation vs standard deviation
The standard deviation of a single list is the spread of those values around their own mean. Pooled SD carries that idea across several lists at once. For the standard deviation and variance of one group, use the standard deviation calculator.
Pooled standard deviation vs pooled variance
Pooling happens on the variance scale, because variances from independent groups combine by weighted averaging. The final square root returns the result to the units of the data. The calculator works as a pooled variance calculator too, since it reports sp² next to sp.
Pooled standard deviation vs combined standard deviation
Sources use combined standard deviation for two different things: the pooled estimate, or the standard deviation of all observations merged into one data set. The two answers differ, so check which formula a source applies before comparing numbers.
Pooled standard deviation vs Welch's method
The pooled approach estimates a single common variance. Welch's t-test and Welch's ANOVA keep each group's variance separate and adjust the degrees of freedom, so they produce no pooled SD.