The Cohen’s h calculator gives the effect size of the difference between two proportions and the sample size per group needed to detect it with the power and the significance level you choose.
How the calculation works
- Enter the two proportions in percent.
- Choose the significance level and the power.
- The calculator gives Cohen’s h, its size category, the sample size per group and the total.
Example
A new design is expected to convert 35 % of visitors against 25 % for the old one. The angles are 2 × arcsin(√0.35) = 72.5° and 2 × arcsin(√0.25) = 60°, so h = 0.2189, a small effect. With a 5 % two-sided test and 80 % power, n = 2 × 2.80² / 0.2189² gives 328 per group, or 656 in total.
Why it matters
The calculator helps researchers who plan studies with binary outcomes, marketing and product teams who size an A/B test, and students who report effect sizes.
Good to know
The arcsine approach is a good approximation for proportions between about 5 % and 95 % and for groups of at least 20. For very rare events, an exact method is better. The sample size assumes equal groups; with unequal groups, the total grows. A small effect usually demands hundreds of people per group, so check that the expected difference is realistic. Report h together with the proportions and a confidence interval, not alone. If you compare a proportion with a fixed value rather than with another group, the single-sample version halves the variance and divides the sample size by two.
Related tools
The Cohen’s d calculator covers differences in means, the statistical power calculator links effect, sample and power, the A/B test sample size calculator targets conversion rates and the effect size converter moves between d, r and odds ratios.