Life Calculator
MAKE THE FORMULA CLEAR

Survey sample size and proportion interval

Plan the number of valid survey responses or estimate an interval for an observed proportion.

Start with your own numbers

Editable example

An example is filled in. Replace it with your own data to calculate.

Choose planning or an observed interval. A margin of 5 means plus or minus five percentage points.

Loading calculator…

Choose a planning target before collection or an interval after collecting responses.
Choose the desired confidence level for the selected calculation.
For an error of plus or minus 5 percentage points, enter 5.
If unknown, 50% is the conservative planning assumption.
Enter the number of eligible people, or leave blank if unknown.

Results update when inputs are complete. A plan is kept only when you save it. Inputs and results are not uploaded.

Saved plans →

Saved in this browser. Before changing devices, export a backup from My tools.

Example result

Estimated valid responses needed

385people

The sample must satisfy the random sampling assumption; valid responses are not the same as invitations.

Worked steps

  1. Estimate with a normal approximation using the expected proportion, margin and confidence level.
  2. If a population size is entered, apply the finite-population correction, then round up.

This tool addresses one proportion. Planning uses a normal approximation with an optional finite-population correction and rounds up; the observed interval uses Wilson score. The methods differ and do not promise the same interval width. Simple random sampling is assumed; convenience or self-selected samples, nonresponse, weighting and clustering may introduce bias. Enter eligible population size or leave blank if unknown. This is a valid response count, not an invitation count or a study design recommendation.

Method and scope

Planning uses a normal approximation and optional finite-population correction; the observed interval uses the Wilson score method. These are different methods.

These estimates assume simple random sampling. Self-selected, weighted, clustered, or nonresponse-biased data may not be representative.

References:itl.nist.gov reference、online.stat.psu.edu reference

Purpose

Plan valid responses before a survey or estimate the interval for an observed yes/no proportion afterward.

Inputs

For planning, enter confidence, error in percentage points, an expected proportion and an optional eligible population size. For an interval, enter valid responses and the number meeting the condition.

Formula

Planning uses z²p(1−p)/e², with an optional finite-population correction and rounding up. The observed interval uses Wilson score bounds.

Example

At 95% confidence, 5 percentage points of margin and a 50% planning proportion, a large population requires 385 valid responses.

Understanding the result

A valid-response target is not the number of invitations. The interval describes uncertainty under the stated sampling assumptions.

Limits

Simple random sampling is assumed. Nonresponse, self-selection, weighting, clustering and measurement errors are not corrected; representativeness is not guaranteed.

Keep it handy for next time

Add Survey sample size and proportion interval to your home screen

This icon opens this tool. Confirm installation in your browser.

  1. iPhone: Open in Safari, tap Share → Add to Home Screen, then confirm.
  2. Android: Open in Chrome and choose Install app or Add to Home screen from the menu.
  3. In an in-app browser such as LINE or Facebook, use its menu to open the page in Safari or Chrome first.

Browser options vary. A shortcut does not provide cross-device synchronization, and an installed app may have separate storage. Export a backup from My tools first. The first load requires a connection.

Checking offline data.