Effect size calculator

This effect size calculator gives the standardized difference between two group means: Cohen’s d, Hedges’ g for small samples, and a 95% confidence interval. Enter each group’s mean, standard deviation and size, paste the raw data, or convert a t statistic from a paper.

The numbers are calculated in your browser. Nothing you enter is sent or stored.

Effect size calculatorOr describe it in Studio →

Two independent groups. Nothing is uploaded.

Cohen’s d

2.835

A large effect by Cohen’s rough labels: the means are 2.84 standard deviations apart.

Hedges’ g
2.561
95% CI of d
1.08 to 4.59
Standard error
0.896
Pooled SD
0.4021
Equivalent r
0.817
Probability of superiority
97.8%

To report

d = 2.84, 95% CI [1.08, 4.59]; Hedges’ g = 2.56

With samples this small, report Hedges’ g: Cohen’s d overstates the population effect.

Check your result: d times the pooled SD should give back the difference in means: 2.84 × 0.402 = 1.14 = 5.48 − 4.34. The sign of d follows group 1 minus group 2, and g is always a little closer to zero than d.
Cohen’s d in the worked example
2.84
Cohen’s d in the worked example
its 95% CI with 5 per group
1.08–4.59
its 95% CI with 5 per group
ways to enter data: summary, raw values or t
3
ways to enter data: summary, raw values or t
values per group at the least
2
values per group at the least
  • Cohen’s d and Hedges’ g
  • 95% confidence interval
  • From summary, raw data or t
  • Equivalent r, probability of superiority
  • Runs in your browser, free

01

How to calculate an effect size

  1. Choose what you have: summary statistics, the raw values, or a t statistic with the two group sizes.
  2. Enter the numbers for both groups.
  3. Read d and its confidence interval; report Hedges’ g instead when the groups are small.

02

Cohen’s d formula

d = (M₁ − M₂) ÷ s_p
s_p = √( [(n₁ − 1)s₁² + (n₂ − 1)s₂²] ÷ (n₁ + n₂ − 2) )

The difference between the means is divided by the pooled standard deviation, so d says how far apart the groups are in standard deviations, whatever the original unit. From a published independent-samples t-test:

d = t × √(1/n₁ + 1/n₂)

03

Hedges’ g: the small-sample correction

g = d × (1 − 3 ÷ (4(n₁ + n₂ − 2) − 1))

Cohen’s d is biased upward in small samples. Hedges’ g shrinks it by a factor that matters below about 20 participants in total and is negligible in large studies. Meta-analyses normally use g.

04

Worked example

The calculator opens with group 1: M = 5.48, SD = 0.47, n = 5 and group 2: M = 4.34, SD = 0.32, n = 5.

s_p = √((4 × 0.47² + 4 × 0.32²) ÷ 8) = 0.402
d = (5.48 − 4.34) ÷ 0.402 = 2.84
g = 2.84 × (1 − 3/31) = 2.56

The 95% confidence interval of d runs from 1.08 to 4.59: with five per group the effect is clearly positive but its size is very uncertain.

05

How to interpret d

dCohen’s labelProbability of superiority
0.2small55.6%
0.5medium63.8%
0.8large71.4%

The probability of superiority is the chance that a randomly chosen value from group 1 is larger than a randomly chosen value from group 2, assuming normal distributions. Cohen offered his labels as a last resort; compare your d with effects in your own field where you can.

06

The confidence interval

SE(d) = √( (n₁ + n₂) ÷ (n₁n₂) + d² ÷ (2(n₁ + n₂)) ), 95% CI = d ± 1.96 × SE

This is the usual large-sample approximation. For very small groups an exact interval based on the noncentral t distribution is somewhat different; treat the limits as approximate.

07

What this calculator covers

Two independent groups. For paired data, d is usually computed on the differences: the paired option of the t-test calculator reports it. For three or more groups the ANOVA calculator gives eta squared, and for two measurements on the same subjects the correlation coefficient is itself an effect size.

08

Common mistakes when calculating d

  • Using the SEM as if it were the SD. Papers often report mean ± SEM; with 5 per group the SEM is the SD divided by √5, so d in the worked example would come out as 6.34 instead of 2.84.
  • Skipping the small-sample correction. With 5 per group Hedges’ g is 10% smaller than d (2.56 against 2.84); with 50 per group the difference is under 1%.
  • Converting t with the wrong formula. For two independent groups d = t × √(1/n₁ + 1/n₂); t = 4.5 with 5 per group gives d = 2.85, but t ÷ √N, the one-sample formula, gives 1.42, half as much.
  • Reporting d without its interval. The worked example’s d of 2.84 has a 95% CI of 1.08 to 4.59: consistent with anything from a large effect to an enormous one.

Trust

How this page is checked

  • The calculation runs on code with automated tests against worked reference values. Every number in the examples on this page was produced by that same code, not typed by hand.
  • The formulas and conventions used are stated on the page, so you can reproduce the result yourself or compare it with your own software.
  • Last reviewed by the Sciloom team, Zebra Nine Studio Inc. It is a tool for research and teaching, not a substitute for a statistician, a validated lab method or medical advice.

Cite this page

Sciloom. (2026). Effect size calculator. Zebra Nine Studio Inc. https://sciloom.si/effect-size-calculator

Read the full methodology · Who makes Sciloom

Frequently asked questions

What is a good effect size?

There is no universal answer. Cohen suggested d = 0.2 as small, 0.5 as medium and 0.8 as large, but a small effect can matter a great deal for a cheap, safe intervention.

What is the difference between Cohen’s d and Hedges’ g?

Hedges’ g is Cohen’s d multiplied by a correction for small-sample bias. They are nearly identical above about 20 participants per group.

Can I calculate Cohen’s d from a t value?

Yes, for an independent-samples t-test: d = t × √(1/n₁ + 1/n₂). Choose “t statistic” and enter t with the two group sizes.

Can Cohen’s d be greater than 1?

Yes. d has no upper limit; a value of 2 means the group means are two standard deviations apart.

Planning the next study? Put this effect size into the sample size calculator.
Free to start, no sign-up.
Back to the tool ↑

More research tools