Sample size calculator
A precise, accessible tool for planning data collection by computing necessary sample size for proportions or means in surveys and experiments.
Tool coming soon!
We're working hard to get this tool ready for you.
Build Your Own Custom Web Calculator in Seconds
Type what tool or calculator you need below. Our AI will build it instantly for your site.
About This Tool
Conceptually, it uses standard formulas: for proportions, n0 = (Z^2 p(1-p)) / E^2; for means, n0 = (Z^2 s^2) / E^2. If the population is finite, it applies the finite population correction n = n0 / (1 + (n0 - 1)/N). Optional design effects can scale the result to accommodate cluster sampling or weighting; non-response adjustments may increase the target sample. Defaults assume p=0.5 and a 95% confidence level.
Inputs include population size N, margin of error E (in percentage points), confidence level CL (percent), and either an estimated proportion p or a standard deviation s. Outputs present the recommended sample size n, the adjusted margin of error, and the impact of design choices. The tool clarifies the implications for survey timelines, budgets, and data quality.
Ideal users are researchers, students, marketers, and product teams planning surveys, interviews, or experiments. Unique value lies in explicit finite population handling, clear methodological notes, and straightforward sensitivity analysis. The tool emphasizes transparency: it shows formulas, assumptions, and reproducible results to support audit trails and methodological discussions.
How to Use
- Provide inputs: set population size N (leave blank for very large populations), margin of error E (in percentage points), confidence level CL (as a percent), and either estimated proportion p (0-
- or standard deviation s.
- Choose advanced options: enable finite population correction and set design effect DEFF if known.
- Run calculation: the tool computes the base n0, applies FPC and DEFF, and outputs the final recommended sample size.
- Review outputs: inspect n, effective margin of error, and any notes about assumptions.
- Export or save: copy inputs and results or export to CSV/JSON if supported.
Frequently Asked Questions
Find Quick Answers
What is a sample size and why does it matter?
Does the calculator assume simple random sampling?
What if population size is unknown?
How does design effect influence the result?
Need to run multiple calculations?
Create a free account today to unlock unlimited daily runs, access advanced parameters, save your history, and request custom features.
Related Tools
Other useful calculators and utilities you might like
Spotify to MP3 Converter
Convert Spotify tracks and playlists to MP3 format instantly with our free online converter.
Road Distance Calculator
Calculate the driving distance and travel time between two addresses with our free online road dista...
Your Feedback Matters
Help Us to Improve
Norwegian
Danish
German
English
Spanish
French
Italian
Dutch
Portuguese
Swedish
Hebrew
Arabic