← Writing Support

🧮 Sample Size Calculator

Work out how many participants or samples you need for a survey (prevalence), an independent or paired t-test, a comparison of two proportions, or a one-way ANOVA. Get the number, the formula used and a sentence you can adapt for your methods section.

🔒 Nothing you enter leaves your device. Everything is calculated in your browser.
Survey or prevalence study
If you do not know the expected proportion, use 50%, which gives the largest sample.
Allow for dropout (optional)
Sample size needed
—
Formula used
Sentence for your methods section
This is a standard textbook calculation. For clustered, repeated-measures, survival, regression or other complex designs, ask a statistician. Effect sizes and standard deviations should come from pilot data or earlier studies, not guesses.
Share:💬 WhatsApp✉️ Email

Free sample size calculator for research

Ethics committees, funders and journal reviewers all ask how you decided on your sample size. This calculator covers the designs students and early researchers meet most often: surveys and prevalence studies, independent and paired t-tests, comparisons of two proportions, and one-way ANOVA. It shows the number, the formula behind it, and a sentence you can adapt for your methods section.

Choose the right inputs

The result depends on the effect you want to detect and on how variable the data are. Take the standard deviation and the expected difference from a pilot study or from published work on a similar population. If you guess, say so in your methods and justify the choice.

Pick the right test first

Not sure which test fits your data? Use the Statistical Test Selector, and read our guide on choosing a statistical test. For how to report your sample size in a paper, see our guide on justifying your sample size.