Confidence interval for a mean
Calculate a z-based confidence interval from a mean, standard deviation and sample size.
Estimate a proportion survey sample size from confidence z-score, proportion and margin.
Estimate a proportion survey sample size from confidence z-score, proportion and margin.
Z critical value: 1.96; Estimated proportion: 0.5; Margin of error as decimal: 0.05.
Required sample size: 385 people.
This simple random-sample formula excludes finite-population correction, design effect, nonresponse and weighting.
Results are rounded for display; calculations use unrounded values. Read our calculation methodology.
Estimate a proportion survey sample size from confidence z-score, proportion and margin. The displayed figures use the inputs and formula shown on this page.
Use the sample size to compare a scenario, check an estimate, or verify a manual calculation.
| Input | What to enter |
|---|---|
| Z critical value | Enter a number of at least 0.000001 and no more than 1000000000000. |
| Estimated proportion | Enter a number of at least 0.000001 and no more than 0.999999. |
| Margin of error as decimal | Enter a number of at least 0.000001 and no more than 0.999999. |
This simple random-sample formula excludes finite-population correction, design effect, nonresponse and weighting.
It is exact for the stated mathematical model and entered values. Real-world results can differ when rates, timing, fees, definitions or measurement conditions differ.