How to use the pooled standard deviation calculator

Use this pooled standard deviation calculator to get pooled SD, pooled variance and degrees of freedom from raw data, group summaries or ANOVA results in six steps.

  1. 1. Choose the input method: Select Raw data, Summary (n & s) or ANOVA (SSwithin).
  2. 2. Enter the observations or group statistics: In Raw data mode, paste each group's observations. In Summary mode, enter each group's n and sample standard deviation s, plus the mean if you want Cohen's d and Hedges' g. In ANOVA mode, enter SSwithin and dfWithin.
  3. 3. Add more groups: In Raw data and Summary modes, use + Add group for each extra group. At least two groups are needed, and you can add up to 12.
  4. 4. Check each group: Every group needs at least two observations, or n of 2 or more in Summary mode, and a standard deviation of zero or higher. An error message appears under Settings if something is invalid.
  5. 5. Read the results: The pooled standard deviation appears first, followed by pooled variance, degrees of freedom, N and k. Change Display precision to show 2 to 8 decimal places.
  6. 6. Review the steps and variance comparison: Open How this was calculated to follow each step with your numbers. The group table and the smallest, largest and ratio of group variances show whether the groups look similar enough to pool.

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.

  1. 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.
  2. Square each standard deviation to get the variances: s1² = 2.5 and s2² = 3.5.
  3. Multiply each variance by its degrees of freedom: 4 × 2.5 = 10 and 5 × 3.5 = 17.5.
  4. Add the weighted variances: 10 + 17.5 = 27.5.
  5. Find the total degrees of freedom: N − k = 11 − 2 = 9.
  6. Divide to get the pooled variance: 27.5 / 9 = 3.0556.
  7. 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.

Pooled Standard Deviation Calculator – Formula & Steps

Frequently Asked Questions

Q: What is pooled standard deviation?

A single standard deviation that stands in for several independent groups assumed to share one population variance. It estimates that shared spread in the same units as the data.

Q: What is the formula for pooled standard deviation?

sp = √{Σ[(ni − 1)si²] / (N − k)}, where ni and si are each group's size and sample SD, N is the total sample size and k is the number of groups. Squaring it gives the pooled variance.

Q: How do you calculate pooled standard deviation for two groups?

Add (n1 − 1)s1² and (n2 − 1)s2², divide by n1 + n2 − 2, then take the square root. The worked example above runs these steps for groups of 5 and 6.

Q: Can pooled standard deviation be calculated for more than two groups?

Yes. Each extra group adds one (ni − 1)si² term to the numerator and ni − 1 to the degrees of freedom. The calculator accepts up to 12 groups in Raw data and Summary modes.

Q: Can groups have unequal sample sizes?

Yes, the formula has no equal-n requirement. Each group needs at least two observations so that it has a sample standard deviation, and groups of different sizes simply carry different weights.

Q: What is the difference between pooled variance and pooled standard deviation?

Pooled variance is the weighted average of the group variances, Σ[(ni − 1)si²] / (N − k). The pooled SD is its square root. Report the SD to stay in the units of the data and the variance when you need to combine variances further.

Q: Why are sample variances weighted by their degrees of freedom?

A variance based on more observations estimates the common variance more precisely, and ni − 1 measures how much independent information each group supplies. Weighting by it gives the more reliable estimates more say.

Q: Is pooled standard deviation the same as combined standard deviation?

Not necessarily. The standard deviation of all merged observations adds a between-group term, Σni(mi − m)², to the numerator and divides by N − 1, where m is the grand mean. The pooled SD has only the within-group sum and divides by N − k. Some sources use "combined" loosely for the pooled estimate.

Q: What assumptions are required for pooled standard deviation?

Independent groups, independent observations within each group and one common population variance. Tests, confidence intervals and effect sizes built on the pooled estimate usually also assume roughly normal data within each group. The pooled SD itself can be computed without normality.

Q: What happens when group variances are unequal?

The pooled SD falls between the group SDs and describes none of them well. In an equal-variance t-test the error rate can drift from its nominal level: results tend to be too liberal when the smaller group has the larger variance and too conservative when the larger group does.

Q: Can pooled standard deviation be calculated from summary statistics?

Yes. Each group's n and sample SD are enough, because (n − 1)s² rebuilds its sum of squares. Means are optional and only feed Cohen's d and Hedges' g for exactly two groups. If you only have population SDs, multiply each by √(n / (n − 1)) first.

Q: How is pooled standard deviation related to Cohen's d?

Cohen's d = (m1 − m2) / sp, so the pooled SD is its standardizer. For the demo data, (14 − 19.5) / 1.7480 = −3.1464, and Hedges' g after the small-sample correction is −2.8767. The sign is negative because the calculator subtracts the second mean from the first.

Q: Can pooled standard deviation be calculated from ANOVA results?

Yes. In ANOVA mode, enter SSwithin and dfWithin from the within-groups (error) row of the ANOVA table, and the result is √(SSwithin / dfWithin). The table gives only totals, so this mode cannot show a group table, N, k or effect sizes.

Q: What is the difference between pooled standard deviation and Welch's method?

Pooled methods assume one common variance, while Welch's methods keep a separate variance for each group. With equal group sizes the two t-test standard errors are identical and only the degrees of freedom differ. The gap widens when sizes and variances both differ.

Loaded shared calculation