Pooled Standard Deviation Calculator

Enter n and SD for each group (or paste raw data) to get the pooled standard deviation, pooled variance, and degrees of freedom instantly.

📊 Pooled Standard Deviation Calculator

Enter sample size (n) and standard deviation (s) for each group.

📖 What is Pooled Standard Deviation?

Pooled standard deviation (Sp) is a single estimate of spread that combines the standard deviations of two or more groups. Rather than simply averaging the group SDs, it weights each group's variance by its degrees of freedom (n−1), giving more influence to larger samples. The result is a more precise estimate of the common population variance than any individual group SD alone.

The concept arises directly from the assumptions of the two-sample independent t-test. When you assume that both groups share the same underlying variance σ² (the equal-variance or homoscedasticity assumption), you pool the sample variances to get the best possible estimate of σ². The pooled SD is the square root of that pooled variance estimate.

Pooled SD is also the foundation of one-way ANOVA. In ANOVA with k groups, the Mean Square Within (MSW) is exactly the pooled variance, and its square root is the pooled SD. When the F-statistic tests whether group means differ, MSW is the denominator - meaning pooled SD is the baseline measure of within-group variability against which between-group differences are judged.

The key assumption when using pooled SD is that the group variances are approximately equal. You can verify this with Levene's test or Bartlett's test before pooling. If the variances differ substantially, Welch's t-test (which does not assume equal variances and does not pool the SDs) is more appropriate and more robust.

This calculator supports up to 5 groups and offers two input modes: Summary Stats (enter n and SD directly) for when you already have group statistics, and Raw Data (paste numbers) for when you want the calculator to compute each group's SD automatically from the raw observations.

📐 Formula

Sp = √[Σ(ni−1)si² / Σ(ni−1)]

Two-group form:

Sp = √[((n1−1)s1² + (n2−1)s2²) / (n1+n2−2)]

Where:

  • ni = sample size of group i
  • si = sample standard deviation of group i
  • ni−1 = degrees of freedom contributed by group i
  • Pooled variance Sp² = the numerator divided by the denominator (before taking the square root)
  • Total df = Σni − k (where k = number of groups)

Worked example: Two groups: Group A (n=10, s=4), Group B (n=12, s=6).
Numerator = (10−1)×16 + (12−1)×36 = 144 + 396 = 540.
Denominator (df) = (10−1) + (12−1) = 9 + 11 = 20.
Pooled variance = 540 / 20 = 27. Pooled SD = √27 ≈ 5.196.

Note that the pooled SD (5.196) lies between s1=4 and s2=6, closer to 6 because Group B has more observations and therefore more influence.

✍ How to Use This Calculator

  1. Choose a mode — click Summary Stats if you already have each group's sample size and SD, or Raw Data to paste the actual numbers.
  2. Enter group data — for Summary Stats, enter n (≥2) and SD for each group. For Raw Data, paste comma-separated numbers for each group. Use + Add Group for up to 5 groups.
  3. Click Calculate Pooled SD — the pooled standard deviation, pooled variance, total degrees of freedom, and a per-group table appear instantly.
  4. Interpret the output — use pooled SD in your t-test or ANOVA calculation. If the individual group SDs differ by more than a factor of 2, consider Welch's t-test instead of pooling.

💡 Example Calculations

Example 1 — Two lab groups (summary stats)

1
Group A: enzyme activity measurements, n=10, SD=4.0 IU/L
2
Group B: control group, n=12, SD=6.0 IU/L
3
Numerator = (10−1)×16 + (12−1)×36 = 144 + 396 = 540
4
Pooled SD = √(540/20) = √27 ≈ 5.196 IU/L. df = 20. Pooled variance = 27.
Try this example →

Example 2 — Unequal group sizes (clinical trial)

1
Treatment arm: n=30, SD=8.2 mmHg. Control arm: n=25, SD=7.6 mmHg.
2
Numerator = (30−1)×67.24 + (25−1)×57.76 = 1950 + 1386 = 3336
3
df = 29 + 24 = 53. Pooled variance = 3336/53 ≈ 62.94
4
Pooled SD ≈ 7.934 mmHg. Note it is closer to 8.2 (larger group) than 7.6 (smaller group).
Try this example →

Example 3 — Three classroom groups

1
Class A: n=20, SD=5. Class B: n=25, SD=6. Class C: n=15, SD=4.
2
Numerator = 19×25 + 24×36 + 14×16 = 475 + 864 + 224 = 1563
3
Total df = 19 + 24 + 14 = 57. Pooled variance = 1563/57 ≈ 27.42
4
Pooled SD ≈ 5.237. df = 57. This pooled SD would be used as σ in a one-way ANOVA.
Try this example →

Example 4 — Raw data mode (quality control)

1
Machine A output (mm): 10.1, 10.3, 9.9, 10.2, 10.0, 10.1
2
Machine B output (mm): 10.5, 9.8, 10.3, 10.7, 9.9, 10.4, 10.2
3
Calculator computes: Machine A SD ≈ 0.137, Machine B SD ≈ 0.312
4
Pooled SD ≈ 0.243 mm. df = 11. Use this to test if machine means differ via a two-sample t-test.
Try in Raw Data mode →

❓ Frequently Asked Questions

What is pooled standard deviation?+
Pooled standard deviation combines the spread of two or more groups into a single estimate, weighting each group's variance by its degrees of freedom. It assumes the groups share a common underlying variance — a key assumption in the standard two-sample t-test and ANOVA.
What is the formula for pooled standard deviation?+
For two groups: Sp = √[((n1−1)s1² + (n2−1)s2²) / (n1+n2−2)]. For k groups: Sp = √[Σ(ni−1)si² / Σ(ni−1)]. This is a degrees-of-freedom-weighted average of the group variances.
When should I use pooled vs. unpooled standard deviation?+
Use pooled SD when group variances are approximately equal (confirmed by Levene's or Bartlett's test). Use Welch's t-test (unpooled) when variances differ significantly. Equal variance is often assumed by default in two-sample t-tests, but it should always be verified.
What does pooled standard deviation tell you?+
Pooled SD is a single measure of spread that represents all groups combined. It is the denominator in the standard two-sample t-test statistic: t = (x̄1 − x̄2) / (Sp × √(1/n1 + 1/n2)).
How does sample size affect pooled SD?+
Larger groups get more weight because they contribute more degrees of freedom. A group with n=50 contributes 49 df while a group with n=10 contributes only 9. The pooled SD is therefore pulled toward the variance of the larger group.
Can pooled SD be less than any individual group SD?+
No. Pooled SD is always between the smallest and largest group SD. It cannot fall below the minimum or exceed the maximum group SD because it is a weighted average of the individual variances.
What is the difference between pooled variance and pooled standard deviation?+
Pooled variance (Sp²) is the weighted average of group variances. Pooled standard deviation (Sp) is the square root of pooled variance. Both measure combined spread, but SD is in the original units of the data, making it easier to interpret.
How is pooled SD used in ANOVA?+
In one-way ANOVA, the square root of the Mean Square Within (MSW) equals the pooled SD across all groups. It measures within-group variability and forms the denominator of the F-statistic used to test whether group means differ significantly.
What is the degrees of freedom for pooled SD?+
For two groups: df = n1 + n2 − 2. For k groups: df = Σni − k. These are the same degrees of freedom used in the t-test or ANOVA F-test denominator.
Can I use pooled SD with more than two groups?+
Yes. The formula extends to k groups: Sp = √[Σ(ni−1)si² / Σ(ni−1)]. This calculator supports up to 5 groups. In ANOVA, the pooled SD equals the square root of the within-group mean square.