CALCULATOR · EVIDENCE SYNTHESIS
Combine Means and SDs Across Subgroups Calculator
To combine means and standard deviations, enter the sample size, mean and SD of each subgroup, from two to five subgroups. The combined sample size, mean and SD update as you type. Nothing you enter leaves your browser.
Runs in your browser. No data is sent or stored.
Method reviewed by an in-house statistician · Last checked November 2026
In Short
To combine means and standard deviations across subgroups, a researcher needs the combined mean, which weights each subgroup mean by its size, and a combined SD that carries two sources of variation: the spread inside each subgroup and the spread between the subgroup means. Averaging the SDs captures only the first source and underestimates the combined SD whenever the subgroup means differ. The calculator applies the formula in the Cochrane Handbook and returns the combined n, mean and SD, for example when a trial reports an outcome by age band or by site and a review needs one value per arm.
How It Is Calculated
The combined sample size is the sum of the subgroup sizes, and the combined mean is the size-weighted average of the subgroup means:
nᵢ = size of subgroup i · mᵢ = mean of subgroup i · N = combined sample size · M = combined mean.
The combined SD adds the within-subgroup variation and the between-subgroup variation before dividing by N − 1 (Higgins et al., 2023, Cochrane Handbook, section 6.5.2.10):
sᵢ = SD of subgroup i. The first sum is the within-subgroup component, the second the between-subgroup component.
The second sum is the part that pooling the SDs alone leaves out. Ignoring it underestimates the combined SD, and the underestimate grows with the distance between the subgroup means.
Assumptions and When Not to Use It
- Separate, non-overlapping subgroups. Each participant belongs to one subgroup, so the sizes add up to the group you want to describe.
- Standard deviations, not standard errors. The formula needs the SD of each subgroup, computed with the n − 1 denominator. A standard error must be converted before it is entered.
- The same outcome in the same units. Subgroup means and SDs from different scales or time points cannot be combined.
- Valid inputs. Each subgroup needs a size of at least 2 and an SD above zero, and the calculator takes from two to five subgroups.
- Means and SDs only. The result describes the center and spread of the combined group, not the shape of its distribution. A study that reports medians first needs the Convert Median and IQR to Mean and SD Calculator.
- Describing one group, not pooling studies. To pool effect estimates across studies, use the Pooled Estimate Calculator for Meta-Analysis.
Worked Example (Hypothetical Values)
A trial reports a symptom score for one arm in two subgroups, and a review needs one mean and SD for the whole arm.
| Input or result | Value |
|---|---|
| Subgroup 1: n, mean, SD | 30, 50, 10 |
| Subgroup 2: n, mean, SD | 20, 60, 12 |
| Combined n | 50 |
| Combined mean | 54.0 |
| Combined SD | 11.8114 |
The subgroup means differ by 10 points, which is why the between-subgroup component matters here. Press “Load the worked example” under the calculator and these values fill the fields. HYPOTHETICAL VALUES.
What the Result Still Needs
- 1
Subgroups that add up. The subgroup sizes sum to the number of participants reported for the whole group.
- 2
SDs, not standard errors. Each value entered is a standard deviation. A standard error entered as an SD gives a combined SD that is far too small.
- 3
One scale and one time point. The subgroup values describe the same outcome, measured the same way, at the same time.
- 4
The source named. The report says the combined values were calculated with the Cochrane Handbook formula and gives its section.
- 5
The step recorded. The extraction sheet marks which values were combined and from which subgroups, so a reader can retrace them.
A statistician reviews how each included study reports its subgroups, combines them with one documented rule and records the step in your extraction sheet.
Meta-Analysis & Evidence SynthesisIndependent Statistical Review confirms an analysis prepared by you, a colleague or an AI tool before it goes to a committee or a journal.
Independent Statistical ReviewFrequently Asked Questions
Why can I not just average the standard deviations?
An average of the SDs measures only the spread inside the subgroups. When the subgroup means differ, the combined group also varies between those means, and that component is added by the second sum in the formula. Leaving it out underestimates the combined SD.
Can I enter standard errors?
Not directly. The calculator expects the SD of each subgroup. If a report gives a standard error, convert it to a standard deviation before you enter it; the calculator does not do this step. Check which one the source reports before you enter anything.
How many subgroups can I combine?
The calculator takes from two to five subgroups in one run. Each needs a size of at least 2 and an SD above zero. Record the subgroups you combined in the extraction sheet.
Does it work for medians and quartiles?
No. The formula combines means and SDs. A study that reports a median with its quartiles or range first needs a conversion, and that estimate is rough when the distribution is skewed. Use the median conversion calculator and name the estimate as an estimate.
What if a subgroup has only one participant?
It cannot be entered. The SD of a single observation is not defined, and the calculator requires a size of at least 2 and an SD above zero for every subgroup. Report that subgroup separately and state that the combined values exclude it.
References
- Higgins, J. P. T., Li, T., & Deeks, J. J. (2023). Choosing effect measures and computing estimates of effect. In J. P. T. Higgins, J. Thomas, J. Chandler, M. Cumpston, T. Li, M. J. Page, & V. A. Welch (Eds.), Cochrane handbook for systematic reviews of interventions (Version 6.4, chap. 6). Cochrane.
Method reviewed by an in-house statistician · Last checked November 2026 · Test cases and boundary cases verified before release
Found an error or have a suggestion? Write to info@onlinespss.com with the calculator name and the inputs you used. Every report is checked by a statistician.
Have a Statistician Check Your Combined Mean and SD
Share the review question, the outcome and how the included studies report their subgroups. A statistically trained Research Coordinator reviews the request, and the scope and one fixed project fee are confirmed before work begins.
No Commitment Required
Strictly Confidential
Fixed Project Fee
In-House PhD-Level Statisticians
Same-Day Response