Cohen's d Effect Size Calculator
Find the standardised difference between two group means, with pooled standard deviation and a size label.
What it does
A statistical test can tell you that two group means differ, but it does not tell you whether the difference matters. Effect size answers that second question. Cohen's d is the most widely used effect size for comparing two means, and it states the gap in standard deviation units so that results from different studies can be compared.
The definition is simple. Divide the difference between the two sample means by a pooled standard deviation. The pooling step combines the variability within both groups into one number, weighted by the number of observations in each group. A d of 0.5 means the means are half a standard deviation apart.
Penn State's STAT 200 lesson works through commuting times in Atlanta and St. Louis. The means differ by 7.14 minutes, the pooled standard deviation is 17.773 minutes, and d comes out at 0.402. That is a small effect by Cohen's guidelines, even though the difference was statistically significant with 500 people in each city.
Statistics LibreTexts and OpenStax give the same formula and the same rough labels: 0.2 small, 0.5 medium and 0.8 large. Those cutoffs are conventions rather than laws. The right interpretation of any effect size depends on the subject matter, the cost of an intervention and the variability that is normal in the field.
This page computes the pooled standard deviation with the degrees of freedom version of the formula, which is the standard choice for an independent two sample comparison. It reports the signed d, the pooling result, the raw difference in means and a plain language size label.
How to use
- Enter the mean of the first group.
- Enter its standard deviation and sample size.
- Enter the mean, standard deviation and sample size of the second group.
- Read Cohen's d, the sign of which shows which group has the larger mean.
- Check the pooled standard deviation, which should lie between the two group standard deviations when sample sizes are similar.
- Use the size label as a guide, then interpret the value in the context of your subject.
Formula
- d
- Cohen's d, the standardised mean difference.
- mean1, mean2
- Sample means of the two groups, in the units of the measured outcome.
- s1, s2
- Sample standard deviations of the two groups.
- n1, n2
- Sample sizes of the two groups, each at least 2.
- s pooled
- Pooled within group standard deviation used as the divisor.
Some texts use a simpler pooled standard deviation of sqrt((s1 squared + s2 squared) / 2), which is correct when the two sample sizes are equal. The degrees of freedom form used here reduces to that expression for equal n and remains correct for unequal group sizes. Cohen's d is slightly biased upward for very small samples. For meta analysis, Hedges' g applies a correction factor to remove that bias, and this page does not make that correction.
Worked example
Example: commute times in two cities
Defaults from Penn State STAT 200: Atlanta mean 29.110, standard deviation 20.718, n = 500; St. Louis mean 21.970, standard deviation 14.232, n = 500.
- Squared standard deviations: 20.718^2 = 429.236 and 14.232^2 = 202.550.
- Weighted sum: 499 x 429.236 + 499 x 202.550 = 214,188.527 + 101,072.362 = 315,260.853.
- Divide by n1 + n2 - 2 = 998 to get 315.893.
- Square root gives the pooled standard deviation: sqrt(315.893) = 17.773.
- Difference between means: 29.110 - 21.970 = 7.140 minutes.
- Cohen's d = 7.140 / 17.773 = 0.402, which falls below the 0.5 cutoff for a medium effect.
- The tool shows 0.402, 17.773, 7.140 and Small effect size.
Reference table
| Absolute d | Label | Meaning | Note |
|---|---|---|---|
| Below 0.2 | Little or no effect | Means are very close relative to spread | Context still matters |
| 0.2 to 0.5 | Small effect | About a fifth of a standard deviation | Common in social research |
| 0.5 to 0.8 | Medium effect | About half a standard deviation | Usually noticeable |
| 0.8 or more | Large effect | Nearly a full standard deviation or more | Check measurement quality |
Limits
- Assumes two independent groups and roughly comparable within group variability.
- Does not correct the small sample bias that Hedges' g addresses.
- Says nothing about whether the study design supports a causal claim.
- The size labels are conventions, not fixed rules for every field.
Common mistakes
- Confusing the sign of d with its size. A negative d still describes a large gap if its absolute value is large.
- Using the simpler equal n pooling formula with very unequal group sizes.
- Treating a statistically significant result as automatically a large effect.
- Entering a standard error instead of a standard deviation.
- Comparing d values from studies that measure very different outcomes without checking context.
Try it yourself
Quick checks. Answers sit tucked under each question.
Group 1: mean 4, sd 1.5, n 11. Group 2: mean 3.5, sd 1, n 9. Find d.
Pooled variance is (10 x 2.25 + 8 x 1) / 18 = 1.6944, so the pooled standard deviation is 1.302. Difference is 0.500 and d = 0.384, a small effect.
Two groups of 30 both have standard deviation 2, with means 10 and 8. What is d?
The pooled standard deviation is 2 and the difference is 2, so d = 1.000. That is a large effect by the usual guidelines.
Group 1 mean 5, group 2 mean 10, both standard deviations 2 and n 20. What appears?
The difference is -5.000, pooled standard deviation is 2.000 and d = -2.500. The size label uses the absolute value and reads Large effect size.
Questions
What does Cohen's d actually mean?
It is the difference between two means measured in standard deviation units. A d of 0.5 means the means are half a standard deviation apart.
Why pool the standard deviations?
Pooling uses both groups to estimate the common within group spread, weighting each by its degrees of freedom. It gives a more stable divisor than either group alone.
Can Cohen's d be negative?
Yes. The sign follows the order of subtraction. The size of the effect is judged by the absolute value, so the label ignores the sign.
Is d the same as a p value?
No. A p value depends heavily on sample size. Effect size describes the magnitude of the difference and is much less sensitive to sample size.
When should I use Hedges' g instead?
For meta analysis or very small samples, where the slight upward bias in d matters. Hedges' g multiplies d by a correction factor.
Are the 0.2, 0.5 and 0.8 cutoffs strict?
No. They are rough conventions from psychology. A field with low variability may treat 0.3 as important, and a costly intervention may need a larger effect to be worthwhile.
Sources
- Penn State STAT 200 lesson 6.4: Practical Significance and Cohen's d with worked commute example
- Statistics LibreTexts 10.3: Cohen's Standards for Small, Medium and Large Effect Sizes
- George Mason University: Formulas Used by the Practical Meta Analysis Effect Size Calculator