How many people should you study?

Estimate the sample size for your survey or research project with Cochran's formula or Yamane's formula, explained step by step, free, and no sign-up needed.
AChoose a calculation method

The two methods answer different questions and are not interchangeable. Pick the one that matches your outcome and your supervisor's or sponsor's requirements.

BEnter your study information

Only the fields relevant to Cochran's Sample Size Formula are shown.

Population size

Choose Unknown / very large when you cannot list everyone in the population (the calculator skips the finite population correction). Choose Known when you have a definite total, e.g. all 2,400 students in a faculty.

Confidence level

How certain you want to be that your sample reflects the population. 95% is the conventional choice for student and professional research.

How much error you can accept around your estimate. The default 5% is the conventional margin; smaller margins need much larger samples.

Your best guess of the answer as a percentage. 50% is the conservative default when you do not know, it gives the largest, safest sample. Example: enter 40 if you expect 40% "yes".

Accounts for complex sampling designs (cluster or multi-stage sampling) that need larger samples than simple random sampling. Keep 1.0 unless your sampling design or prior evidence justifies a value. Do not choose it arbitrarily.

The share of people you expect to decline or be unreachable. We inflate the target so you approach enough people. Enter 10 for 10%.

Free · No sign-up · Runs entirely in your browser

Need Help Choosing the Right Sample Size Method?

Choosing a sample size involves more than entering numbers into a formula. Your research objectives, study design, sampling method and analysis plan all matter. If you are unsure which approach is appropriate, ResearchPadi can help you review your methodology.