Effect Size Calculator Formula

Understand the math behind the effect size calculator. Each variable explained with a worked example.

Formulas Used

Cohen's d

cohens_d = (mean1 - mean2) / pooled_sd

|d|

abs_d = abs((mean1 - mean2) / pooled_sd)

Pooled SD

pooled = pooled_sd

Raw Difference

raw_diff = mean1 - mean2

Variables

VariableDescriptionDefault
mean1Group 1 Mean78
mean2Group 2 Mean72
s1Group 1 SD10
s2Group 2 SD12
pooled_sdDerived value= sqrt((pow(s1, 2) + pow(s2, 2)) / 2)calculated

How It Works

How to Calculate Cohen's d

Formula

d = (Mean1 - Mean2) / Pooled SD

where Pooled SD = sqrt((s1^2 + s2^2) / 2)

Cohen's d expresses the difference between two means in standard deviation units. Guidelines: |d| < 0.2 = negligible, 0.2-0.5 = small, 0.5-0.8 = medium, > 0.8 = large. Effect size is independent of sample size, unlike the p-value.

Worked Example

Group 1: mean = 78, SD = 10. Group 2: mean = 72, SD = 12.

mean1 = 78mean2 = 72s1 = 10s2 = 12
  1. 01Pooled SD = sqrt((100 + 144) / 2) = sqrt(122) = 11.045
  2. 02d = (78 - 72) / 11.045 = 6 / 11.045 = 0.5432
  3. 03|d| = 0.5432 which is a medium effect size

Ready to run the numbers?

Open Effect Size Calculator