Statistics and research

Effect size calculator

Cohen’s d, Hedges’ g and Glass’s Δ from group means, or odds ratio, risk ratio and risk difference from a 2×2 table, each with confidence intervals.

Runs in your browser. What you enter stays on this page and is not uploaded.

Results

Cohen’s d0.59702Hedges’ g0.59244Size (Cohen)medium
Pooled SD
5.0249378
Correction factor J
0.99232409
Glass’s Δ (SD of group 2)
0.666667
Probability of superiority Φ(d / √2)
0.66355
Standardized mean differences with 95% confidence intervals
MeasureEstimateSELowerUpper
Cohen’s d0.5970220.2044070.1963920.997652
Hedges’ g0.592440.2028380.1948850.989995

Cohen’s benchmarks (0.2 small, 0.5 medium, 0.8 large) are rough conventions; compare with effects in your own field.

Method and limits

How to use it

For a continuous outcome, enter each group’s n, mean and SD. For a yes/no outcome, enter the 2×2 counts: group 1 (treated or exposed) events and non-events, then group 2 (control).

Formulas

  • Cohen’s d = (x̄₁ − x̄₂) / sp, with the pooled SD sp; Var(d) = (n₁ + n₂)/(n₁n₂) + d²/(2(n₁ + n₂)).
  • Hedges’ g = J d with the exact correction J = Γ(ν/2) / (√(ν/2) Γ((ν − 1)/2)), ν = n₁ + n₂ − 2 (≈ 1 − 3/(4ν − 1)); SE(g) = J SE(d).
  • Glass’s Δ = (x̄₁ − x̄₂) / s₂ (SD of the control group).
  • Odds ratio ad/bc with SE(ln OR) = √(1/a + 1/b + 1/c + 1/d) (Woolf); risk ratio with SE(ln RR) = √(1/a − 1/(a + b) + 1/c − 1/(c + d)) (Katz); risk difference with the Wald SE; number needed to treat = 1/|RD|.
  • Intervals: estimate ± z SE, on the log scale for ratios. A zero cell adds 0.5 to every cell for the ratios.

Assumptions and limits

  • Independent groups; d and g assume similar SDs in the two groups (otherwise report Glass’s Δ).
  • Normal-approximation intervals; for very small samples prefer exact methods.
  • Cohen’s labels (0.2 small, 0.5 medium, 0.8 large) are only a rough guide.

Worked example

Borenstein et al. (2009), chapter 4: means 103 and 100, SDs 5.5 and 4.5, n = 50 each. Pooled SD 5.025, d = 0.597 (variance 0.0418), J = 0.9923, g = 0.592. Chapter 5: 5 of 100 events versus 10 of 100 — risk ratio 0.50 (95% CI 0.18 to 1.41), odds ratio 0.47 (0.16 to 1.44).

References

Related tools

Share this page

Remind me to visit Contifield

Adds a repeating reminder to your calendar, titled “Contifield Reminder: Visit www.contifield.com”.