Math & Scientific
Sample Size Calculator
Sample Size Calculator is a browser-based calculator tool on CalcToolsBase. Free, browser-based Sample Size Calculator with instant, clearly-labelled results. No signup, no uploads. To use it, enter your values and view the result directly in your browser — no signup and nothing to install.
Use Sample Size Calculator to work out a sample size: give it your population size, confidence level and margin of error, press Calculate, and read off the required sample size — all worked out on your device.
About this calculator
With the Sample Size Calculator you can work out a sample size in a few seconds. Supply your population size, confidence level and margin of error and read the required sample size, computed via n = z²·p(1−p) ÷ e². The tool is free, runs locally, and keeps every value on your machine.
For researchers and students, it turns the calculation into a quick, repeatable check and presents the required sample size plainly. Everything is computed locally, so your figures stay on your machine.
How to use
- Enter the population size, or leave it blank for a very large population.
- Enter the confidence level (for example 95).
- Enter the margin of error you can accept (for example 5).
- Press Calculate to see the required sample size.
Why use Sample Size Calculator
Fast
Calculations run in your browser. No round trip to a server.
Private
Your inputs never leave your device. Nothing is uploaded.
Free
No signup, no paywall, no ads-in-results, no watermarks.
Accurate
Uses standard, well-established formulas; check critical results independently.
Mobile-ready
Optimised for phones, tablets, and desktops alike.
Transparent
Honest disclaimers wherever browser limits or regional rules apply.
Common uses
Sample Size when preparing worksheets
Sample Size for verifying answers from a textbook
Sample Size for science-fair and project numbers
Sample Size for quick mental-math cross-checks
Sample Size in statistics and data coursework
Sample Size in research and report calculations
Technical notes
Sample Size Calculator uses n = z²·p(1 − p) ÷ e² for the margin of error and confidence level you set.
Inputs are taken exactly as entered, so check for typos before trusting an answer.
All arithmetic runs in your browser using double-precision floating point, so extreme inputs may show tiny rounding differences.
FAQ
Does it apply a finite population correction?
Yes. If you enter a population size, the required sample is adjusted downward; leaving it blank assumes an effectively infinite population.
What proportion does it assume?
It assumes the most conservative proportion of 50%, which gives the largest and therefore safest required sample size.
What do confidence and margin of error control?
Higher confidence or a smaller margin of error both increase the sample size you need.
Does the Sample Size Calculator send my data to a server?
No. The Sample Size Calculator runs entirely in your browser, so nothing you enter is uploaded, stored, or shared.
Worked example
For a 95% confidence level and 5% margin on a large population, the rule-of-thumb sample size is ≈ (1.96² × 0.25) ÷ 0.05² = 385.