Pooled Standard Deviation Calculator

Calculate pooled standard deviation for two independent samples

Enter sample sizes, means, and standard deviations for two groups to compute the pooled standard deviation, t-statistic, and Cohen's d.

Pooled Standard Deviation Calculator
Calculate pooled standard deviation for two independent samples
Sample 1
Sample 2

About the Pooled Standard Deviation Calculator

The pooled standard deviation is a weighted average of the standard deviations from two (or more) independent samples, used when comparing groups that share the same underlying population variance. It is a cornerstone of the independent-samples t-test and many other inferential statistical procedures. The formula for pooled standard deviation is: sp = √[((n₁−1)s₁² + (n₂−1)s₂²) / (n₁+n₂−2)], where n₁ and n₂ are the sample sizes and s₁ and s₂ are the sample standard deviations. The denominator n₁+n₂−2 represents the total degrees of freedom for the two-sample comparison. The pooled standard deviation assumes homogeneity of variance — that both samples come from populations with the same variance. This assumption should be checked (e.g., using Levene's test or Bartlett's test) before using the pooled estimate. When variances are unequal, Welch's t-test is preferred as it does not pool the variances. In addition to the pooled SD, this calculator provides the pooled variance (sp²), total degrees of freedom, the two-sample t-statistic, and Cohen's d as a standardized effect size. Cohen's d = (mean₁ − mean₂) / sp quantifies the practical significance of the mean difference in units of the pooled standard deviation. Cohen's d benchmarks: values around 0.2 are considered small, 0.5 medium, and 0.8 or above large effects. These thresholds guide interpretation in psychology, medicine, education, and social sciences. Pooled standard deviation is also used in the calculation of confidence intervals for the difference of two means, in meta-analysis for combining effect sizes across studies, and in quality control when aggregating variability estimates across production batches. Practical applications include clinical trials (comparing treatment vs. control groups), A/B testing in product analytics (comparing conversion rates), educational research (comparing test score variability between classrooms), and industrial quality control (merging defect rate estimates from multiple production lines). Remember: the pooled standard deviation is a more precise estimate of the common population standard deviation than either individual sample standard deviation, because it leverages information from both groups simultaneously.

Examples

These examples show how the pooled standard deviation is computed for different two-sample scenarios.

InputsPooled SDContext
n₁=10, x̄₁=50, s₁=2; n₂=15, x̄₂=55, s₂=3sp ≈ 2.669Unequal sample sizes, different means
n₁=20, x̄₁=30, s₁=4; n₂=20, x̄₂=35, s₂=4sp = 4.000Equal sizes and SDs, pure average
n₁=30, x̄₁=100, s₁=10; n₂=30, x̄₂=105, s₂=12sp ≈ 11.045Larger samples, similar SDs
n₁=5, x̄₁=8, s₁=1.5; n₂=8, x̄₂=10, s₂=2sp ≈ 1.824Small samples, weight toward larger group

How to Use This Calculator

  1. Enter the sample size (n₁), mean (x̄₁), and standard deviation (s₁) for the first group.
  2. Enter the corresponding values (n₂, x̄₂, s₂) for the second group. Sample sizes must be at least 2.
  3. Click 'Calculate' to compute the pooled standard deviation, pooled variance, degrees of freedom, t-statistic, and Cohen's d.
  4. Interpret the pooled SD as the best estimate of the shared population standard deviation under equal-variance assumption.
  5. Use the t-statistic and degrees of freedom with a t-distribution table to determine statistical significance, or check Cohen's d for effect size.

Frequently Asked Questions

What is the pooled standard deviation?
The pooled standard deviation (sp) combines the variance estimates from two independent samples into a single, more precise estimate. It is a weighted average of the two sample variances, weighted by their degrees of freedom. It assumes that both populations share the same underlying variance.
When should I use the pooled standard deviation?
Use the pooled standard deviation when you assume homogeneity of variance between two groups — for example, in a classic two-sample t-test. If a preliminary test (Levene's, Bartlett's) suggests the variances differ significantly, use Welch's t-test instead, which does not require variance equality.
What is Cohen's d and how do I interpret it?
Cohen's d is a standardized effect size that expresses the mean difference in units of the pooled standard deviation. Values of approximately 0.2, 0.5, and 0.8 are conventionally described as small, medium, and large effects, respectively. A large Cohen's d indicates the two groups are well separated relative to their combined variability.
Why does the formula divide by n₁+n₂−2?
The denominator n₁+n₂−2 represents the total degrees of freedom consumed by estimating the two sample means. Using degrees of freedom (rather than n₁+n₂) produces an unbiased estimate of the population variance. Each sample contributes nᵢ−1 degrees of freedom to the pooled estimate.
Can I use the pooled standard deviation for more than two groups?
Yes — the pooled standard deviation can be extended to k groups using the formula sp = √[Σ(nᵢ−1)sᵢ² / Σ(nᵢ−1)]. This generalization is used in ANOVA, where a single pooled within-group standard deviation (mean square error root) serves as the common variance estimate.
How does sample size affect the pooled standard deviation?
Larger samples carry more weight in the pooled estimate. If n₁ >> n₂, the pooled SD is dominated by the first sample's variance. This reflects the principle that more data provides a more reliable variance estimate. It also means that outliers or violations of the equal-variance assumption have a larger impact when one sample is much larger.