Calculator: Cohen’s d effect size

Enter the labelled inputs to calculate: Value d; Standard deviation sp.

Value d
1
Standard deviation sp
2

How the calculation works

d=(x̄₁−x̄₂)/sp; sp²=[(n₁−1)s₁²+(n₂−1)s₂²]/(n₁+n₂−2)

Paired lists must have equal lengths. Variances use sample standard deviations where labelled. Probabilities must be nonnegative and sum to one; information is in bits, with zero-mass terms omitted. Pearson statistics use no continuity correction. Wilson uses the supplied normal critical value z.

Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.

Frequently asked questions

How is the result calculated?

d=(x̄₁−x̄₂)/sp; sp²=[(n₁−1)s₁²+(n₂−1)s₂²]/(n₁+n₂−2)

What assumptions apply?

Paired lists must have equal lengths. Variances use sample standard deviations where labelled. Probabilities must be nonnegative and sum to one; information is in bits, with zero-mass terms omitted. Pearson statistics use no continuity correction. Wilson uses the supplied normal critical value z.

How precise are the displayed results?

Numerical results show up to ten significant digits. Rounding does not improve the accuracy of the input measurements or the model. Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.

How we verified this calculator

The calculator is checked against 3 reference cases computed independently of its code. Last passed: .

# Inputs Expected result
1
Count n₁ = 20
Count n₂ = 20
Standard deviation s₁ = 2
Standard deviation s₂ = 2
Mean x̄₁ = 10
Mean x̄₂ = 9
Value d: 0.5
Standard deviation sp: 2
2
Count n₁ = 30
Count n₂ = 25
Standard deviation s₁ = 4.5
Standard deviation s₂ = 5.2
Mean x̄₁ = 72
Mean x̄₂ = 68.5
Value d: 0.724702656
Standard deviation sp: 4.829566956
3
Count n₁ = 12
Count n₂ = 15
Standard deviation s₁ = 1.2
Standard deviation s₂ = 0.8
Mean x̄₁ = 5.1
Mean x̄₂ = 5.6
Value d: -0.5020120806
Standard deviation sp: 0.9959919678

How we test our calculators →

Also try:

Back to category →