Skip to content

Sample Size Calculator: Slovin, Cochran, Lemeshow, Krejcie-Morgan

Calculate research sample size with the Slovin, Lemeshow, Cochran, and Krejcie-Morgan formulas, with step-by-step working and stratified allocation.

Processed on your device

Study data

Population

The expected proportion is not used by Slovin. Use 50% if there is no prior study, as it gives the safest (largest) sample. The allowance adds respondents to cover questionnaires that are not returned or incomplete.

Minimum sample size

Slovin calculation steps

n = N / (1 + N·e²)
n = 100 / (1 + 100 × 0.05²)
n = 100 / 1.25
n = 80 ≈ 80

Where: n = sample size, N = population size, e = margin of error.

So the minimum sample size is 80 respondents.

Allocation by stratum (optional)

For proportionate stratified random sampling: enter the name and size of each stratum, such as class, year, or department. The sample is split in proportion to each stratum's size.

How to use

  1. Enter the population size, or choose Unknown if it cannot be counted. Set the confidence level and margin of error for your study.
  2. Compare the formulas, then click the one your thesis uses to see its working. Click Copy steps to paste it into your methodology chapter.
  3. For stratified random sampling, enter the name and size of each stratum. The sample per stratum is calculated automatically.

Sample size without calculation mistakes

A methodology chapter usually needs the sample size along with the formula and its working. This calculator runs the four most common formulas at once so you can compare them, then copy the full working with its legend.

Formulas

Stratified allocation

With proportionate stratified random sampling, the sample is split in proportion to each stratum. Rounding is balanced so the total always equals the sample size.

FAQ

Which formula should I use?

Follow your supervisor or the methodology book you cite. Slovin is common when the population size is known. Lemeshow is used when it is unknown, such as all users of an app. Krejcie-Morgan and Cochran give nearly identical results and are common in international journals.

What margin of error is typical?

Social research usually uses 5% or 10%. A 5% margin is more precise but needs a larger sample.

Why are results rounded up?

The formula gives the minimum sample size. Rounding down would fall below that minimum, so 79.2 becomes 80 respondents.

What is the non-response allowance for?

Not every questionnaire comes back complete. With a 10% allowance, you send it to more people so the number collected still meets the minimum.

Why does Krejcie-Morgan differ slightly from the published table?

The 1970 table does not round consistently. This calculator uses the same formula and always rounds up, so results can be one respondent higher.