Skip to content
Statculator
Sample Size

Slovin’s Formula Calculator

Free Slovin’s formula calculator: sample size n = N / (1 + N·e²) from population size and margin of error, with steps, a sample size table and a Cochran check.

Free, no sign-up Runs in your browserBy Hira Noor, BS MathematicsUpdated

Try

The total number of people or items you could sample from.

%

Enter 5 for 5% (e = 0.05).

Results

Sample size, n
316
Rounded up from 315.7895
Sampling fraction, n / N
21.07%
Population size, N
1,500
Margin of error, e
0.05
e²
0.0025
N · e²
3.75
1 + N · e²
4.75
n (unrounded)
315.7895
Cochran, 95% confidence, p = 50%
306
Implied confidence level
≈ 95.45% (z = 2)

Interpretation: Slovin’s formula calls for 316 of the 1,500 population members. Cochran’s formula at an explicit 95% confidence level with p = 50% gives 306, 10 fewer, so the two approaches agree closely for this population.

Sample size by margin of error for N = 1,500

eN · e²n (unrounded)Slovin nCochran n (95%, p = 50%)
1%0.151304.347813051298
2%0.6937.5938924
3%1.35638.2979639624
4%2.4441.1765442429
5%3.75315.7895316306
6%5.4234.375235227
7%7.35179.6407180174
8%9.6141.5094142137
9%12.15114.0684115110
10%1593.759491

The Cochran column uses z = 1.959964 and the correction n₀ / [1 + (n₀ − 1) / N] for comparison.

Step-by-step solution

  1. 1

    Write the margin of error as a decimal

    e = 5% = 0.05
  2. 2

    Square it and multiply by the population size

    N · e² = 1,500 × 0.05² = 1,500 × 0.0025 = 3.75
  3. 3

    Apply Slovin’s formula

    n = N / (1 + N · e²)
    n = 1,500 / (1 + 3.75) = 1,500 / 4.75 = 315.7895
  4. 4

    Round up to a whole number

    Round up so the precision is at least as good as the e you entered.

    n = ⌈315.7895⌉ = 316
  5. 5

    Compare with Cochran’s formula (optional check)

    Slovin’s formula equals Cochran’s formula with z = 2, p = 0.5 and the correction n₀ / (1 + n₀ / N). With the usual z = 1.96 the Cochran answer is normally a little smaller.

    Cochran (95%, p = 0.5): n = 306

What is a Slovin’s Formula Calculator?

A Slovin’s formula calculator finds a sample size from just two numbers, the population size N and the margin of error e, using n = N / (1 + N·e²) and rounding up. For a population of 1,000 at a 5% margin of error it gives 286; for 1,500 it gives 316. The formula quietly assumes about 95% confidence and a 50% proportion, so it is a quick approximation, not a full sample size calculation.

What the Slovin’s Formula Calculator does

Enter the population size and the margin of error and this calculator applies Slovin’s formula, shows each arithmetic step, rounds the result up and tabulates the sample size for every margin from 1% to 10%. Next to each Slovin value it lists the Cochran sample size at an explicit 95% confidence level, so you can see how close the shortcut is.

Slovin’s formula is popular in student research, particularly theses in the Philippines and Indonesia, because it needs no estimate of variability. That convenience comes at a cost: it hides the confidence level and the assumed proportion. If a reviewer asks what confidence level your sample supports, Slovin’s formula alone cannot answer, while Cochran’s formula can.

How to use the Slovin’s Formula Calculator

  1. Enter the Population size, N, for example the number of students in a school or households in a district.
  2. Enter the Margin of error, e as a percentage; 5% is the most common choice.
  3. Read the sample size n, already rounded up, and the sampling fraction n / N.
  4. Use the table to compare other margins of error and to see the equivalent Cochran sample size at 95% confidence.

What is Slovin’s formula?

Slovin’s formula is a shortcut for the minimum sample size needed to estimate a percentage in a finite population: n = N / (1 + N·e²), where N is the population size and e is the margin of error as a decimal. It answers one question: “How many people from a group of N should I survey so my sample percentage is within ±e of the true one?”

It is also written as Slovin’s sample size formula, the Slovin formula or, in Indonesian, rumus Slovin. The formula is usually credited to “Slovin (1960)”, but no original publication by Slovin has been traced. The same expression appears as the simplified formula in Taro Yamane’s Statistics: An Introductory Analysis (1967), which is why Yamane’s formula gives identical results.

Two features make it attractive. It needs only N and e, and the answer levels off as the population grows: at e = 5% the sample never exceeds 400 however large N becomes, because n approaches 1 / e².

Slovin’s formula and its link to Cochran’s formula

Slovin’s formula
n = N / (1 + N · e²)
Equivalent Cochran form (z = 2, p = 0.5)
n₀ = z² · p(1 − p) / e² = 4 × 0.25 / e² = 1 / e² n = n₀ / (1 + n₀ / N)
Formula symbols
SymbolMeaning
nsample size (round up)
Npopulation size
emargin of error as a decimal (5% = 0.05)

Substituting n₀ = 1 / e² into n₀ / (1 + n₀ / N) and simplifying gives exactly N / (1 + N·e²). Slovin’s formula is therefore Cochran’s finite-population formula with z = 2 (about 95.45% confidence) and p = 0.5 built in.

Worked example

Worked example: surveying a company

Problem. A company has 1,500 employees and wants a sample with a 5% margin of error. How many employees should be surveyed according to Slovin’s formula?

  1. 01e = 5% = 0.05, so e² = 0.0025.
  2. 02N · e² = 1,500 × 0.0025 = 3.75.
  3. 03n = 1,500 / (1 + 3.75) = 1,500 / 4.75 = 315.7895.
  4. 04Round up: n = 316.

Answer. Survey at least 316 employees (21.07% of the workforce). For comparison, Cochran’s formula at 95% confidence with p = 50% gives 306, because it uses z = 1.96 instead of the z = 2 hidden in Slovin’s formula.

Slovin’s formula sample size table at a 5% margin of error

For a population of 1,000 at e = 5%: n = 1,000 / (1 + 1,000 × 0.0025) = 1,000 / 3.5 = 285.71, which rounds up to 286. The table repeats the calculation for other population sizes and lists Cochran’s answer at 95% confidence and p = 50% for comparison.

Population size, Nn (unrounded)Slovin sample, nShare of populationCochran n (95%)
5044.444590%45
10080.008080%80
200133.3313467%132
300171.4317257.3%169
500222.2222344.6%218
1,000285.7128628.6%278
2,000333.3333416.7%323
5,000370.373717.4%357
10,000384.623853.9%370
100,000398.413990.4%383
1,000,000399.84400< 0.1%384

Slovin sample sizes by margin of error

Rounded-up Slovin sample sizes. Pick a row for your margin of error and a column for your population size. Halving e roughly quadruples the sample once N is large.

Margin of errorN = 100N = 500N = 1,000N = 5,000N = 10,000N = 100,000
1%1004779103,3345,0009,091
2%974177151,6672,0002,440
3%923455279101,0001,099
5%80223286371385399
10%50849199100100

What Slovin’s formula assumes, and why it is criticised

Slovin’s formula is algebraically the same as Cochran’s finite-population formula with two values fixed: a critical value of z = 2, which corresponds to about 95.45% confidence, and an expected proportion of p = 0.5, the most conservative choice. Those assumptions are reasonable for a basic survey that reports percentages, which is why the formula often gives sensible numbers.

The criticism is about what the formula leaves unsaid. It is usually cited as “Slovin (1960)”, but the original source is hard to trace and the formula is rarely presented in standard sampling textbooks. Because the confidence level and proportion are invisible, researchers sometimes apply it to situations it was never meant for: estimating means, comparing groups, testing hypotheses or very small populations. Statisticians, including Tejada and Punzalan (2012, The Philippine Statistician), have warned against using it as a general-purpose sample size rule.

  • Use Slovin’s formula only when the main result is a proportion from a simple random sample, and say that it implies roughly 95% confidence and p = 0.5.
  • Prefer Cochran’s formula when you need a different confidence level, have a prior estimate of p, or must justify the calculation to a reviewer.
  • For estimating a mean, comparing two groups or planning a hypothesis test, use a method based on the standard deviation or a power analysis instead.

Slovin’s formula vs Cochran’s and Yamane’s formulas

Slovin’s formula and Yamane’s simplified formula are the same expression. Cochran’s formula reaches the same kind of answer but lets you choose the confidence level and the expected proportion, and with the usual z = 1.96 it gives slightly smaller samples.

Slovin’s / Yamane’s formulaCochran’s formula
Formulan = N / (1 + N·e²)n₀ = z²p(1 − p) / e², then n = n₀ / [1 + (n₀ − 1) / N]
InputsN and e onlyConfidence level, e, p, optional N
Confidence levelFixed, about 95% (z = 2)Any (you choose z)
Expected proportionFixed at 50%Any p
Unknown or very large NNeeds N (tends to 1 / e²)Works (n₀)
N = 1,000, e = 5%286278
N = 10,000, e = 5%385370

How to report Slovin’s formula in a thesis

Reviewers increasingly ask what Slovin’s formula assumes, so state the assumptions rather than only the formula. A sentence you can adapt:

“The sample size was determined with Slovin’s formula, n = N / (1 + N·e²), for a population of 1,500 employees and a margin of error of 5%, giving n = 315.79, rounded up to 316. The formula is equivalent to Cochran’s finite-population formula with z = 2 (about 95% confidence) and p = 0.5 (Yamane, 1967; Tejada & Punzalan, 2012).”

If you expect some people not to respond, divide by the expected response rate and invite that many: 316 completed responses at a 70% response rate means inviting 316 / 0.7 ≈ 452 people.

How to calculate Slovin’s formula in Excel or Google Sheets

Put the population size in cell A2 and the margin of error as a decimal in B2 (0.05 for 5%), then enter =ROUNDUP(A2/(1+A2*B2^2),0). For N = 1,500 and e = 0.05 the cell shows 316. If you type the margin as a percentage such as 5%, the spreadsheet already stores it as 0.05, so the same formula works. The formula is identical in Google Sheets and LibreOffice Calc.

Common use cases

  • Student theses and capstone projects that specify Slovin’s formula in their methodology guidelines.
  • Quick planning of a descriptive survey of a known, finite population such as a school, company or village.
  • Checking a figure quoted in a report or proposal that used Slovin’s formula.
  • Teaching how a finite population correction reduces the sample needed from small populations.

Assumptions and limitations

  • The confidence level is fixed at about 95% and cannot be changed. For 90% or 99% confidence, use Cochran’s formula or the general form of Yamane’s formula.
  • It assumes the proportion of interest is near 50%. If you expect a proportion near 10% or 90%, the formula asks for more people than necessary.
  • It is designed for estimating a single proportion from a simple random sample. It does not account for stratified or cluster designs, non-response, or subgroup analyses.
  • It says nothing about statistical power, so it should not be used to size an experiment or a test comparing groups.

Frequently asked questions

What is Slovin’s formula used for?

Slovin’s formula, n = N / (1 + N·e²), gives the minimum sample size for estimating a proportion in a finite population of size N with margin of error e, for example the share of students who agree with a statement in a school survey. Round the result up to the next whole number.

What confidence level does Slovin’s formula use?

Slovin’s formula does not state a confidence level, but it is equivalent to Cochran’s formula with z = 2 and p = 0.5. A z of 2 corresponds to about 95.45% confidence, so the formula is usually described as giving roughly 95% confidence.

What is the sample size for a population of 1,000 with a 5% margin of error?

Slovin’s formula gives n = 1,000 / (1 + 1,000 × 0.0025) = 1,000 / 3.5 = 285.71, which rounds up to 286. Cochran’s formula at 95% confidence with p = 50% gives 278 for the same population.

Is Slovin’s formula the same as Yamane’s formula?

Yes. The simplified formula published by Taro Yamane in 1967, n = N / (1 + N·e²), is identical to what is called Slovin’s formula. Yamane also gave a general version with an explicit confidence level and proportion, which is often the better choice.

Why do some statisticians discourage Slovin’s formula?

Because it hides its assumptions. Users cannot see that it fixes the confidence level near 95% and the proportion at 50%, so it gets applied to means, group comparisons and hypothesis tests where it is not valid. Its origin is also poorly documented. Cochran’s formula gives the same kind of answer with the assumptions stated openly.

How do I calculate Slovin’s formula in Excel?

With the population size in A2 and the margin of error as a decimal in B2, enter =ROUNDUP(A2/(1+A2*B2^2),0). For a population of 1,500 and a margin of error of 0.05 the result is 316.

What is the Slovin sample size at a 10% margin of error?

At e = 10%, n = N / (1 + 0.01·N). A population of 100 needs 50, 1,000 needs 91, and any very large population needs at most 100. A 10% margin is wide, so it is mainly used for pilot studies or rough estimates.

Can I use Slovin’s formula if I do not know the population size?

Not directly, because N is one of its two inputs. As N grows, Slovin’s answer approaches 1 / e², which is 400 at a 5% margin of error, so 400 is a safe upper limit for a very large population. Cochran’s formula handles an unknown population more naturally: at 95% confidence and ±5% it gives 385.

Cite this page

Statculator. (2026, November 14). Slovin’s Formula Calculator. Retrieved November 14, 2026, from https://statculator.com/sample-size/slovins-formula-calculator/