A little context. A clearer answer.
When this calculator is useful
Pool the group variances with weights nA−1 and nB−1. Divide mean A minus mean B by the pooled standard deviation. Multiply this d by the approximate small-sample correction J to obtain g, retaining the sign of A−B. For a related calculation, try Welch and paired t-tests.
What to enter
| Input | What it means | Example value |
|---|---|---|
| nA | Number of independent observations in group A. nA: 2…10000000 | 30 |
| Mean A | Sample mean for group A on the outcome scale shared by both groups. Mean A: -1000000000…1000000000 | 75 |
| Standard deviation A | Within-group sample standard deviation for group A. Standard deviation A: 0…1000000000 | 10 |
| nB | Number of independent observations in group B. nB: 2…10000000 | 30 |
| Mean B | Sample mean for group B on the same outcome scale. Mean B: -1000000000…1000000000 | 70 |
| Standard deviation B | Within-group sample standard deviation for group B. Standard deviation B: 0…1000000000 | 10 |
How the calculation works
- Change the inputs to explore your own scenario. nA: 2…10000000 ; Mean A: -1000000000…1000000000 ; Standard deviation A: 0…1000000000 ; nB: 2…10000000 ; Mean B: -1000000000…1000000000 ; Standard deviation B: 0…1000000000 .
- ν=nA+nB−2; sp=√[((nA−1)sA²+(nB−1)sB²)/ν]; d=(x̄A−x̄B)/sp; J≈1−3/(4ν−1); g≈Jd
- Two independent groups with a continuous outcome in the same units. Sample sizes are integers at least 2; SDs use the sample n−1 denominator and cannot both be zero. The pooled SD is weighted by group degrees of freedom. This tool names the uncorrected pooled standardized difference d and the bias-corrected result g; terminology can vary across references. J=1−3/(4df−1) is an approximation, not the exact gamma correction. No paired/clustered designs, covariate adjustment, confidence intervals, p-values, causal claims or universal small/large labels.
ν=nA+nB−2; sp=√[((nA−1)sA²+(nB−1)sB²)/ν]; d=(x̄A−x̄B)/sp; J≈1−3/(4ν−1); g≈JdA worked example
For two groups of 30 with means of 75 and 70 and a standard deviation of 10 in each group, the pooled standard deviation is 10. Cohen’s d is 0.5. With 58 degrees of freedom, multiplying by 228/231 gives Hedges’ g of about 0.494. The linked WWC case uses different sample sizes and standard deviations and gives approximately 0.09.
Example you can load
What to enterThis is a fixed example; changing the form above does not change these numbers.
Assumptions & limits
Two independent groups with a continuous outcome in the same units. Sample sizes are integers at least 2; SDs use the sample n−1 denominator and cannot both be zero. The pooled SD is weighted by group degrees of freedom. This tool names the uncorrected pooled standardized difference d and the bias-corrected result g; terminology can vary across references. J=1−3/(4df−1) is an approximation, not the exact gamma correction. No paired/clustered designs, covariate adjustment, confidence intervals, p-values, causal claims or universal small/large labels.
Frequently asked questions
Why is g slightly nearer zero than d?
The positive correction J is below one and reduces the magnitude of the standardized difference.
Can I enter a standard error as the SD?
No. The inputs require sample standard deviations.
Does a positive effect prove the intervention worked?
No. It only says the entered mean A is higher than mean B; design and uncertainty still matter.