🔢 Math & Statistics

Sample Size Calculator

Estimate sample size for a population proportion using confidence level and margin of error.

Global useNo currencyInstant results
TOOL 50

Enter your values

Use the fields below to calculate your result.

Result
385
Required sample size385
Assumed proportion50%
Margin of error5%
Formula: n = z² p(1 − p) / e², rounded up to the next whole number.
Designed for estimating a population proportion with the stated confidence level and margin of error; it does not apply finite-population correction.

How to use this calculator

What to enter

Enter or select the following as requested: Confidence level; Expected proportion (%); Margin of error (%). Follow the units, valid ranges, examples, and options displayed beside each field.

What the result means

The statistical or model-evaluation result is computed from the supplied observations, labels, predictions, or parameter values using the metric named by the calculator. Check class definitions, positive/negative labels, averaging method, missing-data handling, and whether higher or lower values are desirable for this metric.

When to use it

Use this to evaluate data quality, model performance, or a statistical assumption. Interpret the metric alongside the dataset, baseline, class balance, and validation method rather than treating one score as proof of model quality.