👥 Sample Size Calculator

Plan a survey: find the sample size needed for your confidence level and margin of error, with finite-population correction.

Also known as: Survey Sample Size · Power Analysis Calculator

Loading calculator…

How to use the Sample Size Calculator

  1. Enter your values in the fields above — the defaults show a worked example.
  2. The result updates instantly as you type; change any input to compare scenarios.
  3. Copy or share the result, or open a related calculator below.

How it's calculated

n₀ = z² p(1 − p) ÷ E². With population N: n = n₀ ÷ (1 + (n₀ − 1)/N).

Frequently asked questions

Why use 50% as the proportion?
It gives the largest (most conservative) sample size when you don't know the true proportion.
Is the Sample Size Calculator free?
Yes. The Sample Size Calculator on CalculatorSprint is completely free with no sign-up. Every calculation runs in your browser, so the numbers you enter are never sent to our servers.
How accurate is the Sample Size Calculator?
It uses the method described under “How it’s calculated” and keeps full precision internally, rounding only the displayed result.
Can I use the Sample Size Calculator on my phone or offline?
Yes. It works on any phone, tablet or computer. Install CalculatorSprint as an app from your browser menu (Add to Home Screen or Install app) and it keeps working offline.

Read more about the Sample Size Calculator

When to use the Sample Size Calculator

Use the Sample Size Calculator for how many survey responses you need for a given confidence level and margin of error. It is one of 18 free statistics & probability calculators, and pairs well with the Margin of Error Calculator, Confidence Interval Calculator, Mean, Median, Mode Calculator and Descriptive Statistics Calculator.

Tips for accurate results

Check that your input uses the expected format (decimals, fractions or one value per line), keep full precision until the final step, and use the worked formula below the result to verify the answer by hand or for homework.

Was this helpful?

More Statistics & Probability Calculators

See all Statistics & Probability Calculators →

Popular calculators

Results are estimates for information only. Calculations run privately in your browser.