Sample Size Calculator

Estimate sample size needed for a target margin of error.

Scratchpad (not saved)

What This Calculator Does

Estimate sample size needed for a target margin of error.

It combines Z Value, Estimated SD, Margin of Error to estimate Required Sample Size.

Formula & Method

Core equations: Proportion sample size: n=z2p(1p)E2n=\frac{z^2p(1-p)}{E^2} (with finite-pop correction if used).

Notation used in the formulas: RR = Required Sample Size; x1x_{1} = Z Value; x2x_{2} = Estimated SD; x3x_{3} = Margin of Error.

Method summary: inputs are normalized to consistent units, core equations are evaluated, then secondary values are derived and rounded for display.

Use this calculator for quick scenario analysis. Start with baseline values, change one driver at a time, and compare how sensitive the results are to each input shown above.

Reference Book

Introduction to Mathematical Statistics

Global Edition

Robert V. Hogg, Joseph McKean, and Allen T. Craig · Pearson

A standard reference for probability distributions, estimation, hypothesis testing, regression, and ANOVA.

View Book

Inputs Used

  • Z Value: Used directly in the calculation.
  • Estimated SD: Used directly in the calculation.
  • Margin of Error: Used directly in the calculation.

Related Calculators