Sample Size Calculator

Estimate sample counts for mean or proportion precision under entered assumptions.

On-device No sign-up Free to use

Calculate result controls

Showing an example. Edit to see your own.

?

Use 0.5 when unknown; values must be greater than 0 and less than 1.

?

Blank uses the infinite-population formula. A supplied size assumes simple random sampling without replacement.

?

Used by the proportion plan: 5 means within five percentage points. It is read when you fill it in, and only then. A mean plan uses Margin of error in the measurement units instead, in More options.

More options
?

The mean plan only. How close the estimate should be, in the same units as the planning standard deviation, so a 2 means within 2 of the true mean. The proportion plan above uses the percentage instead.

Processed in your browser. Your inputs stay on this device.

Result

Showing an example.

Plan a proportion estimate with 95% confidence, a five-percentage-point margin and planning proportion 0.5, without finite-population adjustment.

Plan at least 385 observations under the stated precision assumptions.

https://usefreetools.net/sample-size-calculator · 20 November 2026

Was this helpful?

How to use Sample Size Calculator

  1. Choose Population proportion or Population mean. Set the confidence level for the precision scenario.
  2. For a proportion, enter the planning proportion and Margin of error (%): 5 means five percentage points, not a relative 5% error.
  3. For a mean, enter planning standard deviation and Margin of error in the measurement units. That margin and SD must share the same units.
  4. Optionally enter finite population size only for an appropriate simple random sample without replacement. Blank leaves that adjustment out.
  5. Calculate and review the unrounded and rounded-up counts with the assumptions. Allow separately for nonresponse, clustering or another collection design.

Example: Sample Size Calculator

Plan a proportion estimate with 95% confidence, a five-percentage-point margin and planning proportion 0.5, without finite-population adjustment.

You add
Estimate to plan: Population proportion Confidence level (%): 95 Planning proportion: 0.5 Finite population size (optional): (blank) Margin of error (%): 5
You get
Plan at least 385 observations under the stated precision assumptions.

Options

Margin of error
Population proportion uses Margin of error (%), where 5 means five percentage points. Population mean uses Margin of error in the measurement units, matching the planning SD.
Planning assumptions
Use a planning proportion or deviation appropriate to the chosen method. A finite-population adjustment is a separate assumption.

Supported inputs and limits

  • Confidence level is 50.0001% to 99.999%.
  • Planning proportions must be strictly between 0 and 1;
  • SD and margin must be positive.
  • Optional finite population is a whole number from 2 to 10¹².
  • Plans whose unadjusted count exceeds one trillion are refused.
More details

This is a normal-approximation precision calculation, not hypothesis-test power, exact rare-outcome planning or estimated-SD t planning.

Nonresponse, selection bias, weighting, clustering and design effects are not added.

Finite-population adjustment assumes suitable random sampling without replacement.

A rounded count does not guarantee achieved coverage.

Where your input is processed

This tool does not upload your inputs. See the limits for anything saved on your device.

The count is for precision, not test power

The result rounds up a normal-approximation precision calculation. It does not plan power for a hypothesis test or automatically allow for nonresponse, clustering or selection bias. Keep the inputs with the count and account for the collection design separately.

Questions about Sample Size Calculator

What does a proportion of 0.5 mean here?

It supplies the largest variance for the supported proportion calculation when you have no better planning estimate.

Why is the count rounded upward?

A smaller whole count could miss the precision target under the entered model.

Does the result account for nonresponse?

No. Plan participation and sampling design separately.

Page updated · Project managed by Tony Hines · Report a problem with Sample Size Calculator