A pooled standard deviation calculator combines within-group sample variances using degrees of freedom as weights. Pooled SD = √[Σ(nᵢ − 1)sᵢ² ÷ Σ(nᵢ − 1)], where nᵢ is each group size and sᵢ its sample standard deviation. The result estimates common within-group spread; it is not the standard deviation of all observations merged together.
Pooled Standard Deviation Calculator
Pool within-group sample variances using degrees-of-freedom weights.
Independent groups, sample SDs and common within-group variance interpretation. Not the standard deviation of all observations combined; does not test equality of variances. Reference / verification guidance.
Calculations run locally in your browser. Example values are illustrative.
Pooled standard deviation calculator: formula and units
For k independent groups, let nᵢ represent the number of observations in group i and sᵢ the sample standard deviation computed with divisor nᵢ − 1. First calculate each within-group sum of squares, SSᵢ = (nᵢ − 1)sᵢ². The total within-group sum of squares is ΣSSᵢ and the total degrees of freedom are D = Σ(nᵢ − 1) = N − k, where N is the total sample size.
Pooled variance is sₚ² = ΣSSᵢ ÷ D. Pooled standard deviation sₚ is the nonnegative square root of that variance. If observations are measured in centimeters, each sample SD and pooled SD have units of centimeters, while the variance is in squared centimeters. Degrees of freedom are a count, not a measurement unit.
The NIST two-sample t-test reference presents this formula for two samples under the equal-population-variance model. Extending the within-group sum of squares and degrees of freedom to more than two groups uses the same weighting logic. The pooled statistic itself does not demonstrate that equal variance is a reasonable assumption.
How to use the pooled standard deviation calculator
Collect the sample size and sample standard deviation for each independent group. Confirm that every standard deviation uses the sample convention with divisor n − 1, that the measurements use compatible units, and that the groups are defined consistently. Do not enter variances where the calculator asks for standard deviations.
In Sample size and sample SD pairs (one per line), type the count first and standard deviation second, separated by a comma. Enter at least two groups. For example, 10,2 means ten observations with a sample standard deviation of two units. Each count must be a whole number of at least two, and SD must be nonnegative.
Select Calculate and review Pooled sample standard deviation, Pooled variance, Total degrees of freedom, Total observations and Within-group sum of squares. With exactly two groups the tool also returns the pooled standard error of the difference in independent sample means. Try an Example loads two groups; Reset clears the entries.
Worked example: two independent samples
Suppose group A has ten observations and sample SD of 2 units, while group B has fifteen observations and sample SD of 3 units. For group A, degrees of freedom are 10 − 1 = 9, variance is 2² = 4, and within-group sum of squares is 9 × 4 = 36.
For group B, degrees of freedom are 15 − 1 = 14, variance is 3² = 9, and within-group sum of squares is 14 × 9 = 126. Add the two contributions: SS = 36 + 126 = 162. Total degrees of freedom = 9 + 14 = 23, and total observations = 25.
Pooled variance = 162 ÷ 23 ≈ 7.043478 squared units. Pooled standard deviation = √(162 ÷ 23) ≈ 2.653955 units. A simple average of the original SDs gives 2.5, which is not the pooled estimator. The larger group contributes more degrees of freedom, and the weighted calculation works with variances, not directly with SDs.
Under the independent equal-variance model, the standard error of the difference between the two sample means is sₚ√(1/10 + 1/15) ≈ 1.083473 units. This is not another standard deviation of the observations. It describes estimated variability of a difference between means under the stated sampling model.
How to interpret the pooled result
The statistic describes spread around each group’s own mean. Two samples may have identical within-group deviations but very different means. Pooling their variances removes the between-group mean differences from the spread calculation. If your purpose is to describe every observation around a single grand mean, you need additional information about the group means.
For example, imagine two independent groups with three measurements each. Group A contains 9, 10, 11, and group B contains 19, 20, 21. Each sample SD is one, so the pooled SD is one. Yet the combined observations are spread over a much wider range because their group means are ten units apart. Pooled SD answers a different question from merged-data SD.
The NIST process comparison guidance distinguishes equivalent-variance and unequal-variance methods. A pooled estimate may be appropriate when the within-group variances represent a common underlying spread. In a mean comparison where that assumption is inappropriate, consider an unequal-variance procedure such as Welch’s test instead of applying a pooled t-test automatically.
A small pooled SD does not establish that all groups have low variation or that their observations follow a normal distribution. A group with few observations contributes relatively little to the pooled variance even if its reported SD is large. Examine the individual sample sizes and dispersions alongside the combined statistic.
Common mistakes and limitations
Do not divide the within-group sum of squares by total observations N. With k sample groups, the usual degrees of freedom are N − k because each group mean has been estimated. Do not mix sample and population SDs without converting to a consistent definition. The calculator cannot identify a mistaken SD convention from the number alone.
A sample size of one has no ordinary sample SD with divisor n − 1. The tool rejects such groups rather than treating an unknown SD as zero. An SD of zero is valid for a group containing identical values. If every group has zero within-group SD, the pooled result is zero, but an equal-variance t-test denominator would then be zero and require special handling.
This calculator is intended for descriptive and educational statistics. It cannot establish independence, variance homogeneity, normality or the suitability of an inferential method. Verify the study design and analysis assumptions before reporting significance or making consequential conclusions. Use unrounded summary statistics when possible because squaring rounded SDs can affect the pooled estimate.
Frequently asked questions
What does pooled standard deviation measure?
Pooled standard deviation estimates common within-group variability by combining sample variances with degrees-of-freedom weights. It describes deviations around the respective group means, not around a single combined mean. The shared-variance interpretation depends on how the groups were sampled and whether a common variance is reasonable.
Can I simply average two sample standard deviations?
Generally no. Square each sample SD to obtain its variance, multiply by the corresponding sample size minus one, add the contributions and divide by total degrees of freedom. Then take the square root. Directly averaging SDs is a different calculation and usually gives a different number.
What is the difference between pooled and combined SD?
Pooled SD uses within-group deviations from each group’s own mean. Combined SD describes deviations from a single grand mean and also reflects differences between group means. Without the group means or original observations, the pooled summary generally does not contain enough information to calculate the combined SD.
Does the pooled formula require equal sample sizes?
No. Each sample variance receives a weight equal to its sample size minus one, so unequal group sizes can be handled directly. Equal sample sizes give equal variance weights. The equal-variance assumption concerns the underlying population variances, not whether the samples contain the same number of observations.
What if the groups have very different variances?
The arithmetic still produces a weighted within-group spread, but interpreting it as a common population standard deviation may be inappropriate. Examine the design and individual variances before using a pooled inferential procedure. For independent mean comparisons, an unequal-variance method may be more suitable when variances differ.
Related guides and next steps
Compare relative spread with the coefficient of variation calculator, explore standardization with the z-score to percentile calculator, and browse the Education & Statistics hub.