Mathwords logoMathwords

Cohen's d — Definition, Formula & Example

Cohen's d is a number that tells you how far apart two group means are, measured in standard deviations. It shows how big a difference is, not just whether the difference is statistically significant.

For two populations with means μ1\mu_1 and μ2\mu_2 and a common standard deviation σ\sigma, the standardized mean difference is δ=(μ1−μ2)/σ\delta = (\mu_1 - \mu_2)/\sigma. Cohen's dd is the sample estimate of δ\delta. It replaces the population means with the sample means xˉ1\bar{x}_1 and xˉ2\bar{x}_2, and it replaces σ\sigma with the pooled sample standard deviation sps_p. Cohen proposed ∣d∣≈0.2|d| \approx 0.2, 0.50.5, and 0.80.8 as rough benchmarks for small, medium, and large effects.

Key Formula

d=xˉ1−xˉ2sp,sp=(n1−1)s12+(n2−1)s22n1+n2−2d = \frac{\bar{x}_1 - \bar{x}_2}{s_p}, \qquad s_p = \sqrt{\frac{(n_1 - 1)s_1^2 + (n_2 - 1)s_2^2}{n_1 + n_2 - 2}}
Where:
  • xˉ1,xˉ2\bar{x}_1, \bar{x}_2 = Sample means of group 1 and group 2
  • s1,s2s_1, s_2 = Sample standard deviations of the two groups
  • n1,n2n_1, n_2 = Sample sizes of the two groups
  • sps_p = Pooled standard deviation, a weighted combination of the two groups' spreads
  • dd = Effect size in standard deviation units (sign shows which group is larger)

Worked Example

Problem: A garden club grows 25 tomato plants with a new fertilizer and 25 without it. The fertilized plants have a mean height of 34 inches with standard deviation 6 inches. The unfertilized plants have a mean height of 30 inches with standard deviation 8 inches. Find Cohen's d and interpret it.
Step 1: Find the difference in sample means.
xˉ1−xˉ2=34−30=4 inches\bar{x}_1 - \bar{x}_2 = 34 - 30 = 4 \text{ inches}
Step 2: Compute the pooled standard deviation. Each group has n−1=24n - 1 = 24 degrees of freedom, so there are 48 in total.
sp=24(62)+24(82)48=864+153648=50≈7.07 inchess_p = \sqrt{\frac{24(6^2) + 24(8^2)}{48}} = \sqrt{\frac{864 + 1536}{48}} = \sqrt{50} \approx 7.07 \text{ inches}
Step 3: Divide the mean difference by the pooled standard deviation. The inches cancel, so d has no units.
d=450≈0.57d = \frac{4}{\sqrt{50}} \approx 0.57
Answer: Cohen's d is about 0.57. On average, the fertilized plants are 0.57 pooled standard deviations taller, which counts as a medium effect by Cohen's benchmarks.

Why It Matters

In AP Statistics, a two-sample t-test tells you whether a difference in means is statistically significant, but not whether it is large. Researchers in psychology, education, and medicine report Cohen's d so readers can judge practical importance. Because d has no units, it also lets meta-analyses combine studies that used different scales. Researchers use it as well when choosing a sample size before running an experiment.

Common Mistakes

Mistake: Treating a small p-value as proof of a large effect, or dividing the mean difference by the standard error instead of the standard deviation.
Correction: A huge sample can make a tiny difference statistically significant. Cohen's d uses the standard deviation, which does not shrink as n grows, so it measures the size of the effect separately from sample size.

Related Terms