Cohen’s d Calculator: Calculate Effect Size


Cohen’s d Effect Size Calculator

Instantly calculate the standardized difference between two means for your research.


The average value for the first group.


The average value for the second group.


The measure of variation for Group 1.


The measure of variation for Group 2.


Number of participants in Group 1.


Number of participants in Group 2.

Cohen’s d = 0.33
Medium Effect Size

Mean Difference

5.00

Pooled SD

15.00

Overlap

87%

Visual Comparison of Group Means
Bar chart comparing the means of Group 1 and Group 2. Group 1 105

Group 2 100


What is Cohen’s d?

Cohen’s d is a widely used method for measuring effect size. In statistics, while a p-value might tell you if there is a statistically significant difference between two groups, it doesn’t describe the *magnitude* of that difference. Cohen’s d, a standardized mean difference, fills this gap by quantifying the size of the difference in terms of standard deviations. For example, a Cohen’s d of 0.5 means the difference between the two group means is half a standard deviation. This makes it an invaluable tool for researchers, psychologists, and data scientists to understand the practical significance of their findings, comparing the “signal” (the mean difference) to the “noise” (the variability).

The Formula to Calculate the Effect Size using Cohen’s d

The calculation involves finding the difference between the two group means and dividing it by the pooled standard deviation. The formula is as follows:

d = (M₁ – M₂) / spooled

Where spooled (the pooled standard deviation) is calculated using the sample sizes (n) and standard deviations (s) of the two groups:

spooled = √[((n₁-1)s₁² + (n₂-1)s₂²) / (n₁ + n₂ – 2)]

Formula Variables
Variable Meaning Unit Typical Range
M₁ / M₂ The mean (average) of each group. Unitless (or original data units) Varies by study
s₁ / s₂ The standard deviation of each group. Unitless (or original data units) Varies by study (>0)
n₁ / n₂ The sample size (number of observations) for each group. Count Integer > 1
d Cohen’s d effect size. Standard Deviations Typically -3.0 to +3.0

A major advantage of using Cohen’s d is that it is a unitless measure, which allows for comparison across different studies and scales.

Practical Examples

Example 1: Educational Intervention

An educational psychologist wants to test a new reading program. She tests a control group (Group 1) and a group using the new program (Group 2). After six weeks, she measures their reading comprehension scores.

  • Group 1 (Control): Mean = 75, SD = 8, n = 40
  • Group 2 (Program): Mean = 81, SD = 9, n = 40

Using the calculator, we find that Cohen’s d is approximately -0.70. The negative sign simply indicates the second group had a higher mean. The magnitude (0.70) suggests a medium-to-large effect size, indicating the new program had a practically significant positive impact on reading scores.

Example 2: Medical Treatment

A researcher is studying a new medication to lower blood pressure. They record the systolic blood pressure of a placebo group and a treatment group.

  • Group 1 (Placebo): Mean = 145 mmHg, SD = 12, n = 60
  • Group 2 (Treatment): Mean = 138 mmHg, SD = 11, n = 60

The calculator shows Cohen’s d is approximately 0.61. This is a medium effect size, suggesting the medication is effective at lowering blood pressure to a noticeable degree compared to the natural variation within the groups.

How to Use This Cohen’s d Calculator

  1. Enter Group 1 Data: Input the Mean (M₁), Standard Deviation (SD₁), and Sample Size (n₁) for your first group (e.g., the control group).
  2. Enter Group 2 Data: Input the corresponding values (M₂, SD₂, n₂) for your second group (e.g., the treatment or experimental group).
  3. Review Real-Time Results: The calculator automatically updates as you type. The primary result is the Cohen’s d value.
  4. Interpret the Effect Size: Below the main result, an interpretation (e.g., “Small Effect Size,” “Medium Effect Size,” “Large Effect Size”) is provided based on established benchmarks.
  5. Analyze Intermediate Values: The calculator also shows the Mean Difference and the Pooled Standard Deviation, which are key components of the main calculation.

Key Factors That Affect Cohen’s d

  • The Difference Between Means (M₁ – M₂): This is the numerator of the formula. A larger difference between the two group averages will result in a larger Cohen’s d, assuming variability is constant.
  • The Amount of Variation (Standard Deviation): This is the denominator. Less variability (smaller SDs) within the groups leads to a larger Cohen’s d. When groups are very consistent internally, even a small mean difference can be significant.
  • Sample Size (n₁ and n₂): Sample sizes are crucial for calculating the pooled standard deviation. Unequal or small sample sizes can affect the reliability of the standard deviation estimate. Using Hedges’ g is sometimes recommended for small sample sizes to correct for a slight upward bias.
  • Measurement Error: Imprecise or unreliable measurement tools can inflate the standard deviations, which in turn will decrease the calculated Cohen’s d, potentially masking a true effect.
  • Homogeneity of Variances: The standard Cohen’s d formula assumes that the standard deviations of the two groups are roughly equal. If they are very different, the pooled SD might not be an accurate representation, and an alternative like Glass’s Δ might be considered.
  • Correlation Between Measures (for within-subjects designs): For paired samples (e.g., pre-test/post-test), the correlation between scores affects the standard error and the interpretation of the effect size, requiring a different variation of the formula not covered by this specific calculator.

Frequently Asked Questions (FAQ)

What do the terms “small,” “medium,” and “large” effect size mean?

These are common benchmarks proposed by Jacob Cohen to provide a general sense of magnitude. A small (d ≈ 0.2) effect is noticeable but not obvious, a medium (d ≈ 0.5) effect is apparent to a careful observer, and a large (d ≈ 0.8) effect is easily visible. However, context is crucial; a “small” effect in a medical study could be life-saving.

Can Cohen’s d be negative?

Yes. The sign of Cohen’s d simply indicates the direction of the difference. By convention, it’s often (M₁ – M₂). If M₂ is larger than M₁, the result will be negative. Most researchers report the absolute value and describe the direction in text (e.g., “The treatment group scored higher…”).

Is a large Cohen’s d always better?

Not necessarily. While a large effect is statistically stronger, its practical importance depends entirely on the context. A small effect in a large-scale public health intervention could impact millions of people and be highly significant, whereas a large effect in a niche laboratory experiment might have limited real-world application.

What is the difference between Cohen’s d and a t-value?

A t-value is used to determine statistical significance (i.e., whether to reject the null hypothesis) and is dependent on sample size. Cohen’s d measures the size of the effect, independent of sample size. You can have a highly significant t-value (due to a massive sample size) but a tiny Cohen’s d, indicating the effect is real but trivial.

Are the input values unitless?

The calculation itself produces a unitless result (in standard deviations). Your input means and standard deviations should be in the same, original units of measurement (e.g., kilograms, test scores, milliseconds), but you don’t need to convert them to a standard format as the formula standardizes the difference.

When should I use Hedges’ g instead of Cohen’s d?

Hedges’ g is a variation of Cohen’s d that includes a correction for bias in small samples. It is often recommended when the sample size of either group is less than 20. For larger samples, the difference between Cohen’s d and Hedges’ g is negligible.

How does sample size affect the result?

Sample size is a direct component of the pooled standard deviation formula. While a larger sample doesn’t directly increase or decrease Cohen’s d in the way it does a t-value, it provides a more accurate and stable estimate of the population’s standard deviation, making the resulting effect size more reliable.

Where can I learn more about effect sizes?

For more detailed information, exploring resources on statistical power analysis, meta-analysis, and research methodology can be very helpful. Reviewing seminal works by Jacob Cohen is also a great starting point for a deep dive into the theory.

Related Tools and Internal Resources

Explore these other statistical calculators to further your analysis:

© 2026 Your Company. All rights reserved. For educational and informational purposes only.



Leave a Reply

Your email address will not be published. Required fields are marked *