Data Science

Sample Size for Proportion Calculator

Estimate the required sample size for a population proportion from a z critical value, expected proportion and margin of error.

Explore statistics and data science calculators

Move between confidence intervals, sample size, standard error, relative variability, correlation, regression and prediction error.

Share this calculator
WhatsApp

Sample Size for Proportion Calculator is an educational statistics and data-science tool for exploring a standard quantitative relationship.

How it works

Enter the requested values using the stated definitions. The calculator validates the numerical domain and applies n = z² p(1-p) / e².

The formula

n = z² p(1-p) / e²

Variables: z = Z critical value; p = Expected proportion (%); e = Margin of error (%).

Worked example

Example: z = 1.96, p = 50%, e = 5% → n = 385 after rounding upward.

Frequently asked questions

What is this statistics calculator intended for?

It is intended for study, classroom exercises and quick exploration of the stated statistical relationship.

Does the result replace a full statistical analysis?

No. Sampling design, assumptions, data quality, dependence, distribution shape, bias and model diagnostics may materially affect a real analysis.

Last content reviewSeptember 26, 2026
Editorial reviewHe-Sab Editorial Review

Sources and references

These sources are used to verify terminology, formulas, and information related to this calculator.