Sample Size Calculator
Determine the sample size you need for your experiment. Supports t-tests, proportions, and ANOVA.
Test Type
0.2 = small, 0.5 = medium, 0.8 = large
0.2 = small, 0.5 = medium, 0.8 = large
0.10 = small, 0.25 = medium, 0.40 = large
Need more than a calculator?
Run this analysis on your own data with 200+ statistical tests, SPC charts, DOE, and AI-powered insights.
Start FreeFrequently Asked Questions
How do I determine the right sample size?
You need four inputs: the minimum effect size you want to detect, the expected variability, your significance level (alpha, typically 0.05), and your desired statistical power (typically 0.80). This calculator combines these to compute the sample size needed.
What is statistical power?
Power is the probability of detecting a real effect (1 - beta). Power of 0.80 means an 80% chance of detecting the effect if it exists. Higher power requires more samples but reduces the chance of a false negative (Type II error).
What is Cohen's d?
Cohen's d is a standardized effect size for t-tests: d = (mean difference) / (standard deviation). Convention: 0.2 = small, 0.5 = medium, 0.8 = large. Use it when you don't know the exact scale of your measurements but can estimate relative magnitude.
What alpha level should I use?
Alpha = 0.05 is the most common choice (5% chance of false positive). Use 0.01 for stricter tests (medical, safety-critical). Use 0.10 for exploratory analysis or screening experiments where false negatives are costlier.