ToolPatch

One page. One job. Done.

← Back to all tools
Statistics

Sample Size Calculator

Estimate required sample size from confidence level, margin error, and proportion.

Last validated: 2026-02-14

Sample Size Calculator estimates required sample size from effect size, confidence, and power assumptions. It is useful for experiment planning and survey design before data collection starts. The tool helps avoid underpowered studies and unnecessary oversampling. Use it to justify data requirements in planning documents.

Permalink

Input Pattern

Enter values in the left panel, keep units explicit, run the calculation, then copy or share the result. Invalid fields are highlighted immediately.

Sample Size Inputs

Result

Infinite population n: 385

Adjusted n: 385

How to use this tool

  1. Enter expected effect size, confidence level, and desired power.
  2. Run the calculator to estimate minimum sample size.
  3. Adjust assumptions to see how design choices change required n.

Worked Example

Auto-generated from the tool's current default or entered inputs.

Example Inputs

  • Confidence: 95
  • Margin error percent: 5.0
  • Estimated proportion percent: 50.0
  • Population size: 0
  • Sample size infinite: 385
  • Sample size adjusted: 385

Expected Outputs

  • Margin error percent: 5
  • Estimated proportion percent: 50
  • Population size: 0
  • Sample size infinite: 385

Interpretation

Scenario Compare (A vs B)

Use this to compare two input sets and quantify change in key outputs.

Scenario A

Scenario B

Confidence and limitations

Formula References

Assumptions

Explore more versions

Tailored guides for specific audiences, regions, and scenarios.

Survey and research tools

Promote form builders, survey platforms, and research planning templates.

Sponsored