Thesis Sample Size Calculator
Find the right sample size for your thesis, synopsis or research project in under a minute. Get the number, the full working, and a ready-to-paste paragraph for your methodology chapter.
- 100% free
- Cochran, Krejcie & Morgan, Yamane
- Power analysis like G*Power
- Ready-made thesis paragraph
1 What does your study want to do?
2 Enter your study details
Adjust for non-response or cluster sampling
3 Use it in your thesis
How it was calculated
Paragraph for your methodology chapter
References to cite
Which calculator should I use?
Survey studies
If your main result is a percentage (how many students, patients or farmers have something or agree with something), use Survey: estimate a percentage. Most questionnaire-based theses in education, management and social sciences fall here.
Comparing groups
If you compare two groups or a before–after change, use a Compare two groups calculator. Choose percentages for yes/no outcomes and averages for scores or measurements (t test).
Relationships
If your hypothesis is that two variables are related (for example, study hours and GPA), use Relationship between two variables, based on the expected correlation.
Cochran, Krejcie & Morgan or Yamane?
Cochran's formula is the standard choice. It uses your confidence level, margin of error and expected percentage, and adds a finite population correction when you know the population size. With 95% confidence, a 5% margin and 50% expected, it gives 385 for a very large population.
Krejcie & Morgan (1970) is the well-known sample size table. It is the same idea as Cochran with a finite population, and this calculator reproduces their table exactly (for example 278 for a population of 1,000).
Yamane (1967), n = N / (1 + Ne²), is popular in theses because it is simple, but it fixes the confidence level at 95% and the expected percentage at 50%. Use it only if your department asks for it.
What do the values mean?
- Confidence level: how sure you want to be. 95% is standard.
- Margin of error: how close your result should be to the true value. 5% is common; 3% needs a much bigger sample.
- Significance level (α): the risk of a false positive. 0.05 is standard.
- Power: the chance of detecting a real difference. 80% is the usual minimum; 90% is stronger.
- Effect size: how big a difference you expect. Take it from earlier studies or a pilot; smaller effects need bigger samples.
- Non-response: extra people to invite so that you still reach the minimum after refusals and dropouts.
Worked example
An MPhil student wants to know what percentage of 1,200 undergraduate students at her university use AI writing tools. She chooses Survey, Cochran's formula, 95% confidence, a 5% margin of error and 50% expected percentage, and enters a population of 1,200.
Cochran's formula gives n₀ = 1.96² × 0.5 × 0.5 / 0.05² = 384.16. The finite population correction reduces this to 292. Because about 10% of students may not return the questionnaire, she adds 10% non-response: 292 / 0.9 = 325 students to invite. The calculator shows these steps and writes the paragraph for her methodology chapter.
Common mistakes to avoid
- Using Yamane's formula and then reporting a 99% confidence level: Yamane is fixed at 95%.
- Entering the population of the whole country when you can only reach one university: the population is the group you actually sample from.
- Forgetting non-response. If you need 292 completed questionnaires, you must invite more people than that.
- Guessing a large effect size so the sample looks small. Examiners ask where the effect size came from; cite a previous study or a pilot.
- For two-group studies, reporting only one number. The result is per group; the total is double (or more with unequal groups).
Frequently asked questions
What sample size do I need for a population of 1,000?
With 95% confidence, a 5% margin of error and 50% expected percentage, Cochran's formula with the finite population correction gives 278, the same as the Krejcie & Morgan table. Add extra for non-response.
Why is the answer 385 when the population is very large?
For a large or unknown population, Cochran's formula gives n₀ = 1.96² × 0.5 × 0.5 / 0.05² = 384.16, which rounds up to 385. Beyond about 100,000 people the population size hardly changes the sample size.
Are the results the same as G*Power?
Yes for comparing two averages (t tests): the calculator uses the exact noncentral t distribution, as G*Power does, and gives the same sample sizes (for example 64 per group for d = 0.5, α = 0.05, 80% power). For percentages it uses the Fleiss formula used by OpenEpi and most textbooks, and for correlations Fisher's z method.
Which formula should I cite?
The calculator lists the exact references for the method you used, ready to copy into your reference list. Cite the original formula (for example Cochran, 1977), not just the online calculator.
Can I use this for my synopsis?
Yes. Copy the paragraph into your methodology section, check that the values match your study, and add the references. Your supervisor may ask you to justify the margin of error or effect size you chose.
Is my data stored?
No. Everything is calculated in your browser. Nothing you enter is sent to CSA Pakistan.
Cite this tool
Cite the formula you used (listed above). If you also want to cite the calculator:
CSA Pakistan. (2026). Thesis Sample Size Calculator [Online tool]. Center for Scientific Approaches (CSA), Pakistan. https://www.csapakistan.com/sample-size-calculator/
Plan your research with confidence
Learn sampling, research design and data analysis in CSA Pakistan's courses and free webinars, taught by experienced researchers.