Sample Size Calculator

Math Tools

Sample Size Calculator

Estimate sample size requirements for surveys and studies using confidence level, margin of error, estimated proportion, and finite population correction.

Sample Size Calculator

Estimate the sample size needed for surveys and studies based on confidence level, margin of error, and expected proportion.

Use conservative estimate

Uses p = 50%, which gives the safest larger sample size.

Apply finite population correction

Use this when your total population size is known and limited.

Formula

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

Results

Z-score used

1.96

Required sample size

385

Recommended Research Tool

Planning surveys or research projects?

A research planning notebook, survey workbook, or statistics reference can help organize sample size assumptions, survey questions, and study notes.

View Research Tool

This section may contain affiliate links.

Rectangular banner showing survey planning, research notes, and statistics tools

What this calculator does

This calculator estimates the sample size needed for surveys and studies based on confidence level, margin of error, and an estimated proportion. It can also apply finite population correction when your total population is known.

What is a sample size calculator?

A sample size calculator helps determine how many people, responses, or observations you need in a survey or study to achieve a desired level of statistical reliability. Instead of guessing how large your sample should be, you can use the calculator to estimate a sample size based on confidence level, margin of error, and expected proportion.

This is useful in market research, academic studies, customer surveys, public opinion polling, healthcare research, and business analysis. A proper sample size improves the quality of results and reduces the risk of drawing conclusions from too little data.

Sample size formula for surveys and studies

The standard sample size formula for proportions is based on the confidence level, margin of error, and expected proportion:

Formula

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

In this formula, z is the z-score linked to the confidence level, p is the estimated proportion, and e is the margin of error. This formula is widely used for survey sample size calculation.

Sample size chart for common confidence levels and margins of error

These quick reference values use the conservative estimate of 50%.

Confidence levelMargin of errorRequired sample size
90%5%271
95%5%385
99%5%664
95%3%1068
95%2%2401

How to calculate sample size step by step

First, choose the confidence level you want for your survey or study. Common choices are 90%, 95%, and 99%. Then enter the margin of error you are willing to accept. A smaller margin of error requires a larger sample.

Next, decide whether to use a conservative estimate. If you do not know the expected proportion, 50% is commonly used because it gives the largest and safest sample size. If you already have a realistic estimated proportion, you can enter that instead.

If your total population is known and limited, you can also apply finite population correction. This usually reduces the final sample size when the total population is relatively small.

What confidence level means in sample size calculation

Confidence level shows how certain you want to be that your survey estimate falls within the chosen margin of error. A 95% confidence level is the most common standard because it balances reliability and practical sample size.

Higher confidence levels, such as 99%, require a larger sample size. Lower confidence levels, such as 90%, require fewer responses but provide less certainty. The choice depends on how precise and reliable your study needs to be.

Why 50% is used for the conservative sample size estimate

When the true proportion is unknown, researchers often use 50% as the estimated proportion because it produces the largest required sample size. That makes it a conservative estimate and reduces the chance of underestimating how many responses are needed.

If you already have prior data suggesting that the true proportion is far from 50%, entering a more realistic estimate may produce a smaller required sample size.

When to use finite population correction

Finite population correction is used when the total population is known and not very large. For example, if you are surveying a fixed group such as employees in one company, registered members of an organization, or students in a school, this adjustment can make the required sample size more realistic.

For very large or effectively unlimited populations, finite population correction usually has little effect and is often not necessary.

Where a sample size calculator is useful

A sample size calculator is useful for surveys, questionnaires, opinion polls, academic research, A/B testing, healthcare studies, and business analytics. It helps ensure that your sample is large enough to support useful conclusions.

Without a proper sample size, survey results may be too noisy, misleading, or statistically weak. Using a calculator before data collection makes your results more credible and easier to defend.

Sample size calculator FAQ and survey sample size questions

How do you calculate sample size for a survey?

Sample size is commonly calculated using the formula n = z² × p(1-p) / e², where z is the z-score, p is the estimated proportion, and e is the margin of error.

What is the best confidence level for survey sample size?

The most common choice is 95% confidence because it offers a good balance between reliability and required sample size. Some studies use 90% or 99% depending on their goals.

Why does a smaller margin of error increase sample size?

A smaller margin of error means you want more precision, so you need more responses or observations to reduce uncertainty.

Why is 50% used in a conservative sample size estimate?

Because 50% produces the largest required sample size, it is the safest default when the true proportion is unknown.

When should I use finite population correction?

Use it when the total population is known and limited, such as a fixed number of employees, members, students, or households in a study.