Skip to content
Omnikalc

Cohen's d calculator: effect size between two groups

Measure how far apart two group means are in standard deviation units, with the pooled standard deviation, Hedges' g and the probability of superiority.

Updated on
Your inputs

Value out of range

Value out of range

Value out of range

Value out of range

Value out of range

Value out of range

Results

Cohen's d

0.333

Small effect
Hedges' g (small-sample correction)
0.331
Pooled standard deviation
15.000
Probability of superiority
59.3%
Group 2 below the mean of group 1 (Cohen's U3)
63.1%

Why effect size matters

A p-value says whether a difference is likely to be real; it does not say whether it is large. With enough data, trivial differences become “significant”. Effect size measures how big the difference is, independent of sample size. Cohen’s d is the most common one for comparing two means.

The formulas

  • Pooled standard deviation sp = √[((n₁ − 1)s₁² + (n₂ − 1)s₂²) ÷ (n₁ + n₂ − 2)]
  • Cohen’s d = (m₁ − m₂) ÷ sp
  • Hedges’ g = d × (1 − 3 ÷ (4(n₁ + n₂) − 9))
  • Probability of superiority = Φ(d ÷ √2)
  • Cohen’s U3 = Φ(d), the share of group 2 below the mean of group 1

Worked example

A training program: group 1 scores 105 on average, group 2 100, both with a standard deviation of 15 and 50 people each.

  1. Pooled SD: 15.
  2. d = (105 − 100) ÷ 15 ≈ 0.33, a small effect.
  3. Hedges’ g ≈ 0.331.
  4. Probability of superiority ≈ 59%: a random member of group 1 outscores a random member of group 2 59% of the time.
  5. U3 ≈ 63% of group 2 scores below group 1’s average.

Cohen’s benchmarks

d Effect Overlap of the two distributions
0.2 small about 92%
0.5 medium about 80%
0.8 large about 69%
1.2 very large about 55%

Cohen offered these as rough guides for when nothing better is known. In education, an effect of 0.2 to 0.4 from a teaching program is often considered meaningful; in medicine, the clinical importance of a difference matters more than any benchmark.

Uses

  • Comparing studies: d puts results measured on different scales on a common footing, which is why meta-analyses use it.
  • Planning sample sizes: detecting d = 0.2 with 80% power at the 5% level needs about 394 people per group; d = 0.5 needs about 64; d = 0.8 about 26.
  • Reporting: many journals ask for effect sizes alongside p-values.

Cautions

  • d assumes roughly normal data with similar standard deviations in both groups. With very unequal spreads, consider Glass’s delta, which uses the control group’s SD.
  • For paired measurements, such as before and after on the same people, a different formula based on the standard deviation of the differences applies.

Frequently asked questions

How do you calculate Cohen's d?

Divide the difference between the two means by the pooled standard deviation. Means of 105 and 100 with a standard deviation of 15 give d = 5 ÷ 15 ≈ 0.33.

What is a large effect size?

Cohen's rough benchmarks are 0.2 for a small effect, 0.5 for a medium effect and 0.8 for a large effect. What counts as important depends on the field: a small effect on mortality can matter a lot.

What is Hedges' g?

Hedges' g corrects Cohen's d for a slight upward bias in small samples. The correction is negligible once each group has more than about 20 people.

What is the probability of superiority?

It is the chance that a randomly chosen person from group 1 scores higher than one from group 2. With d = 0.33 it is about 59%, compared with 50% if there were no difference.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.