Cohen's D Calculator
Calculate Cohen's d effect size between two groups using raw scores. Get means, standard deviations, pooled spread, and the final d value.
Enter the Details
Data set A:
Separate numbers using a comma (,)
Data set B:
Separate numbers using a comma (,)
Result will appear here...
What the Cohen's d calculator does
Cohen's d measures how big the difference between two groups is, in standard deviations. Where a p-value tells you whether a difference is real, Cohen's d tells you whether it is large. This calculator takes two data sets and works out d, along with the means, standard deviations, and pooled standard deviation behind it.
It answers the question a p-value leaves open: not just is there a difference, but how much of one. Below is how it works and how to read it.
How to use it
- Enter data set A in the first box and data set B in the second, separated by commas, spaces, or new lines.
- Press Calculate for Cohen's d and the statistics behind it, or Reset to clear it.
Each set needs at least two values, so its standard deviation can be worked out.
How Cohen's d is worked out
Cohen's d is the gap between the two means, measured in standard deviations. The calculator finds each group's mean and standard deviation, combines the two spreads into a single pooled standard deviation, and divides the difference of the means by it:
d = (mean of A minus mean of B) ÷ pooled standard deviation
The pooled standard deviation is a weighted blend of the two groups' standard deviations, giving a common yardstick for the difference. Dividing by it is what turns a difference measured in the original units into a pure number of standard deviations, so effects on completely different scales can be compared.
Reading the size of the effect
Because d is measured in standard deviations, it reads directly. A d of 1 means the two group means are a full standard deviation apart, which is a large, obvious gap. A d of 0.1 means they are only a tenth of a standard deviation apart, so the groups overlap almost completely.
The commonly used guideposts, from Jacob Cohen, are that a d around 0.2 is a small effect, around 0.5 is medium, and around 0.8 or more is large. These are rough conventions rather than strict cut-offs, and what counts as meaningful varies by field, but they give a shared vocabulary for talking about how much a difference actually amounts to.
Effect size versus significance
This is the distinction Cohen's d exists to make. A p-value answers whether a difference is likely to be real, but it is heavily swayed by sample size. With a large enough sample, even a difference too tiny to matter can come out statistically significant. Significance alone can make a trivial effect look impressive.
Cohen's d is not swayed that way. It measures the size of the difference itself, regardless of how many data points you gathered. That is why the two belong together: the p-value says whether an effect is there, and Cohen's d says whether it is big enough to care about. Reporting both gives the honest, complete picture.
A worked example
Suppose two groups have means that differ by 8, and their pooled standard deviation works out to 10.
Then Cohen's d is 8 ÷ 10 = 0.8. By the usual guideposts that is a large effect: the two group means sit eight tenths of a standard deviation apart, a gap big enough to be plainly visible and not just statistically detectable. Whatever the p-value says about whether the difference is real, the d of 0.8 says it is substantial.
Entering your data, and the rounding
Enter each group in its own box, separated by commas, spaces, or new lines, with at least two values in each. The calculator uses the sample standard deviation for each group and combines them into the pooled standard deviation. Cohen's d is shown to four decimal places. A negative d simply means group B had the larger mean, and only the size, not the sign, describes the magnitude of the effect.
Questions people ask
What is Cohen's d?
A measure of the size of the difference between two group means, expressed in standard deviations. It describes how large an effect is, rather than whether it is statistically significant.
What is a small, medium, or large d?
By Cohen's rough conventions, about 0.2 is small, 0.5 is medium, and 0.8 or more is large. These are guides rather than strict thresholds and vary by field.
How is it different from a p-value?
A p-value says whether a difference is likely real and depends on sample size. Cohen's d measures how big the difference is and does not. They answer different questions and are best reported together.
What does a negative d mean?
That the second group had the larger mean. The sign only shows direction, so the magnitude of the effect is read from the size of d regardless of sign.
References
A quick note on where the methods here come from. Cohen's d and its interpretation as a measure of effect size come from Jacob Cohen's work on statistical power, summarised in the NIST/SEMATECH e-Handbook of Statistical Methods, the US government's public statistics reference. OpenStax Introductory Statistics is a free, widely used textbook covering effect size alongside hypothesis testing.
- NIST/SEMATECH e-Handbook of Statistical Methods (effect size and the comparison of means). https://www.itl.nist.gov/div898/handbook/
- OpenStax, Introductory Statistics (comparing two independent population means). https://openstax.org/details/books/introductory-statistics-2e
Ankit Khatiwada is a researcher and graduate student in Computer Science at Saarland University, with strengths in statistics, data analysis, data engineering, and full stack development. His work sits at the intersection of quantitative reasoning and applied technology, making him a strong fit for tools that depend on clear numerical logic. At Eon Tools, he reviews number and statistical tools.
Other Tools
- Absolute Uncertainty Calculator
- Chi Square Calculator
- Chi-Square To P-Value Calculator
- Confidence Interval Calculator
- Degrees Of Freedom Calculator
- Margin Of Error Calculator
- P Value Calculator
- P-Value To Z-Score Calculator
- Relative Error Calculator
- Sensitivity And Specificity Calculator
- Standard Error Calculator
- T Statistic Calculator
- T Test Calculator
- Z Score Calculator
- Z-Score To P-Value Calculator