Skip to content
CalculatorAtlas

Effect Size (Cohen's d) Calculator

Tested

Cohen's d for two groups.

Tested, not yet published. The formula for this calculator is implemented and passes its automated checks. This page stays non-indexable until it is reviewed and published.

Results

Enter your values and press Calculate. Results appear here.

  • • Result

Quick answer

Cohen's d is the standardised difference between two means: d = (m₁ − m₂) ÷ s_pooled with s_pooled = √(((n₁ − 1)s₁² + (n₂ − 1)s₂²) ÷ (n₁ + n₂ − 2)). Means of 10 and 8 with SD 2 in both groups give d = 1 and a pooled SD of 2.

Enter the mean, SD and size for each group. The calculator returns Cohen's d and the pooled SD. Use this effect size (cohen's d) calculator to check your own figures.

Related tools: Sample Size Calculator: Sample size for estimating a mean or a proportion. Confidence Interval Calculator: Confidence interval for a mean (t or z). Point Estimate Calculator: Point estimates of a proportion (MLE, Laplace and Wilson).

How to use the Effect Size (Cohen's d) Calculator

  1. Enter mean 1.
  2. Enter sD 1 (above 0).
  3. Enter n₁ (a whole number, 2 or more).
  4. Enter mean 2.
  5. Enter sD 2 (above 0).
  6. Enter n₂ (a whole number, 2 or more).
  7. Press Calculate to see the result, and use Reset to start again.
Inputs of the Effect Size (Cohen's d) Calculator
InputWhat to enterAllowed values
Mean 1A number—
SD 1A number> 0
n₁A whole number≥ 2
Mean 2A number—
SD 2A number> 0
n₂A whole number≥ 2

Formula and method

Formula

d = (m₁ − m₂) ÷ s_pooled, s_pooled = √(((n₁−1)s₁² + (n₂−1)s₂²) ÷ (n₁ + n₂ − 2))

IEEE-754 double precision; shown to at most 6 decimal places.

Pooled-SD standardized mean difference; |d| ≈ 0.2 small, 0.5 medium, 0.8 large (Cohen's conventions).

Worked examples

This example is verified: each one is an automated test case that the live calculator must reproduce exactly.

Example 1

Inputs: Mean 1 = 10; SD 1 = 2; n₁ = 30; Mean 2 = 8; SD 2 = 2; n₂ = 30.

Results of example 1
ResultValue
Cohen's d1
Pooled SD2

The first line is the headline result (cohen's d). Below it the effect Size (Cohen's d) Calculator lists pooled SD, which describe the same case from other angles. IEEE-754 double precision; shown to at most 6 decimal places.

Interpretation

Cohen's rough guide: 0.2 small, 0.5 medium and 0.8 large. A d of 1 means the groups differ by one standard deviation, a large effect: the average person in group 1 scores higher than about 84% of group 2.

Why report it

A p-value says whether an effect exists; the effect size says how big it is, independent of sample size. Each group needs n ≥ 2.

How the result changes with mean 1

Holding every other input at the first worked example, this table changes only mean 1. It shows how sensitive the answer is to that one value; each row was produced by running this calculator.

How the result changes with mean 1
Mean 1Cohen's dPooled SD
5-1.52
1012
2062
40162

What happens with invalid input

These messages are produced by the calculator itself, so you know what to fix.

  • SD 1: entering "0" shows "SD 1 must be greater than 0." beside that field and no result.

Choosing between the Effect Size (Cohen's d) Calculator and similar calculators

Each row shows what a related calculator on this site asks for and what it returns, so you can pick the one that matches your question.

Choosing between the Effect Size (Cohen's d) Calculator and similar calculators
CalculatorYou enterIt returns
[Sample Size Calculator](/statistics/sample-size-calculator/)estimate a, confidence level and margin of errorRequired sample size
[Confidence Interval Calculator](/statistics/confidence-interval-calculator/)sample mean, standard deviation and sample sizeConfidence interval
[Point Estimate Calculator](/statistics/point-estimate/)successes and trialsSample proportion
[Standard Error Calculator](/statistics/standard-error-calculator/)statistic, standard deviation or proportion p and sample sizeStandard error
[Margin of Error Calculator](/statistics/margin-of-error-calculator/)for a, confidence level and σ or proportion pMargin of error

Background: hypothesis testing and inference

A hypothesis test compares a test statistic with what the null hypothesis predicts. The decision rule is to reject the null hypothesis when the p-value is at or below the significance level α, which you should choose before seeing the data (0.05 is conventional, not special). For a two-tailed z test the p-value is 2 × (1 − Φ(|z|)); for a one-sample t test the statistic is (x̄ − μ₀) ÷ (s ÷ √n) with n − 1 degrees of freedom.

Failing to reject the null hypothesis does not prove it true, and a statistically significant result can still be too small to matter in practice.

Assumptions and limitations

  • n ≥ 2 per group

If a required value is empty, not a number, or outside its allowed range, the form marks that field with a message and shows no result instead of a misleading number. The automated checks deliberately try invalid entries for sD 1 to confirm this.

Frequently asked questions

Is d the same as significance?

No. Effect size says how large a difference is; significance says whether it is unlikely to be chance, and a tiny effect can be significant in a large sample.

What d is large?

By Cohen's convention, d of 0.8 or more is large, 0.5 medium and 0.2 small.

What is Hedges' g?

A small-sample corrected d.

What does the Effect Size (Cohen's d) Calculator calculate?

Cohen's d for two groups. It returns Cohen's d and Pooled SD.

What formula does the Effect Size (Cohen's d) Calculator use?

d = (m₁ − m₂) ÷ s_pooled, s_pooled = √(((n₁−1)s₁² + (n₂−1)s₂²) ÷ (n₁ + n₂ − 2)). Pooled-SD standardized mean difference; |d| ≈ 0.2 small, 0.5 medium, 0.8 large (Cohen's conventions).

What do I need to enter in the effect Size (Cohen's d) Calculator?

You enter Mean 1, SD 1, n₁, Mean 2, SD 2 and n₂.

How is the result rounded or limited?

IEEE-754 double precision; shown to at most 6 decimal places. n ≥ 2 per group.

What is an example of a effect Size (Cohen's d) result?

With mean 1 10, sD 1 2, n₁ 30, mean 2 8 and sD 2 2, the cohen's d is 1.

Where does the method come from?

The method follows: Cohen J, Statistical Power Analysis for the Behavioral Sciences, 2nd ed. (1988).

Sources

  • Cohen J, Statistical Power Analysis for the Behavioral Sciences, 2nd ed. (1988)

Content last reviewed 2026-11-04. Formulas and worked examples are checked by automated tests against independently computed values.