SD calculators

The SD Calculator derives a standard deviation from whatever a trial report happens to give you — a standard error, a confidence interval, an interquartile range, a range, a p value, a t statistic, or a median-based summary. It implements ten conversions from Section 6.5 of the Cochrane Handbook, each labelled with the Handbook section it comes from, and runs entirely in your browser.

How to use

The ten methods are laid out as cards. Find the one that matches the statistics the paper actually reports, type the values in, and the result appears immediately. Each card shows its Handbook section and formula, and the intermediate quantities — a standard error, an estimated mean — are printed alongside the answer. Where a conversion rests on an assumption that may not hold, the tool says so rather than returning a bare number:

  • SE = 2 with N = 25 returns SD = 10.
  • A median of 15 with Q1 = 10, Q3 = 22 and N = 40, without a minimum and maximum, returns SD = 9.2272 and mean = 15.667, warning that this is scenario C2 of Wan et al. and that the estimated mean is less stable than in C1.
  • SDpre = 10, SDpost = 12 and a correlation of 0.5 return a change SD of 11.136, warning that the default correlation was used and should be justified, for example across values such as 0.25 and 0.75.

Record which method you used for each study as you go: different papers in one review will need different cards, and the choice is part of what a reader needs in order to reproduce your data set.

Method and primary sources

The conversions follow Section 6.5 of the Cochrane Handbook for Systematic Reviews of Interventions, version 6.5 (2024) [1]:

  1. Standard error to SD (§6.5.2.2): SD = SE × √N.
  2. 95% CI for a mean to SD (§6.5.2.3): SE = (upper − lower) / (2t), with t = 1.96 for N ≥ 60 and the t quantile on N − 1 degrees of freedom below that.
  3. 95% CI for a mean difference to a pooled SD (§6.5.2.3): SDpooled = SEdiff / √(1/N₁ + 1/N₂).
  4. Interquartile range to SD (§6.5.2.5): SD ≈ IQR / 1.35.
  5. Range to SD (§6.5.2.5): SD ≈ range / 4 for N < 70, or range / 6 for N ≥ 70.
  6. Median with IQR to mean and SD, by the method of Wan et al. [2]; the tool detects whether the summary has five numbers or three and applies the matching constant.
  7. Median with range to mean and SD, following Wan et al. [2] and Hozo et al. [3].
  8. Two-sided p value to SE and then to SD (§6.5.2.3).
  9. t statistic to SE and then to SD (§6.5.2.3).
  10. SD of change from baseline (§6.5.2.8): SDchange = √(SDpre² + SDpost² − 2ρ · SDpre · SDpost).

The median-based conversions use the constants of Wan et al. [2], which improved on the earlier estimators of Hozo et al. [3] for the standard deviation in small samples. The mean is estimated with Wan's formulas as well: (a + 2q₁ + 2m + 2q₃ + b) / 8 for a five-number summary, and (q₁ + m + q₃) / 3 for a three-number summary. Luo et al. [4] appears in the tool's reference list but its estimators are not the ones the cards compute — see Limitations. The t quantiles in the confidence-interval conversions use the algorithm of Hill [5], so small studies are not forced through the 1.96 approximation.

Once you have means and SDs, the next question is often whether the same trials can contribute a dichotomous response rate; the response rate imputation tool on this site implements the method of Furukawa et al. [6] for that step.

How to cite

Cite the methodological sources — the Handbook section and, where relevant, Wan et al. — and name the calculator as the implementation:

Where standard deviations were not reported, they were imputed from the reported statistics following Section 6.5 of the Cochrane Handbook (version 6.5). Medians with interquartile ranges were converted to means and standard deviations using the method of Wan et al. Conversions were carried out with the SD Calculator (Furukawa Y. SD Calculator. https://yukifurukawa.jp/imputing-sd-cochrane-handbook/).

State how many studies needed imputation and by which method, and report the correlation assumed for any change-from-baseline SD. The tool is maintained by Yuki Furukawa, a psychiatrist specialising in insomnia who works on systematic reviews and meta-analysis.

Limitations

  • Every method here is an approximation, as the tool states at the foot of the page. Prefer a directly reported SD, and individual participant data where it is available.
  • The IQR and range rules assume approximate normality. For skewed outcomes — common on symptom scales with a floor — the error can be substantial, and the Wan methods are preferable to the simple divisors.
  • The correlation needed for a change-from-baseline SD is almost never reported. Whatever you use is an assumption and belongs in a sensitivity analysis, not buried in the data set.
  • The mean returned by the median-based cards is Wan's estimator. The optimally weighted estimator of Luo et al. [4], which the Cochrane Handbook recommends for estimating the mean, is cited in the tool's reference list but is not implemented in it; if your review calls for the Luo estimate, compute it separately.
  • The calculator converts numbers. It cannot tell you whether the outcome, time point or analysis population is the right one, and it cannot detect a misread table.
  • Imputed SDs propagate into the pooled effect and its confidence interval; where a review leans heavily on imputation, a sensitivity analysis restricted to directly reported SDs is worth running.

References

  1. Cochrane Handbook for Systematic Reviews of Interventions, version 6.5 (2024), Chapter 6. Cochrane.
  2. Wan X, et al. Estimating the sample mean and standard deviation from the sample size, median, range and/or interquartile range. BMC Med Res Methodol. 2014;14:135. PubMed
  3. Hozo SP, et al. Estimating the mean and variance from the median, range, and the size of a sample. BMC Med Res Methodol. 2005;5:13. PubMed
  4. Luo D, et al. Optimally estimating the sample mean from the sample size, median, mid-range, and/or mid-quartile range. Stat Methods Med Res. 2018;27(6):1785-1805. PubMed
  5. Hill GW. Algorithm 396: Student's t-quantiles. Commun ACM. 1970;13:619-620.
  6. Furukawa TA, et al. Imputing response rates from means and standard deviations in meta-analyses. Int Clin Psychopharmacol. 2005;20(1):49-52. PubMed