Cohen’s d Calculator
A free tool by DeepRit, a Google Ads agency that does PPC and nothing else. We build and run Google Ads accounts so every click is accounted for. Book a free audit call
Free Cohen's d calculator. Enter two groups' means, standard deviations and sizes to get the effect size, Hedges' g, a 95% CI and how big the effect is.
- Hedges' g
- 0
- Size of effect
- 0
- 95% CI for d
- 0
- Pooled SD
- 0
- Overlap of the groups
- 0
Free, no sign-up. Runs in your browser: nothing you type is uploaded or saved.
How to use the Cohen’s d calculator
- Enter the mean, standard deviation and size of group 1.
- Enter the same for group 2.
The Cohen’s d calculator shows Cohen's d, Hedges' g, a label for the size of the effect, a 95% confidence interval for d, the pooled standard deviation, and how much the two groups overlap.
What is Cohen's d?
Cohen's d is a standardised effect size: it measures the difference between two group means in units of standard deviation. It was introduced by the American psychologist Jacob Cohen, whose book on statistical power analysis made it standard in psychology, education and medicine.
d = (mean₁ − mean₂) ÷ pooled standard deviation
A d of 0.5 means the means differ by half a standard deviation. Because it's standardised, Cohen's d lets you compare results measured on different scales, such as two studies that used different tests, and it's the effect size most often used in meta-analyses of two-group comparisons.
The pooled standard deviation
When the two groups have different standard deviations, they're combined into a pooled value, weighting each by its degrees of freedom:
Pooled SD = √(((n₁ − 1)s₁² + (n₂ − 1)s₂²) ÷ (n₁ + n₂ − 2))
With the default figures, both groups have a standard deviation of 15, so the pooled SD is 15. The means are 105 and 100, so d = 5 ÷ 15 ≈ 0.333.
How big is the effect?
Cohen suggested rough guidelines for the behavioural sciences:
| d | Effect |
|---|---|
| about 0.2 | Small |
| about 0.5 | Medium |
| about 0.8 | Large |
Cohen himself stressed that these are only conventions to use when there's nothing better. What counts as a meaningful effect depends on the field and the context. A small effect on a cheap, widely used intervention can matter a great deal; a large effect on an outcome nobody cares about may not. Whenever possible, compare your effect with others in the same field.
Hedges' g
Cohen's d slightly overestimates the true effect in small samples. Hedges' g corrects for this:
g ≈ d × (1 − 3 ÷ (4(n₁ + n₂) − 9))
With 50 people in each group, the correction is tiny: d = 0.333 becomes g ≈ 0.331. With 10 in each group, the difference is larger. Many meta-analyses report Hedges' g for this reason. The Cohen’s d calculator shows both.
The confidence interval
Like any estimate from data, d comes with uncertainty. The Cohen’s d calculator gives an approximate 95% confidence interval using the standard formula for its standard error:
SE(d) = √((n₁ + n₂) ÷ (n₁ × n₂) + d² ÷ (2(n₁ + n₂)))
For the default data, the interval runs from about −0.06 to 0.73. Because it includes 0, the data is consistent with no difference at all, as well as with a medium-sized effect. Larger samples would narrow the interval.
Overlap between the groups
The Cohen’s d calculator also shows how much the two groups' distributions overlap, assuming both are normal with the same standard deviation. This is the overlapping coefficient, 2Φ(−|d| ÷ 2), where Φ is the standard normal cumulative distribution. With d = 0.333, about 86.8% of the two distributions overlap. Even a "large" effect of d = 0.8 leaves about 69% overlap. This is a useful reminder that a real difference between group averages still leaves many individuals in the lower-scoring group above many in the higher-scoring one.
A worked example
A study compares exam scores between students taught with a new method and a standard method. With 30 students in each group, the new method's mean is 78 (SD 10) and the standard method's is 72 (SD 12).
- Pooled SD: √((29 × 100 + 29 × 144) ÷ 58) = √122 ≈ 11.05.
- Cohen's d: (78 − 72) ÷ 11.05 ≈ 0.543, a medium effect.
- Hedges' g: about 0.536.
- 95% CI for d: about 0.03 to 1.06.
- Overlap: about 78.6%.
The interval excludes 0, but only just, and it's wide, so the true effect could be anywhere from very small to large. Enter these figures in the Cohen’s d calculator to check. If each group had only 10 students, d would be the same but the interval would widen to about −0.35 to 1.44, and g would drop to about 0.520.
Who uses a Cohen’s d calculator
Psychologists and education researchers use it to report the size of effects alongside significance tests, as many journals require. Medical and health researchers use it to compare treatments. Meta-analysts use it to combine results from different studies. Students use it for dissertations and statistics courses. Analysts use it to describe the size of differences in A/B tests and surveys.
Need more customers from Google?
This tool is free and runs in your browser. If your business also needs more leads or sales, Google Ads is where people search with their wallet out. DeepRit manages Google Ads for small and mid-size businesses, and only Google Ads. We check your account before we ever get on a call, then fix the structure, the keywords, the tracking and the ads, with month-to-month terms and no long contract. Book a free audit call.
Effect size versus statistical significance
A p-value tells you how surprising the data would be if there were no real difference. It depends heavily on sample size: with a big enough sample, even a trivially small difference becomes statistically significant. Cohen's d answers a different question: how big is the difference? Reporting both gives a complete picture. The American Psychological Association's publication guidelines recommend reporting effect sizes and confidence intervals alongside significance tests. To test significance for the same data, use the t-test calculator.
Using d to plan a study
Cohen's d is also the starting point for power analysis, which works out how many participants a study needs. To detect a medium effect (d = 0.5) with 80% power at the 5% significance level, a two-group comparison needs about 64 people per group. To detect a small effect (d = 0.2), it needs about 394 per group. Estimating d from earlier studies, using the Cohen’s d calculator, helps set a realistic sample size.
Paired data
Cohen's d as calculated here is for two independent groups. For paired data, such as the same people measured before and after a treatment, effect sizes are calculated differently, often using the standard deviation of the differences or adjusting for the correlation between measurements. Using the independent-groups formula on paired data can give a misleading result.
Common mistakes
- Treating Cohen's benchmarks as fixed rules rather than rough conventions.
- Reporting d without a confidence interval, especially with small samples.
- Using the independent-groups formula for paired data.
- Confusing standard deviation with standard error when entering data from a paper.
Converting d to other measures
Cohen's d can be converted to other effect sizes, which helps when comparing studies that report different statistics. For two equal-sized groups, the point-biserial correlation r is approximately d ÷ √(d² + 4), so d = 0.5 corresponds to r ≈ 0.24. Another popular translation is the probability of superiority, also called the common-language effect size: the chance that a randomly chosen person from the higher group scores above a randomly chosen person from the lower group. It equals Φ(d ÷ √2), so d = 0.5 gives about 64%, and d = 0.8 about 71%. These translations often make an effect size easier to explain to a general audience than d itself.
Getting the inputs from a paper
Research papers usually report each group's mean, standard deviation and size, often in a table of descriptive statistics, which is all the Cohen’s d calculator needs. If a paper reports standard errors instead, convert them: SD = SE × √n. If it reports only a t statistic from an independent-samples t-test, d can be estimated as t × √(1 ÷ n₁ + 1 ÷ n₂). Check carefully which statistic is reported, because mixing up standard deviations and standard errors is one of the most common errors in meta-analyses.
Sources and further reading
- Effect size on Wikipedia: Cohen's d, Hedges' g and other measures.
- Lakens D. Calculating and reporting effect sizes to facilitate cumulative science: a practical primer for t-tests and ANOVAs, Frontiers in Psychology (2013).
- Sullivan GM, Feinn R. Using effect size, or why the P value is not enough, Journal of Graduate Medical Education (2012).
Frequently asked questions
How is Cohen's d calculated?
Subtract one group's mean from the other's and divide by the pooled standard deviation.
What is a large Cohen's d?
By Cohen's conventions, about 0.8 or more. About 0.5 is medium and 0.2 small, but context matters.
What is the difference between Cohen's d and Hedges' g?
Hedges' g corrects Cohen's d for a small upward bias in small samples.
Can Cohen's d be negative?
Yes. A negative d means group 1's mean is lower than group 2's.
Should I use standard deviation or standard error?
Standard deviation. If a paper reports standard errors, multiply by the square root of the group size.
Is the Cohen’s d calculator free?
Yes. It's free, needs no sign-up, and works in your browser.
Free PPC audit
See where your ad budget leaks.
We look at your Google Ads account before the call, then walk you through what we'd fix first, in dollars. No obligation, no hard sell.